d0c41d32de
This commit reverts sddm to 0.15.0. Per upstream bug sddm/sddm#903 not only does version 0.16.0 call the wrong method after failing to detect whether or not logind is available, it calls it on the wrong interface. Until such time as this is fixed, 0.15.0 shall be the version of the land. This additionally resolves #8048.
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'sddm'
|
|
pkgname=sddm
|
|
reverts=0.16.0_1
|
|
version=0.15.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1 -DLOGIN_DEFS_PATH=/etc/login.defs"
|
|
hostmakedepends="extra-cmake-modules pkg-config python-docutils"
|
|
makedepends="qt5-declarative-devel qt5-tools-devel pam-devel elogind-devel"
|
|
depends="dbus"
|
|
short_desc="QML based X11 display manager"
|
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://github.com/sddm/sddm"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=7a84089b2e424097664bf7cfb24bdc5896ba0eebf8d54eb77bcac6d16db1e358
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" sddm qt5-host-tools qt5-qmake qt5-tools"
|
|
fi
|
|
|
|
system_accounts="sddm"
|
|
sddm_homedir="/var/lib/sddm"
|
|
sddm_groups="video"
|
|
conf_files="
|
|
/etc/sddm.conf
|
|
/etc/pam.d/sddm
|
|
/etc/pam.d/sddm-greeter
|
|
/etc/pam.d/sddm-autologin"
|
|
|
|
# Both install /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
|
|
conflicts="lightdm>=0"
|
|
|
|
pre_configure() {
|
|
touch -f /etc/login.defs
|
|
}
|
|
post_install() {
|
|
sed -i 's,systemd,ck_connector,g' ${DESTDIR}/etc/pam.d/sddm-greeter
|
|
vsv sddm
|
|
}
|