blob: 73d25f5b86d8204f7405ee0251c038037050151d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gdm
pkgver=3.34.1
pkgrel=1
pkgdesc="GNOME display manager"
url="https://wiki.gnome.org/Projects/GDM"
arch="all !armhf !s390x !ppc64le !mips !mips64"
license="GPL-2.0-or-later"
depends="dconf linux-pam gnome-settings-daemon gnome-shell xorg-server
xorg-server-xwayland xrdb gsettings-desktop-schemas gnome-session"
makedepends="dconf-dev gnome-desktop-dev accountsservice-dev libcanberra-dev linux-pam-dev
intltool itstool libxml2-utils libsm-dev iso-codes nss-dev upower-dev elogind-dev"
subpackages="$pkgname-dev $pkgname-lang $pkgname-openrc"
source="https://download.gnome.org/sources/gdm/${pkgver%.*}/gdm-$pkgver.tar.xz
gdm.initd
Xsession"
install="gdm.pre-install"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static \
--without-plymouth \
--with-initial-vt=1 \
--enable-wayland-support \
--without-tcp-wrappers \
--with-pid-file=/var/run/gdm.pid \
--enable-authentication-scheme=pam \
--with-default-pam-config=arch \
--with-log-dir=/var/log/gdm \
--with-pam-mod-dir=/lib/security
make
}
package() {
make DESTDIR="$pkgdir" install
sed -i "s/pam_systemd\.so/pam_elogind.so/" "$pkgdir"/etc/pam.d/*
install -m755 -D "$srcdir/Xsession" "$pkgdir"/etc/gdm
install -m755 -D "$srcdir/$pkgname.initd" "$pkgdir"/etc/init.d/gdm
}
sha512sums="71b71699e8e31643080d2af5dc54381592c0c6a2f7adbb0434a9957c8e59c67a20afaf48dce57139453157572c5bae617134420f36e8da68fbc74e95746d26fb gdm-3.34.1.tar.xz
879b6323c16a235dbdfdb670b932a30e0504253cf7a87229ba846ad50ffb5a4541573d4ba8551f19c88edbace81c7f8f164b90cf93f1a2600c71477a54c1e221 gdm.initd
f836cf0acdf148f2ae09ac28251b5126ce597f08254c43b1ec77596f75e1a3229926116c13f98554625be763e8d28415b27bd679b0a5de9f86bdca7857054c82 Xsession"
|