gdm: update to 3.32.0.

This commit is contained in:
Rasmus Thomsen 2019-03-13 18:05:46 +01:00 committed by maxice8
parent 9a0ca20293
commit 2c2c13d052

View file

@ -1,7 +1,8 @@
# Template file for 'gdm' # Template file for 'gdm'
pkgname=gdm pkgname=gdm
version=3.30.3 version=3.32.0
revision=1 revision=1
build_helper="gir"
build_style=gnu-configure build_style=gnu-configure
configure_args="$(vopt_enable gir introspection) configure_args="$(vopt_enable gir introspection)
--disable-schemas-compile --disable-static --with-default-pam-config=arch --disable-schemas-compile --disable-static --with-default-pam-config=arch
@ -9,8 +10,8 @@ configure_args="$(vopt_enable gir introspection)
--with-screenshot-dir=/var/lib/gdm/greeter --sbindir=/usr/bin --without-plymouth --with-screenshot-dir=/var/lib/gdm/greeter --sbindir=/usr/bin --without-plymouth
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid --with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
--disable-systemd-journal --with-initial-vt=7 --enable-wayland-support" --disable-systemd-journal --with-initial-vt=7 --enable-wayland-support"
hostmakedepends="gnome-doc-utils itstool pkg-config $(vopt_if gir 'gobject-introspection')" hostmakedepends="itstool pkg-config dconf"
makedepends="accountsservice-devel dconf elogind-devel gettext-devel glib-devel makedepends="accountsservice-devel elogind-devel gettext-devel glib-devel
iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel" iso-codes libSM-devel libcanberra-devel nss-devel pam-devel upower-devel"
depends="gnome-settings-daemon gnome-shell xorg-server xorg-server-xwayland depends="gnome-settings-daemon gnome-shell xorg-server xorg-server-xwayland
xrdb" xrdb"
@ -20,7 +21,8 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GDM" homepage="https://wiki.gnome.org/Projects/GDM"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5301fc76e92124a13e123af8eb04af089a249d0200ad8df07a7996f3cfa7c795 checksum=643db0c8c5089a96282b4c259b8823ca6dfad1ead6f2d0025d1c1211d36fd78b
nocross="gnome-shell can't be crosscompiled yet"
conf_files=" conf_files="
/etc/gdm/custom.conf /etc/gdm/custom.conf
@ -36,19 +38,17 @@ gdm_homedir="/var/lib/gdm"
# Package build options # Package build options
build_options="gir" build_options="gir"
# Disable gir for cross builds. case "$XBPS_TARGET_MACHINE" in
if [ -z "$CROSS_BUILD" ]; then i686-musl|x86_64-musl) build_options_default+=" gir" ;;
build_options_default+=" gir" *-musl) ;;
fi *) build_options_default+=" gir" ;;
esac
post_install() { post_install() {
vinstall $FILESDIR/Xsession 755 etc/gdm vinstall $FILESDIR/Xsession 755 etc/gdm
sed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/* sed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/*
# fix with eudev
sed -i 's/\\"//g; s/\[/\\[/; s/\\n/\\\\n/' $DESTDIR/usr/lib/udev/rules.d/61-gdm.rules
# runit service # runit service
vsv gdm vsv gdm
} }