summaryrefslogtreecommitdiff
path: root/community/gnome-shell/APKBUILD
blob: 77653813e7e6c1d14ff170605d28908052e44f3f (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-shell
pkgver=42.4
pkgrel=0
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
# s390x blocked by mozjs91 -> gjs
# riscv64 blocked by mozjs91 -> gjs
arch="all !s390x !riscv64"
license="GPL-2.0-or-later"
depends="
	accountsservice
	adwaita-icon-theme
	caribou
	elogind
	font-adobe-source-code-pro
	gnome-bluetooth
	gnome-control-center
	gnome-shell-schemas
	gnome-themes-extra
	gsettings-desktop-schemas
	gst-plugins-good
	gstreamer
	ibus
	librsvg
	ttf-cantarell
	unzip
	upower
	"
makedepends="
	asciidoc
	elogind-dev
	evolution-data-server-dev evolution-dev
	gcr-dev
	gjs-dev>=1.64.0
	gnome-autoar-dev
	gnome-bluetooth-dev
	gnome-control-center-dev
	gnome-desktop-dev>=3.35.91
	gobject-introspection-dev
	gstreamer-dev
	gtk4.0-dev
	ibus-dev
	libcanberra-dev
	libnma-dev
	libsoup-dev
	libxml2-dev
	libxml2-utils
	meson
	mutter-dev>=3.36.0
	networkmanager-dev
	pipewire-dev
	polkit-dev
	pulseaudio-dev
	py3-setuptools
	python3
	sassc
	startup-notification-dev
	"
checkdepends="
	mesa-dri-gallium
	xvfb-run
	"
	# gdm is also needed but introduces circular dep
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
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'

# secfixes:
#   0:
#     - CVE-2019-3820

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

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

schemas() {
	pkgdesc="GNOME Shell gsetting schemas"
	depends=""
	replaces="gnome-shell"

	amove usr/share/glib-2.0/schemas
	amove usr/share/gnome-control-center/keybindings
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f06f390cdb55b5b5871bbd35dfc3b0057fbc79d4dcb2334b34bfa198ec46a1880de99097e42ed9052b3183266dd017457f6a9a07fc3c517277551295478cb340  gnome-shell-42.4.tar.xz
2ca70115fab957fdf276b7f0772786e1afd56b0b22bcfd92f5b5f1d29676dc97c19cfb079434d0dbf7b459f1d133dbd8d1faa0d88f7b94846040a23856f951f8  disable-telepathy-integration.patch
"