diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index bea1826e7f..08d0cd2e5a 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -1,7 +1,7 @@ # Template file for 'lightdm' pkgname=lightdm version=1.10.1 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-greeter-session=lightdm-gtk-greeter --with-greeter-user=lightdm --disable-static --disable-tests" @@ -16,7 +16,7 @@ hostmakedepends="pkg-config intltool itstool gobject-introspection" makedepends="dbus-glib-devel libxklavier-devel libxml2-devel qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel libgcrypt-devel accountsservice-devel" -depends="dbus accountsservice" +depends="dbus accountsservice $(vopt_if upower 'ConsoleKit upower0')" conf_files=" /etc/lightdm/keys.conf /etc/lightdm/lightdm.conf @@ -31,6 +31,9 @@ make_dirs=" /var/lib/lightdm 0755 lightdm lightdm /var/lib/lightdm-data 0755 lightdm lightdm" +build_options="upower" +build_options_default="upower" + post_install() { # Remove provided init file and use our own. rm -rf ${DESTDIR}/etc/init