ab76b481a1
E.g.: To set a different locale than systems locale.
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'sddm'
|
|
pkgname=sddm
|
|
version=0.18.1
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_MAN_PAGES=1 -DNO_SYSTEMD=1 -DUSE_ELOGIND=1
|
|
-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"
|
|
homepage="http://github.com/sddm/sddm"
|
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=07296fc747010a5dd58a45f16c3224b439997afad42566e4b043c841b1b71700
|
|
|
|
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() {
|
|
sed -i 's,systemd,ck_connector,g' ${DESTDIR}/etc/pam.d/sddm-greeter
|
|
vsv sddm
|
|
}
|