4b58a600d4
Closes: #27463 [via git-merge-pr]
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'sddm'
|
|
pkgname=sddm
|
|
version=0.19.0
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DBUILD_MAN_PAGES=ON -DNO_SYSTEMD=ON -DUSE_ELOGIND=ON
|
|
-DLOGIN_DEFS_PATH=${XBPS_SRCPKGDIR}/shadow/files/login.defs
|
|
-DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf"
|
|
hostmakedepends="extra-cmake-modules pkg-config python3-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.org>"
|
|
license="GPL-2.0-or-later, CC-BY-3.0"
|
|
homepage="http://github.com/sddm/sddm"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=e76da1f13d5ad5e0179e3fec57543126044339405ef19c397e105e0807bd4e41
|
|
|
|
if [ "$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/pam.d/sddm
|
|
/etc/pam.d/sddm-greeter
|
|
/etc/pam.d/sddm-autologin"
|
|
make_dirs="/var/lib/sddm 0755 sddm sddm"
|
|
|
|
post_install() {
|
|
vsed -i '/tally/d' ${DESTDIR}/etc/pam.d/sddm-autologin
|
|
vsv sddm
|
|
vlicense LICENSE.CC-BY-3.0
|
|
}
|