xfce4-session: add systemd build option (on).

This commit is contained in:
Juan RP 2014-07-28 09:05:38 +02:00
parent 819e4bdf18
commit b19c817104
1 changed files with 14 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.10.1
revision=4
revision=5
build_style=gnu-configure
configure_args="--disable-static --enable-systemd"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool xfce4-dev-tools gettext-devel"
makedepends="libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel
libwnck2-devel xfce4-panel-devel libSM-devel systemd-devel polkit-devel
@ -17,8 +17,19 @@ homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=0154fabdc398798c3445374ccc52a2f5bcb2d867fc94bc54114395b24f9cfc83
# Package build options
build_options="systemd"
build_options_default="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd"
fi
pre_configure() {
xdt-autogen
NOCONFIGURE=1 xdt-autogen
}
xfce4-session-devel_package() {