blob: 3dd2ea19a04c7729025ba427e425ca634623130b (
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
53
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gegl
pkgver=0.4.44
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
arm-neon-v1.patch
"
# secfixes:
# 0.4.34-r0:
# - CVE-2021-45463
build() {
CFLAGS="$CFLAGS -O2" \
abuild-meson \
-Db_lto=true \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
4dd3fad0c5e391fc1ac3784d4365ffdc483d37b90a24a29eaa632dd337971674999b2e0f8facf255d86852a3899cc51f4d27f9875ab5849f8b38d9ed5bb7413a gegl-0.4.44.tar.xz
add122d409354b3aaa205adaa6fac5003fbc83f23ffcf5d230edf2b390b36c168fbfd89c47a5bdf41c06254403eff4347c2c667e18d84cdf00857e743c29b03b arm-neon-v1.patch
"
|