gdm: update to 42.0

This commit is contained in:
oreo639 2022-03-24 18:39:20 -07:00 committed by Michal Vasilek
parent ffcfe7c761
commit 6fc175bb7e
1 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'gdm'
pkgname=gdm
version=41.3
version=42.0
revision=1
build_helper="gir"
build_style=meson
@ -14,7 +14,7 @@ configure_args="
hostmakedepends="dconf gettext itstool pkg-config"
makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel
plymouth-devel"
plymouth-devel libgudev-devel"
depends="gnome-settings-daemon gnome-shell gnome-session gnome-themes-extra
gsettings-desktop-schemas xorg-server xorg-server-xwayland xrdb"
checkdepends="check-devel"
@ -23,7 +23,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GDM"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bb0b650a7cea90f09a33284fbd02975315407efc18e814009852d1bcad3437d4
checksum=a328ac976937bec179971ff07829a1246b98ce724181c128ae32a0ba47ad3855
conf_files="
/etc/gdm/custom.conf
@ -47,10 +47,11 @@ fi
post_install() {
vinstall $FILESDIR/Xsession 755 etc/gdm
vsed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/*
vsed -i '/pam_tally.so/d' \
$DESTDIR/etc/pam.d/gdm-smartcard \
$DESTDIR/etc/pam.d/gdm-fingerprint
for f in $DESTDIR/etc/pam.d/*; do
if grep -q "pam_systemd.so" "$f"; then
vsed -i "s/pam_systemd\.so/pam_elogind.so/" "$f"
fi
done
rm -rf ${DESTDIR}/tmp
# runit service