aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
blob: 713ee91047ee67f7445fea947b4405ce0ea75efd (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=mutter
pkgver=3.28.0
pkgrel=1
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="b197598bcd81f96c0a6eb4233ad627807e8a8c0055637074695b87389844780fb5901e9acd639368cc0f4c3800c070f9773310371ffe433cce6685f756f24b14  mutter-3.28.0.tar.xz
034b7dfb8a785e00ca08d6b727f58f62442e191e1eb7abb9ed4eebc6b644eb74502200487c6af1ecc50640dfe670d9d0b5b1bffb02dc473ad8734917c68afbf7  fix-format-error.patch"