summaryrefslogtreecommitdiff
path: root/user/gnome-desktop/APKBUILD
blob: 507faf63aa07936a48a023f8c736ddea9dacfc78 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gnome-desktop
pkgver=44.0
pkgrel=0
pkgdesc="Desktop APIs for the Gnome desktop environment"
url="https://www.gnome.org"
arch="all"
license="LGPL-2.1+ AND GPL-2.0+ AND LGPL-3.0+ "
depends=""
makedepends="meson ninja docbook2x eudev-dev gdk-pixbuf-dev glib-dev
	gobject-introspection-dev gsettings-desktop-schemas-dev gtk+3.0-dev
	iso-codes-dev itstool libseccomp-dev libxkbcommon-dev"
subpackages="$pkgname-dev $pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	meson setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Ddesktop_docs=false \
		-Dbuild_gtk4=false \
		. output
	meson compile -C output
}

check() {
	meson test -C output
}

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

dbg() {
	default_dbg
	mv "$pkgdir"/usr/libexec "$subpkgdir"/usr
}

sha512sums="707e96ffe1bbe27c448dd007b5a005e06ea3bba945c1c6708c61b8cec204cef6f5ed540f8ba0f5e566c2fdbc825fc6f9f0440706e0aea132490ca6d48823e180  gnome-desktop-44.0.tar.xz"