aboutsummaryrefslogtreecommitdiffstats
path: root/main/clutter/APKBUILD
blob: 4fc47a0b47f9df34910f89ae2fa1f2e8e136b080 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=clutter
pkgver=1.16.4
pkgrel=0
pkgdesc="library for creating fast, visually-appealing interfaces"
url="http://www.clutter-project.org/"
arch="all"
license="LGPL"
depends=
depends_dev="gdk-pixbuf-dev json-glib-dev atk-dev pango-dev mesa-dev
	libxcomposite-dev cairo-dev cogl-dev"
makedepends="$depends_dev gobject-introspection-dev intltool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"

_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="29389588ce388bb64ec4d5c986a6afd3  clutter-1.16.4.tar.xz"
sha256sums="cf50836ec5503577b73f75f984577610881b3e2ff7a327bb5b6918b431b51b65  clutter-1.16.4.tar.xz"
sha512sums="2629d3dd56af75066a42e71569b5a5bb1bb63c0ce1296d8fca20e04f44a339489f77c071a5afc38c19b8ae5206f69c05c940e865b222f766161d92ed48f144c8  clutter-1.16.4.tar.xz"