aboutsummaryrefslogtreecommitdiffstats
path: root/main/clutter/APKBUILD
blob: e7e973af2d2575ff919164f8eb58480db0543593 (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
45
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter
pkgver=1.26.2
pkgrel=3
pkgdesc="Library for creating fast, visually-appealing interfaces"
url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
license="LGPL-2.0-or-later"
depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev mesa-dev libxcomposite-dev
	libxi-dev cairo-dev"
makedepends="$depends_dev cogl-dev gtk+3.0-dev pango-dev gobject-introspection-dev intltool"
options="!check" # need DISPLAYS
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-x \
		--enable-gdk-backend \
		--enable-egl-backend \
		--enable-wayland-backend \
		--enable-x11-backend \
		--enable-evdev-input
	make
}

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

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

sha512sums="c8008a1a1f111313d9abaff8d4415f112ddc32a02e08845f3735d33bb25b72b082f133daba06749bb9595eaf1ba83b308d30a413fbbe8dcdc1afdd7077a30937  clutter-1.26.2.tar.xz"