aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
blob: 2cb44fa4aa0d9bebe29ef1dae43b5bc30de65d77 (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.27.1
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="ba7c00bd52c829e745248799b221abc586a674448e29bdfa11865811207b73d21ed38781caa5e27eaa7b611df76e24164e35e5aeec24bd28e4765377d6f69e45  mutter-3.27.1.tar.xz
034b7dfb8a785e00ca08d6b727f58f62442e191e1eb7abb9ed4eebc6b644eb74502200487c6af1ecc50640dfe670d9d0b5b1bffb02dc473ad8734917c68afbf7  fix-format-error.patch"