diff options
Diffstat (limited to 'community/gdm/APKBUILD')
-rw-r--r-- | community/gdm/APKBUILD | 85 |
1 files changed, 59 insertions, 26 deletions
diff --git a/community/gdm/APKBUILD b/community/gdm/APKBUILD index 0a1f2ee9598..27bc80aa6df 100644 --- a/community/gdm/APKBUILD +++ b/community/gdm/APKBUILD @@ -1,49 +1,82 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: team/gnome <ablocorrea@hotmail.com> pkgname=gdm -pkgver=40.0 +pkgver=46.0 pkgrel=0 pkgdesc="GNOME display manager" url="https://wiki.gnome.org/Projects/GDM" -arch="all !armhf !s390x !ppc64le !mips !mips64" +# blocked by gnome-shell +arch="all !armhf !s390x" license="GPL-2.0-or-later" -depends="dconf linux-pam>=1.4 gnome-settings-daemon gnome-shell 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 - meson eudev-dev" -subpackages="$pkgname-dev $pkgname-lang $pkgname-openrc" +depends=" + dbus + dconf + gnome-session + gnome-settings-daemon + gnome-shell + gsettings-desktop-schemas + linux-pam>=1.4 + xrdb + xwayland + " +makedepends=" + accountsservice-dev + elogind-dev + eudev-dev + gettext + glib-dev + gtk+3.0-dev + itstool + json-glib-dev + libcanberra-dev + libgudev-dev + libsm-dev + libx11-dev + libxau-dev + libxcb-dev + libxdmcp-dev + linux-pam-dev + meson + " +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc" options="!check" # Causes circular dep with gnome-shell -source="https://download.gnome.org/sources/gdm/${pkgver%.*}/gdm-$pkgver.tar.xz - remove-systemd-dep.patch +source=" + https://download.gnome.org/sources/gdm/${pkgver%%.*}/gdm-$pkgver.tar.xz + 0001-DOWNSTREAM-use-bin-touch-instead-of-usr-bin-touch.patch + 0003-DOWNSTREAM-pam-rename-common-to-base.patch gdm.initd - Xsession" -install="gdm.pre-install" + Xsession + " +install="gdm.pre-install gdm.post-deinstall" build() { abuild-meson \ - -Ddefault-pam-config=arch \ + -Db_lto=true \ + -Ddbus-sys=/usr/share/dbus-1/system.d \ + -Ddefault-pam-config=openembedded \ + -Dlibaudit=disabled \ + -Dlogind-provider=elogind \ -Dpam-mod-dir=/lib/security \ -Dselinux=disabled \ - -Dlibaudit=disabled \ - -Ddbus-sys=/usr/share/dbus-1/system.d \ - -Dsystemdsystemunitdir=/DELETEME \ - -Dsystemduserunitdir=/DELETEME \ + -Dsystemd-journal=false \ + -Dsystemdsystemunitdir=no \ + -Dsystemduserunitdir=no \ + -Dxdmcp=disabled \ . output - meson compile ${JOBS:+-j ${JOBS}} -C output + meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output - rm -rf "$pkgdir"/DELETEME - - 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="b20d02f8a80f6aff8909a69c6c621c20c5aa1b25cfedd68bf95faaaa56d5f7cd5d607d1a7388b97aa06510684f1e9e474248042a00203f496c39930e001bb64c gdm-40.0.tar.xz -695d3c0c56d10baabb24b9e43bc14ab44542cb44a5aed15d471d06eecdfe1313678c854a640a151de239b4a30071dc781cc616296a2785ca43512a31403cdb3c remove-systemd-dep.patch + +sha512sums=" +baca2635a4f99f7a13123bc65c38d7c6f6ec58b0311f289a42e8455b612929f1711d108eeb9b0b64ff93da2bc7d759fcb3aba8a2a356cf0351c1da637b44b396 gdm-46.0.tar.xz +70b2bb6d6711c17a14c6e6a48b7b29f1b22cf858953f16723ba3e00570dce0416bcb72e4b3d3d4ef608eed32e1f7efa617f94f0a3327c7f5ceeb6b7232e4be84 0001-DOWNSTREAM-use-bin-touch-instead-of-usr-bin-touch.patch +66611d49fc4c9578415a7e554834edcb9de99396bd0ca511dcfd4fb256e8a1cd1fd5f10464f4668ffe04799d919bc22ddb58e8bf272017edba69a7951522e63d 0003-DOWNSTREAM-pam-rename-common-to-base.patch cd4c8f80e37dc362727bd535cbe1d3917f2bc47d52af717595e19709051ab5f27c0f650195152ccd1a7e5e2f886e4e8bc60287f05dcd81e84237c7f78c89223f gdm.initd -f836cf0acdf148f2ae09ac28251b5126ce597f08254c43b1ec77596f75e1a3229926116c13f98554625be763e8d28415b27bd679b0a5de9f86bdca7857054c82 Xsession" +f836cf0acdf148f2ae09ac28251b5126ce597f08254c43b1ec77596f75e1a3229926116c13f98554625be763e8d28415b27bd679b0a5de9f86bdca7857054c82 Xsession +" |