sddm: start elogind via dbus if it is available.
This commit is contained in:
parent
cf1363266c
commit
4cfd64c691
|
@ -1,4 +1,12 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
sv check dbus >/dev/null || exit 1
|
||||
|
||||
if [ -x /usr/bin/elogind-inhibit ]; then
|
||||
dbus-send --system --print-reply --dest=org.freedesktop.DBus \
|
||||
/org/freedesktop/DBus \
|
||||
org.freedesktop.DBus.StartServiceByName \
|
||||
string:org.freedesktop.login1 uint32:0
|
||||
fi
|
||||
|
||||
exec sddm 2>&1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'sddm'
|
||||
pkgname=sddm
|
||||
version=0.18.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
|
||||
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs
|
||||
|
|
Loading…
Reference in New Issue