aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
blob: 79f4b622c86f5d7e2bf7153e49634dcfc899253c (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
# Maintainer: 
pkgname=mutter
pkgver=3.28.2
pkgrel=0
pkgdesc="clutter-based window manager and compositor"
url="https://github.com/GNOME/mutter"
arch="all"
license="GPL"
depends="xkeyboard-config zenity gsettings-desktop-schemas"
makedepends="gnome-desktop-dev libcanberra-dev upower-dev json-glib-dev
	libxkbcommon-dev libxkbfile-dev wayland-protocols clutter-dev cogl-dev
	libgudev-dev libinput-dev gnome-common itstool libxml2-utils
	libxcomposite-dev libxdamage-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	fix-format-error.patch"
builddir="$srcdir/mutter-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-wayland \
		--enable-compile-warnings=minimum
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b5b718eb5b8b9317b17a08c059d01760aa60edd46abc4b3780bd7e15e1c9702ac7808ee8039d0ec59fd7b9ddfcbc518019fac57c12742e7d4e46fa75b276d84f  mutter-3.28.2.tar.xz
034b7dfb8a785e00ca08d6b727f58f62442e191e1eb7abb9ed4eebc6b644eb74502200487c6af1ecc50640dfe670d9d0b5b1bffb02dc473ad8734917c68afbf7  fix-format-error.patch"