From 159f9396cc5a7cb168fad9f3dc0e43bd790fdaeb Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Oct 2012 01:56:19 -0700 Subject: Sun Oct 21 01:55:44 PDT 2012 --- staging/gegl/PKGBUILD | 10 ++++++---- staging/gegl/gegl-0.2.0-ffmpeg-0.11.diff | 12 ++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 staging/gegl/gegl-0.2.0-ffmpeg-0.11.diff (limited to 'staging/gegl') diff --git a/staging/gegl/PKGBUILD b/staging/gegl/PKGBUILD index 33d5ac0a6..e6b74a230 100644 --- a/staging/gegl/PKGBUILD +++ b/staging/gegl/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 161069 2012-06-07 21:32:43Z daniel $ +# $Id: PKGBUILD 169363 2012-10-20 05:42:33Z eric $ # Maintainer: Daniel Isenmann pkgname=gegl pkgver=0.2.0 -pkgrel=2 +pkgrel=5 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/staging/gegl/gegl-0.2.0-ffmpeg-0.11.diff b/staging/gegl/gegl-0.2.0-ffmpeg-0.11.diff new file mode 100644 index 000000000..a33ec6f7f --- /dev/null +++ b/staging/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