void-packages/srcpkgs/enlightenment/template
2013-11-15 14:47:06 +01:00

53 lines
1.8 KiB
Text

# Template file for 'enlightenment'
pkgname=enlightenment
version=0.17.5
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-pam --disable-device-hal
--enable-device-udev --disable-mount-hal --enable-mount-udisks
--enable-mount-eeze --enable-elementary --enable-emotion
--disable-enotify --disable-ephysics --disable-wayland-clients
--disable-conf-wallpaper2 --disable-illume2 --disable-physics
--disable-doc"
homepage="http://enlightenment.org"
short_desc="Enlightenment window manager DR17 (aka e17)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.bz2"
checksum=136bfe69ee8d2c885b393a8fc7d6d7378cbcd3da68c459bef1ee54b24d6bf9b5
hostmakedepends="pkg-config"
makedepends="
alsa-lib-devel pam-devel e_dbus-devel>=${version} edje-devel>=${version}
eeze-devel>=${version} efreet-devel>=${version} elementary-devel>=${version}
evas_generic_loaders>=${version} xcb-util-keysyms-devel hicolor-icon-theme
desktop-file-utils"
post_install() {
# Fix issue #131.
sed -e 's,\(Name.*=\).*,\1Enlightenment,g' -i ${DESTDIR}/usr/share/xsessions/enlightenment.desktop
vmkdir usr/share/licenses/${pkgname}
install -m644 COPYING* ${DESTDIR}/usr/share/licenses/${pkgname}
vinstall ${FILESDIR}/e-applications.menu 644 etc/xdg/menus
rm -rf ${DESTDIR}/usr/share/${pkgname}/doc
}
enlightenment-devel_package() {
depends="efreet-devel ecore-devel edje-devel evas-devel
e_dbus-devel ${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
enlightenment_package() {
conf_files="/etc/enlightenment/sysactions.conf"
provides="notification-daemon-0_1"
depends="hicolor-icon-theme desktop-file-utils evas_generic_loaders>=${version}"
pkg_install() {
vmove all
}
}