aboutsummaryrefslogtreecommitdiffstats
path: root/community/gegl/APKBUILD
blob: bcbd0238b5426c2c401d397aefcfd7eb6b3056ba (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.12
pkgrel=0
pkgdesc="Graph based image processing framework"
url="http://www.gegl.org/"
arch="all"
license="GPL-3.0 LGPL-3.0"
makedepends="babl-dev libpng-dev libjpeg-turbo-dev gtk+-dev librsvg-dev
	lua5.1-dev jasper-dev exiv2-dev json-glib-dev"
checkdepends="diffutils"
subpackages="$pkgname-dev $pkgname-lang"
source="https://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--prefix=/usr \
		--disable-docs \
		--with-exiv2 \
		--with-jasper \
		--with-lua
	make
}

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

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

sha512sums="cacf9f5c34357b3939162d0d4712ee2b47298a3e806b55e275cdf5e23f186d436ea1a840b91b1b72b76d450d94674cca217b7c253cd6b52a7d9505b4ad73fde2  gegl-0.4.12.tar.bz2"