Last active
September 28, 2018 09:52
-
-
Save undu/db2a6a75cb3f17b35bcf232e1a51eeb3 to your computer and use it in GitHub Desktop.
gdm-plymouth-3.30.1-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Sebastian Lau <lauseb644 _at_ gmail _dot_ com> | |
# Contributor: Jan Alexander Steffens (heftig) <[email protected]> | |
# Contributor: Jan de Groot <[email protected]> | |
# Contributor: Damian01w <[email protected]> | |
_pkgbase=gdm | |
pkgbase=gdm-plymouth | |
pkgname=(gdm-plymouth libgdm-plymouth) | |
pkgver=3.30.1 | |
pkgrel=0 | |
pkgdesc="Gnome Display Manager with Plymouth support." | |
arch=('x86_64') | |
license=(GPL) | |
url="http://www.gnome.org" | |
depends=('plymouth' 'gnome-shell>=3.28.0' 'gnome-session' 'upower' 'xorg-xrdb' 'xorg-server' 'xorg-server-xwayland' 'xorg-xhost') | |
makedepends=('intltool' 'yelp-tools' 'gobject-introspection') | |
checkdepends=('check') | |
source=("https://gitlab.gnome.org/GNOME/gdm/-/archive/${pkgver}/${_pkgbase}-${pkgver}.tar.gz" | |
"0002-Xsession-Don-t-start-ssh-agent-by-default.patch" | |
"gdm.sysusers") | |
sha256sums=('b22d23e900b1dc893a7c7a199b74a283b1ec00bf299199a59860564dcb9436f3' | |
'63f99db7623f078e390bf755350e5793db8b2c4e06622caf42eddc63cd39ecca' | |
'6d9c8e38c7de85b6ec75e488585b8c451f5d9b4fabd2a42921dc3bfcc4aa3e13') | |
prepare() { | |
cd $_pkgbase-${pkgver} | |
patch -Np1 -i ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch | |
NOCONFIGURE=1 ./autogen.sh | |
} | |
build() { | |
cd $_pkgbase-${pkgver} | |
./configure \ | |
--prefix=/usr \ | |
--sbindir=/usr/bin \ | |
--sysconfdir=/etc \ | |
--libexecdir=/usr/lib \ | |
--localstatedir=/var \ | |
--disable-static \ | |
--disable-schemas-compile \ | |
--enable-gdm-xsession \ | |
--enable-ipv6 \ | |
--with-plymouth \ | |
--with-default-pam-config=arch \ | |
--with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \ | |
--without-tcp-wrappers | |
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool | |
make | |
} | |
check() { | |
cd $_pkgbase-${pkgver} | |
make check | |
} | |
package_gdm-plymouth() { | |
depends+=(libgdm-plymouth) | |
provides=("gdm") | |
conflicts=("gdm") | |
optdepends=('fprintd: fingerprint authentication') | |
backup=(etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint etc/pam.d/gdm-launch-environment | |
etc/pam.d/gdm-password etc/pam.d/gdm-smartcard etc/gdm/custom.conf | |
etc/gdm/Xsession etc/gdm/PostSession/Default etc/gdm/PreSession/Default) | |
groups=(gnome) | |
install=gdm-plymouth.install | |
cd $_pkgbase-${pkgver} | |
make DESTDIR="$pkgdir" install | |
chown -R 120:120 "$pkgdir/var/lib/gdm" | |
# Unused or created at start | |
rm -r "$pkgdir"/var/{cache,log,run} | |
install -Dm644 ../gdm.sysusers "$pkgdir/usr/lib/sysusers.d/gdm.conf" | |
### Split libgdm | |
make -C libgdm DESTDIR="$pkgdir" uninstall | |
mv "$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml" "$srcdir" | |
} | |
package_libgdm-plymouth() { | |
pkgdesc="GDM support library including Plymouth support" | |
depends=(systemd glib2 dconf) | |
provides=("libgdm") | |
conflicts=("libgdm") | |
cd $_pkgbase-${pkgver} | |
make -C libgdm DESTDIR="$pkgdir" install | |
install -Dm644 "$srcdir/org.gnome.login-screen.gschema.xml" \ | |
"$pkgdir/usr/share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment