aboutsummaryrefslogtreecommitdiffstats
path: root/community/gegl/APKBUILD
blob: d8dcda73ad56946da565e51386ac30e56151ff96 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.22
pkgrel=0
pkgdesc="Graph based image processing framework"
url="http://www.gegl.org/"
arch="all !s390x !mips !mips64" # Limited by librsvg
license="GPL-3.0-or-later AND LGPL-3.0-or-later"
makedepends="babl-dev bash gobject-introspection-dev libpng-dev
	libjpeg-turbo-dev gtk+-dev librsvg-dev lua5.1-dev gexiv2-dev
	json-glib-dev libraw-dev libwebp-dev meson 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.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="3118fb17532bcd5893a77739eaf936f5d1e2020178abc497098d227c25f726679621503ac83e7d14a9883d259247d97b92016174e76a2e6e950be7e26ce251ab  gegl-0.4.22.tar.xz"