author | Jan Alexander Steffens
<heftig@archlinux.org> 2015-11-27 10:19:43 UTC |
committer | Jan Alexander Steffens
<heftig@archlinux.org> 2015-11-27 10:19:43 UTC |
parent | 68614c218af9146deeca30e94d3a2bbdbcfff706 |
PKGBUILD | +19 | -12 |
diff --git a/PKGBUILD b/PKGBUILD index e6d8345..b9740ea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,35 +1,42 @@ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=gegl -pkgver=0.3.0 -pkgrel=2 +pkgver=0.3.4 +pkgrel=1 pkgdesc="Graph based image processing framework" arch=('i686' 'x86_64') url="http://www.gegl.org/" license=('GPL3' 'LGPL3') depends=('babl' 'libspiro' 'json-glib') -makedepends=('intltool' 'ruby' 'lua' 'libopenraw' 'openexr' 'mesa' 'glu' 'ffmpeg' 'librsvg' 'jasper' 'exiv2' 'vala' 'python2' 'suitesparse') -optdepends=('libopenraw: openraw plugin' +makedepends=('intltool' 'ruby' 'lua' 'libraw' 'openexr' 'mesa' 'glu' 'ffmpeg' 'librsvg' + 'jasper' 'libtiff' 'exiv2' 'vala' 'python2' 'suitesparse' 'lensfun' + 'gobject-introspection' 'git') +optdepends=('libraw: raw plugin' 'openexr: openexr plugin' 'ffmpeg: ffmpeg plugin' 'suitesparse: matting-levin plugin' 'librsvg: svg plugin' - 'jasper: jasper plugin') -source=(http://ftp.gimp.org/pub/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('f0fec8f2e7b8835979d3cf4e38b05d41bb79f68dc80cf899a846484da693bbf7') + 'jasper: jasper plugin' + 'libtiff: tiff plugin' + 'lua: lua plugin' + 'lensfun: lens-correct plugin') +source=("git://git.gnome.org/gegl#tag=GEGL_${pkgver//./_}") +sha256sums=('SKIP') prepare() { mkdir path ln -s /usr/bin/python2 path/python - cd ${pkgname}-${pkgver} + cd ${pkgname} + NOCONFIGURE=1 ./autogen.sh } build() { export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2 - cd ${pkgname}-${pkgver} + cd ${pkgname} ./configure --prefix=/usr --with-sdl --with-librsvg \ - --with-libavformat --with-jasper --disable-docs + --with-libavformat --with-jasper --disable-docs \ + --enable-workshop # https://bugzilla.gnome.org/show_bug.cgi?id=655517 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool @@ -39,12 +46,12 @@ build() { check() { export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2 - cd ${pkgname}-${pkgver} + cd ${pkgname} make -k check || : } package() { export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2 - cd ${pkgname}-${pkgver} + cd ${pkgname} make DESTDIR="${pkgdir}" install }