From 2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 10 Sep 2012 00:03:51 +0000 Subject: Mon Sep 10 00:03:51 UTC 2012 --- extra/gegl/PKGBUILD | 10 ++++++---- extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff | 12 ++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff (limited to 'extra/gegl') diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD index 8570481bd..9e8a9b408 100644 --- a/extra/gegl/PKGBUILD +++ b/extra/gegl/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 163149 2012-07-08 09:31:09Z ibiru $ +# $Id: PKGBUILD 166461 2012-09-08 07:12:58Z daniel $ # Maintainer: Daniel Isenmann pkgname=gegl pkgver=0.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="Graph based image processing framework" arch=('i686' 'x86_64') url="http://www.gegl.org/" @@ -15,11 +15,13 @@ optdepends=('openexr: for using the openexr 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) -sha1sums=('764cc66cb3c7b261b8fc18a6268a0e264a91d573') +source=(ftp://ftp.gimp.org/pub/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 gegl-0.2.0-ffmpeg-0.11.diff) +sha1sums=('764cc66cb3c7b261b8fc18a6268a0e264a91d573' + 'c10fd988c634fcf0948cc91a51d6528f6f1704ba') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 < ${srcdir}/gegl-0.2.0-ffmpeg-0.11.diff ./configure --prefix=/usr --with-sdl --with-openexr --with-librsvg \ --with-libavformat --with-jasper --disable-docs make diff --git a/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff b/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff new file mode 100644 index 000000000..a33ec6f7f --- /dev/null +++ b/extra/gegl/gegl-0.2.0-ffmpeg-0.11.diff @@ -0,0 +1,12 @@ +diff -Naur gegl-0.2.0/operations/external/ff-load.c gegl-0.2.0-1/operations/external/ff-load.c +--- gegl-0.2.0/operations/external/ff-load.c 2012-04-01 13:17:57.000000000 +0200 ++++ gegl-0.2.0-1/operations/external/ff-load.c 2012-07-11 12:42:05.174756560 +0200 +@@ -271,7 +271,7 @@ + gint err; + + ff_cleanup (o); +- err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL); ++err = avformat_open_input (&p->ic, o->path, NULL, NULL); + if (err < 0) + { + print_error (o->path, err); -- cgit v1.2.3-54-g00ecf