lightdm: remove ConsoleKit2 and upower as a dependency, detected at runtime
This commit is contained in:
parent
fa36b6e7d8
commit
e78b6feaa5
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lightdm'
|
||||
pkgname=lightdm
|
||||
version=1.30.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
||||
|
@ -19,7 +19,7 @@ hostmakedepends="pkg-config intltool itstool $(vopt_if gir 'gobject-introspectio
|
|||
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
||||
gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
||||
libgcrypt-devel accountsservice-devel"
|
||||
depends="dbus accountsservice ConsoleKit2 upower"
|
||||
depends="dbus accountsservice"
|
||||
conf_files="/etc/${pkgname}/*.conf /etc/pam.d/*"
|
||||
system_accounts="lightdm"
|
||||
lightdm_homedir="/var/lib/lightdm"
|
||||
|
@ -49,6 +49,7 @@ post_install() {
|
|||
echo "-session optional pam_ck_connector.so nox11" >> $f
|
||||
done
|
||||
sed 's|\#session-wrapper=.*|session-wrapper=/etc/lightdm/Xsession|' -i ${DESTDIR}/etc/lightdm/lightdm.conf
|
||||
sed "s|pam_systemd\.so|pam_elogind.so|" -i ${DESTDIR}/etc/pam.d/*
|
||||
}
|
||||
|
||||
liblightdm-gobject_package() {
|
||||
|
|
Loading…
Reference in a new issue