aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
blob: 63910621060b92aeaf797cae2d1179a9a63940a4 (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: William Pitcock <nenolod@dereferenced.org>
pkgname=mutter
pkgver=3.26.0
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="http://ftp.gnome.org/pub/GNOME/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="e88e5b120423512ae73a097b0ba3ba24ba6b9f3e53eed438335073b7c442294c9887771290bf63b05fb01f14640b9c4559b39b79d5c2a4fcbca993126e37f700  mutter-3.26.0.tar.xz
034b7dfb8a785e00ca08d6b727f58f62442e191e1eb7abb9ed4eebc6b644eb74502200487c6af1ecc50640dfe670d9d0b5b1bffb02dc473ad8734917c68afbf7  fix-format-error.patch"