aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell/APKBUILD
blob: 46cb828a719dbfc1ef4eb1005a2cfbc34367cf65 (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
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
83
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell
pkgver=3.38.0
pkgrel=0
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch="all !s390x !ppc64le !mips !mips64"
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
	unzip
	"
makedepends="gnome-desktop-dev>=3.35.91
	libxml2-dev
	libcanberra-dev
	gobject-introspection-dev
	startup-notification-dev
	libsoup-dev
	polkit-dev
	gcr-dev
	gjs-dev>=1.64.0
	mutter-dev>=3.36.0
	pulseaudio-dev
	evolution-data-server-dev evolution-dev
	python3
	meson
	libxml2-utils
	ibus-dev
	sassc
	networkmanager-dev
	libnma-dev
	gnome-control-center-dev
	py3-setuptools
	gnome-bluetooth-dev
	gstreamer-dev
	gnome-autoar-dev
	asciidoc
	libcap
	elogind-dev
	pipewire-dev
	"
checkdepends="
	xvfb-run
	mesa-dri-swrast
	"
	# gdm is also needed but introduces circular dep
subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg"
source="https://download.gnome.org/sources/gnome-shell/${pkgver%.*}/gnome-shell-$pkgver.tar.xz
	disable-telepathy-integration.patch"
options="!check" # Tests have circular dependency 'gnome-shell <-> gdm'

build() {
	abuild-meson \
		-Dsystemd=false \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson test --no-rebuild -v -C output
}

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

sha512sums="5188d303886afbab480d9086ced0818e819e1916cf5062f20b7f938ba0c427a338e27946ae96ec855942c9f4b7b68619b92364e934f3e2068f08f905c09cc56d  gnome-shell-3.38.0.tar.xz
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8  disable-telepathy-integration.patch"