APP=gegl
VERSION=0.2.2
BUILD=1sml
HOMEPAGE="https://www.gegl.org/"
DOWNLOAD="https://download.gimp.org/pub/gegl/0.2/gegl-0.2.2.tar.bz2"
DESC="Graph based image processing framework"
REQUIRES="json-glib gobject-introspection babl lcms2"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z**
  cd $APP-$VERSION
  fixbuilddirpermissions

  ac_cv_prog_RUBY=no \
  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --without-sdl \
    --disable-docs \
    --disable-glibtest \
    --disable-nls \
    --without-vala \
    --without-lua \
    --disable-silent-rules \
    --without-libavformat 

  make
  make install DESTDIR=$PKG
  
  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2da32f5abba1a7fdc658a1a1d9d854a1e4b5e80e2a189842aed3e68d8d1412c2fe4b1a81cdd143c8154ba9fbecc1b855dc812ae39d5f1845078819b54919d892  gegl-0.2.2.tar.lz
"
