aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-session/APKBUILD
blob: e5c90625b8454832a4edbc2741011fdfc545a191 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-session
pkgver=3.37.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="397ae4346997961931ad9639d92cf76612a6066d23f4e1986eba6871988aa528f6b05e99107e6c55ed1cc836c0f2d557c04c248efbb601fa96840bedcaf7aef8  gnome-session-3.37.0.tar.xz
3d61a847da175b780fce8b2646264836656e6cdc6294e0af6c667a64f30e6d837ef22ce54b3ac51c4f569a7e09844bdcd058417292ea014826256157fa7dbdc3  0001-revert-autostart-app-Strip-blacklisted-variables-fro.patch
fc8d42503bffb7e35ea83cef41e6dc4b1c1e9fccbcd660e4cecf923486e24c3725566e644ba14a6e1dd02dd0620e959aa9b117ce52d9c708d2c83700daf68f83  dont-require-systemd.patch"