aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-session/APKBUILD
blob: 60341dab6d19950e344b1ba5db54723a8e738292 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-session
pkgver=3.34.1
pkgrel=0
pkgdesc="GNOME session manager"
url="https://gitlab.gnome.org/GNOME/gnome-session"
arch="all !armhf !s390x !ppc64le"
license="GPL-2.0-or-later"
depends="gnome-shell polkit alsa-plugins-pulse dconf pulseaudio-alsa"
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 py3-setuptools 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"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		-Dsystemd_journal=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="a8c0c2e7613639dd48416d4bb560aa4b5ed664268cee6b6c372d5d196e49350c13f1361e02bba57711992860189637ce542351bee01000a44a82f66dd4f79f7f  gnome-session-3.34.1.tar.xz"