# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-session pkgver=3.38.0 pkgrel=0 pkgdesc="GNOME session manager" url="https://gitlab.gnome.org/GNOME/gnome-session" arch="all !s390x !ppc64le !mips !mips64" license="GPL-2.0-or-later" depends="polkit alsa-plugins-pulse dconf pulseaudio-alsa bash gnome-shell" makedepends="gnome-settings-daemon-dev libsm-dev elogind-dev itstool libxslt libxml2-utils json-glib-dev gnome-desktop-dev gtk+3.0-dev startup-notification-dev upower-dev meson xmlto docbook-xml" options="!check" #no tests subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gnome-session/${pkgver%.*}/gnome-session-$pkgver.tar.xz 0001-revert-autostart-app-Strip-blacklisted-variables-fro.patch dont-require-systemd.patch" build() { abuild-meson \ -Dsystemd_journal=true \ -Dsystemd_session=disable \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output rm -rf "$pkgdir"/DELETEME } sha512sums="f49a7337b64722bc502ff3d952d8e249d2435be662c3bdfb7c7740338585c2e0b292869902be4c10faebde00998d7ead8deb82fe719a38575c6ebec2b94aa19b gnome-session-3.38.0.tar.xz 3d61a847da175b780fce8b2646264836656e6cdc6294e0af6c667a64f30e6d837ef22ce54b3ac51c4f569a7e09844bdcd058417292ea014826256157fa7dbdc3 0001-revert-autostart-app-Strip-blacklisted-variables-fro.patch fc8d42503bffb7e35ea83cef41e6dc4b1c1e9fccbcd660e4cecf923486e24c3725566e644ba14a6e1dd02dd0620e959aa9b117ce52d9c708d2c83700daf68f83 dont-require-systemd.patch"