void-packages/srcpkgs/enlightenment/template

53 lines
1.8 KiB
Plaintext

# Template file for 'enlightenment'
pkgname=enlightenment
version=0.17.4
revision=3
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=cb3acf3f255c273dcbf7c5cd985d48aaab0c57598557b107da0ebf1ce23ae669
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}_2
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
}
}