blob: 76758a9ef693dae2b2b489b742cb950be31fd58f (
plain)
1 # Description: Graph based image processing framework
2 # URL: https://gegl.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: babl gexiv2 json-glib librsvg poppler-glib graphviz
5 # Optional: asciidoc ffmpeg4 gtk-doc jasper lcms2 ruby libsdl2 libspiro libwebp umfpack v4l-utils vala lensfun libopenraw libumfpack luajit openexr
6
7 name=gegl
8 version=0.4.40
9 release=1
10 source=(https://download.gimp.org/pub/$name/${version%.*}/$name-$version.tar.xz)
11
12 build() {
13 prt-get isinst ffmpeg && export PKG_CONFIG_PATH='/usr/lib/ffmpeg4/pkgconfig'
14 prt-get isinst vala || PKGMK_GEGL+=' -D vapigen=disabled'
15
16 meson setup build $name-$version $PKGMK_GEGL \
17 --prefix=/usr \
18 --buildtype=plain \
19 --wrap-mode nodownload \
20 -D b_lto=true \
21 -D b_pie=true
22 meson compile -C build -j ${JOBS:-1}
23 DESTDIR=$PKG meson install -C build
24
25 rm -r $PKG/usr/share/locale
26 }
|