aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-shell/APKBUILD
blob: 6e53f5f7b0d8d310676d31c0dab94e5125d1ca8b (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.3
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="695446a934b3e5f8512084cb4eaba3e27aec0e03041890fb2a7a9eb4d91d3a9f2f5ca94a8616ce4e7303a2073fda7878425ba31bf590c448132f379fa7138d47  gnome-shell-3.38.3.tar.xz
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8  disable-telepathy-integration.patch"