lxdm: remove systemd build option (#1736)
This commit is contained in:
parent
86ab0a8008
commit
89eea8ffe1
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'lxdm'
|
||||
pkgname=lxdm
|
||||
version=0.5.1
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
configure_args="--sbindir=/usr/bin $(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam"
|
||||
configure_args="--sbindir=/usr/bin --enable-consolekit --with-pam"
|
||||
hostmakedepends="automake gettext-devel libtool pkg-config intltool"
|
||||
makedepends="pam-devel gtk+-devel iso-codes $(vopt_if systemd '' ConsoleKit2-devel)"
|
||||
makedepends="pam-devel gtk+-devel iso-codes ConsoleKit2-devel"
|
||||
conf_files="
|
||||
/etc/lxdm/LoginReady
|
||||
/etc/lxdm/PostLogin
|
||||
|
@ -37,9 +36,7 @@ post_install() {
|
|||
rm -f ${DESTDIR}/etc/pam.d/lxdm
|
||||
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm
|
||||
# use tty7 for X without systemd
|
||||
if [ -z "$build_option_systemd" ]; then
|
||||
sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf
|
||||
fi
|
||||
sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf
|
||||
sed -i 's,/usr/sbin,/usr/bin,g' ${DESTDIR}/usr/bin/lxdm
|
||||
vmkdir var/lib/lxdm
|
||||
echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment
|
||||
|
|
Loading…
Reference in New Issue