aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mutter/APKBUILD
blob: d43db84468db1362f9d94e35c253391a6bf12a20 (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=mutter
pkgver=3.24.2
pkgrel=0
pkgdesc="clutter-based window manager and compositor"
url="https://github.com/GNOME/mutter"
arch="all"
license="GPL"
depends="xkeyboard-config zenity"
depends_dev="gnome-desktop-dev libcanberra-dev upower-dev json-glib-dev libxkbcommon-dev libxkbfile-dev wayland-protocols clutter-dev cogl-dev libgudev-dev libinput-dev gsettings-desktop-schemas"
makedepends="$depends_dev gnome-common itstool libxml2-utils"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/mutter/3.24/mutter-$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
}

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

sha512sums="6b999a39637a8eacba5c04f07bfc64b42f4a6a8c36613c43d67a5b1a29c71deed65a77f8d09b4919577848abc7613ac5c0bc12341d5fcec48c6af104ad39f361  mutter-3.24.2.tar.xz
034b7dfb8a785e00ca08d6b727f58f62442e191e1eb7abb9ed4eebc6b644eb74502200487c6af1ecc50640dfe670d9d0b5b1bffb02dc473ad8734917c68afbf7  fix-format-error.patch"