aboutsummaryrefslogtreecommitdiffstats
path: root/community/gegl/APKBUILD
blob: 0ad9a8f3c119501e78bf61333ccbd1071a001eb0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.16
pkgrel=3
pkgdesc="Graph based image processing framework"
url="https://www.gegl.org/"
arch="all !s390x" # Limited by librsvg
license="GPL-3.0 LGPL-3.0"
makedepends="babl-dev libpng-dev libjpeg-turbo-dev gtk+-dev librsvg-dev
	lua5.1-dev gexiv2-dev json-glib-dev libraw-dev libwebp-dev pango-dev
	gdk-pixbuf-dev ffmpeg-dev vala"
checkdepends="diffutils"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gimp.org/pub/gegl/${pkgver%.*}/gegl-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--prefix=/usr \
		--disable-docs \
		--with-gexiv2 \
		--without-jasper \
		--with-lua \
		--with-vala \
		--with-pango \
		--with-cairo \
		--with-pangocairo \
		--with-gdk-pixbuf \
		--with-zlib \
		--with-librsvg \
		--with-libraw \
		--with-webp
	make
}

check() {
	make check
}

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

sha512sums="38eacbd53d9993ca99d061bf6f80553a86ff06bf42d1710403ac5f15629ccc9b1f4395ee7700a04cebc954ed7fe8745c5bef85453c9c56d89681dd53a1552b27  gegl-0.4.16.tar.bz2"