aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell/APKBUILD
blob: a56c294334209fb2fd41cd579285f419966d14f3 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell
pkgver=3.34.4
pkgrel=1
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch="all !s390x !ppc64le"
license="GPL-2.0-or-later"
depends="accountsservice
	caribou
	elogind
	gsettings-desktop-schemas
	upower
	ibus
	librsvg
	network-manager-applet
	gnome-bluetooth
	gnome-control-center
	font-adobe-source-code-pro
	ttf-cantarell
	adwaita-icon-theme
	gnome-themes-standard"
makedepends="gnome-desktop-dev
	libxml2-dev
	libcanberra-dev
	gobject-introspection-dev
	startup-notification-dev
	libsoup-dev
	polkit-dev
	gcr-dev
	gjs-dev
	mutter-dev
	libcroco-dev
	pulseaudio-dev
	evolution-data-server-dev evolution-dev
	python3
	meson
	libxml2-utils
	ibus-dev
	sassc
	networkmanager-dev
	network-manager-applet-dev
	gnome-control-center-dev
	py3-setuptools
	gnome-bluetooth-dev
	gstreamer-dev
	gnome-autoar-dev
	asciidoc
	libcap"
checkdepends="
	xvfb-run
	mesa-dri-swrast
	gdm
	"
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
source="https://download.gnome.org/sources/gnome-shell/${pkgver%.*}/gnome-shell-$pkgver.tar.xz"
options="!check" # Tests have circular dependency 'gnome-shell <-> gdm'

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Dsystemd=false \
		. output
	ninja -C output
}

check() {
	xvfb-run ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
	#allow realtime scheduling
	setcap cap_sys_nice+ep "$pkgdir"/usr/bin/gnome-shell
}

sha512sums="17832780bcd91f9aedfd642881f4b17f52fe6844e7cc144a6ecac4e3e13ff889779ef24cf52e7f58e61bffc3fa3a3ef75d23c92ed3833ad42d00c49382284b89  gnome-shell-3.34.4.tar.xz"