lightdm: add upower build option (on).
This commit is contained in:
parent
3535c242e0
commit
2a30aa6bed
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue