1 # Template file for 'sddm'
7 configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1 -DLOGIN_DEFS_PATH=/etc/login.defs"
8 hostmakedepends="extra-cmake-modules pkg-config python-docutils"
9 makedepends="qt5-declarative-devel qt5-tools-devel pam-devel elogind-devel"
11 short_desc="QML based X11 display manager"
12 maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
14 homepage="http://github.com/sddm/sddm"
15 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
16 checksum=7a84089b2e424097664bf7cfb24bdc5896ba0eebf8d54eb77bcac6d16db1e358
18 if [ -n "$CROSS_BUILD" ]; then
19 hostmakedepends+=" sddm qt5-host-tools qt5-qmake qt5-tools"
22 system_accounts="sddm"
23 sddm_homedir="/var/lib/sddm"
28 /etc/pam.d/sddm-greeter
29 /etc/pam.d/sddm-autologin"
31 # Both install /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
32 conflicts="lightdm>=0"
35 touch -f /etc/login.defs
38 sed -i 's,systemd,ck_connector,g' ${DESTDIR}/etc/pam.d/sddm-greeter