blob: 4f11c525b8b30569e88ff77613a50cc476f37fb9 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gdm
pkgver=3.32.0
pkgrel=3
pkgdesc="GNOME display manager"
url="https://wiki.gnome.org/Projects/GDM"
arch="all !aarch64 !armhf !armv7 !s390x"
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=7 \
--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
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="88016d0f800030a561e0360c63fdcb8499a605126f99a5a9f89606e086d7a934afc091843b2acd9091c1c643e7468ee31ae9a5b6264ae38064618ad577ef7ac0 gdm-3.32.0.tar.xz
879b6323c16a235dbdfdb670b932a30e0504253cf7a87229ba846ad50ffb5a4541573d4ba8551f19c88edbace81c7f8f164b90cf93f1a2600c71477a54c1e221 gdm.initd
f836cf0acdf148f2ae09ac28251b5126ce597f08254c43b1ec77596f75e1a3229926116c13f98554625be763e8d28415b27bd679b0a5de9f86bdca7857054c82 Xsession"
|