aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-desktop/APKBUILD
blob: 7ad075ff239073066c33d2e7cf413aaee7d65ee6 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-desktop
pkgver=3.34.0
pkgrel=0
pkgdesc="GNOME desktop core libraries"
url="https://gitlab.gnome.org/GNOME/gnome-desktop"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends_dev="xkeyboard-config gobject-introspection-dev gsettings-desktop-schemas-dev
	gtk+3.0-dev"
makedepends="$depends_dev eudev-dev iso-codes-dev libseccomp-dev libx11-dev
	itstool libxml2-utils gtk-doc py-six meson glib-dev"
depends="bubblewrap"
options="!check" # Can't find its own GSettings schemas
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-desktop/${pkgver%.*}/gnome-desktop-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dgnome_distributor="Alpine Linux" \
		-Dudev=enabled \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="b98e5001e4177c5965307cbf8c3ed799aab95efecbfc68c8558234269fd9513064fb386e3eaea0161716f0aa4eb4fac8837ee78e6746235a6617159112c5aecb  gnome-desktop-3.34.0.tar.xz"