diff options
Diffstat (limited to 'community/gegl/APKBUILD')
-rw-r--r-- | community/gegl/APKBUILD | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/community/gegl/APKBUILD b/community/gegl/APKBUILD index 0b6df28425..9f9b27b28f 100644 --- a/community/gegl/APKBUILD +++ b/community/gegl/APKBUILD @@ -1,46 +1,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gegl -pkgver=0.2.0 -pkgrel=5 +pkgver=0.4.2 +pkgrel=0 pkgdesc="Graph based image processing framework" url="http://www.gegl.org/" arch="all" license="GPL-3.0 LGPL-3.0" makedepends="babl-dev libpng-dev libjpeg-turbo-dev gtk+-dev librsvg-dev - lua5.1-dev jasper-dev exiv2-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" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir/$i" || return 1;; - esac - done -} +source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ - --host=$CHOST \ --prefix=/usr \ --disable-docs \ --with-exiv2 \ --with-jasper \ - --with-librsvg \ - --with-lua \ - || return 1 - make || return 1 + --with-lua + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="16ef3f6852fd8efef2b6468a754342a2d003f2c2bef468d9465a448e6c89dedb8e791570f073a9faed05218a7c94c6c418eaa0f3abeadfb3e6b88d766ab792c8 gegl-0.2.0.tar.bz2" +sha512sums="8d842f5e192d279529615e09da8a76b051baa9c257ac699eba5f8ce46b4511554949e35f494e99c190b1477a700e018e2243a9e84c3c79e331824ca364b6cefd gegl-0.4.2.tar.bz2" |