[arch-commits] Commit in gegl/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Nov 27 10:19:44 UTC 2015


    Date: Friday, November 27, 2015 @ 11:19:43
  Author: heftig
Revision: 251992

0.3.4

Modified:
  gegl/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-27 10:11:25 UTC (rev 251991)
+++ PKGBUILD	2015-11-27 10:19:43 UTC (rev 251992)
@@ -2,35 +2,42 @@
 # Maintainer: Daniel Isenmann <daniel at 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
@@ -40,12 +47,12 @@
 
 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
 }



More information about the arch-commits mailing list