aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-shell/APKBUILD
blob: d516603e4219e3f39dca587ecddf4d81877ae415 (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-shell
pkgver=3.28.0
pkgrel=0
pkgdesc="GNOME shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch="all !aarch64 !armhf !armv7 !s390x"
license="GPL"
depends="accountsservice caribou gdm"
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 ibus
	sassc"
subpackages="$pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # Requires running X11 server

build() {
	cd "$builddir"
	# Building with NetworkManager fails
	# Man pages are built using an external file which is not allowed
	meson . _build --prefix=/usr -Dsystemd=false -Dnetworkmanager=false -Dman=false
	ninja -C _build
}

check() {
	cd "$builddir"
	ninja -C _build test
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C _build install
}

sha512sums="0c5e78393c8bca8ddb548c2cecd7799258ca00735cb7600feb9f7fa43f460719ad22636255496a40ea81dfcb779faf141b972b54555626f9e27ea5ca2377cc68  gnome-shell-3.28.0.tar.xz"