summaryrefslogtreecommitdiff
path: root/extra/gegl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gegl/PKGBUILD')
-rw-r--r--extra/gegl/PKGBUILD40
1 files changed, 27 insertions, 13 deletions
diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD
index 26907729b..b765b45e2 100644
--- a/extra/gegl/PKGBUILD
+++ b/extra/gegl/PKGBUILD
@@ -1,42 +1,56 @@
-# $Id: PKGBUILD 191894 2013-08-01 06:53:27Z bpiotrowski $
+# $Id: PKGBUILD 196815 2013-10-20 02:09:43Z heftig $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
pkgname=gegl
pkgver=0.2.0
-pkgrel=9
+pkgrel=10
pkgdesc="Graph based image processing framework"
arch=('i686' 'x86_64')
url="http://www.gegl.org/"
license=('GPL3' 'LGPL3')
-depends=('babl' 'gtk2')
+depends=('babl' 'gtk2' 'libspiro')
makedepends=('intltool' 'ruby' 'lua' 'openexr' 'ffmpeg' 'librsvg' 'jasper' 'exiv2')
-optdepends=('openexr: for using the openexr plugin' \
- 'ffmpeg: for using the ffmpeg plugin' \
- 'librsvg: for using the svg plugin' \
+optdepends=('openexr: for using the openexr plugin'
+ 'ffmpeg: for using the ffmpeg plugin'
+ 'librsvg: for using the svg plugin'
'jasper: for using the jasper plugin')
options=('!libtool')
-source=(ftp://ftp.gimp.org/pub/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 gegl-0.2.0-ffmpeg-0.11.diff)
+source=(ftp://ftp.gimp.org/pub/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ gegl-0.2.0-ffmpeg-0.11.diff
+ gegl-0.2.0-CVE-2012-4433.patch
+ gegl-0.2.0-lua-5.2.patch
+ gegl-0.2.0-remove-src-over-op.patch)
sha1sums=('764cc66cb3c7b261b8fc18a6268a0e264a91d573'
- 'c10fd988c634fcf0948cc91a51d6528f6f1704ba')
+ 'e2e00633149fa4d5196520e284609de257eb012f'
+ '44d48bd9ad008703de9f8eb683d557bac39a02c8'
+ 'c78a092b880874ba7784b652bcd9c532e2b9975d'
+ 'dc9ae21cc5ba0fb47ef05793f0cb169572dfab74')
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/gegl-0.2.0-ffmpeg-0.11.diff"
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ../gegl-0.2.0-ffmpeg-0.11.diff
+ patch -Np1 -i ../gegl-0.2.0-CVE-2012-4433.patch
+ patch -Np1 -i ../gegl-0.2.0-lua-5.2.patch
+ patch -Np1 -i ../gegl-0.2.0-remove-src-over-op.patch
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-sdl --with-openexr --with-librsvg \
--with-libavformat --with-jasper --disable-docs
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}