# Description: graph based image processing framework
# URL: http://gegl.org
# Maintainer:  Thomas Penteker, tek at serverop dot de
# Depends on: babl gexiv2 glu json-glib librsvg
# Optional: libsdl2 ffmpeg

name=gegl
version=0.4.22
release=1
source=(https://download.gimp.org/pub/$name/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version
  meson build --prefix /usr
  #DESTDIR=$PKG ninja -C build install
  ninja -C build
  DESTDIR=$PKG ninja -C build install
  rm -r $PKG/usr/share/locale
}