summaryrefslogtreecommitdiff
path: root/community/gegl/APKBUILD
blob: 306ece561440539ebeec6fdec8254390049e495e (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
45
46
47
48
49
50
51
52
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.38
pkgrel=1
pkgdesc="Graph based image processing framework"
url="https://www.gegl.org/"
arch="all"
license="GPL-3.0-or-later AND LGPL-3.0-or-later"
makedepends="
	babl-dev
	ffmpeg-dev
	gdk-pixbuf-dev
	gobject-introspection-dev
	json-glib-dev
	libjpeg-turbo-dev
	libpng-dev
	libraw-dev
	librsvg-dev
	libwebp-dev
	meson
	pango-dev
	vala
	"
checkdepends="diffutils"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gimp.org/pub/gegl/${pkgver%.*}/gegl-$pkgver.tar.xz
	fix-babl_process-typo.patch
	"

# secfixes:
#   0.4.34-r0:
#     - CVE-2021-45463

build() {
	abuild-meson \
		-Db_lto=true \
		. 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="
367aa67019557b10a19536c56dfbf6687ade183585eeefec65ce12d3c72f5d78330e02ae0ff403609bb7579dc25340a7132b81d36bbf84327c658a96a2d04d4c  gegl-0.4.38.tar.xz
67004f4b38780becabae16c756260587c7146b067fd8b7cd83100565840eb98274e72a33160d2c4889eec954c1443be6abea49456c134adecb8000f21b9a6289  fix-babl_process-typo.patch
"