# Maintainer: Natanael Copa pkgname=gegl pkgver=0.3.6 pkgrel=0 pkgdesc="Graph based image processing framework" url="http://www.gegl.org/" arch="all" license="GPL3 LGPL3" makedepends="babl-dev libpng-dev libjpeg-turbo-dev gtk+-dev librsvg-dev lua5.1-dev jasper-dev exiv2-dev json-glib-dev" subpackages="$pkgname-dev $pkgname-lang" source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 " depends_dev="babl-dev glib-dev" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-docs \ --with-exiv2 \ --with-jasper \ --with-librsvg \ --with-lua \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="e6b4eb720ef541aab8c9b12b1a517a78 gegl-0.3.6.tar.bz2" sha256sums="70e7fbbc74b9a5d7a8428d49f282855c8b14b4ea7c6a3cb83cb7f2291c6da722 gegl-0.3.6.tar.bz2" sha512sums="8be97663aaa217e3b8dbaed8e8705f8bab75e8b8ed6552c46836c52e654cbe0167a5cbc242267fdcceb14c1c5bd2866eeec979edb917654d39cc16c05e61863b gegl-0.3.6.tar.bz2"