aboutsummaryrefslogtreecommitdiffstats
path: root/community/gegl/APKBUILD
blob: bfc088e644cdd161cb6a68ed9ed19224ec439f39 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.30
pkgrel=2
pkgdesc="Graph based image processing framework"
url="https://www.gegl.org/"
# s390x, mips64 and riscv64 blocked by librsvg
arch="all !s390x !mips64 !riscv64"
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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="73db2d18260ba061fbbc2adb3256ea9d5b822b57f5654cc3aefb59e7afeeb2e4f0fd7e95ac14603c0a549935df04d5744001089efb378511c914c68664dbd378  gegl-0.4.30.tar.xz"