# Contributor: Rasmus Thomsen # Maintainer: team/gnome pkgname=gnome-session pkgver=44.0 pkgrel=3 pkgdesc="GNOME session manager" url="https://gitlab.gnome.org/GNOME/gnome-session" arch="all" license="GPL-2.0-or-later" depends=" alsa-plugins-pulse bash dconf polkit " makedepends=" docbook-xml elogind-dev gnome-desktop-dev gnome-settings-daemon-dev gtk+3.0-dev itstool json-glib-dev libsm-dev libxml2-utils libxslt meson upower-dev xmlto " options="!check" #no tests subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gnome-session/${pkgver%%.*}/gnome-session-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ -Dsystemd_journal=true \ -Dsystemd_session=disable \ -Dsystemduserunitdir=/DELETEME \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output rm -rf "$pkgdir"/DELETEME } sha512sums=" 0e8672531bc1818cfb6dbb5b133374e4041ec471e04968a587a93d0ee9697393ee976e1aa5dfacf707a46d816da6be6b1ef52e89f47d9d206a319eb79aae1078 gnome-session-44.0.tar.xz "