summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-10-14 12:47:21 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-10-14 12:47:21 +0000
commitd169f6a71168b655ac759c3c972a6ac6a5c6660e (patch)
tree07345578763656b426724b7f63eff18ad21d8c8a /media-libs/gegl
parentAdd proper dependencies for xulrunner and firefox, fixing #239577 (diff)
downloadgentoo-2-d169f6a71168b655ac759c3c972a6ac6a5c6660e.tar.gz
gentoo-2-d169f6a71168b655ac759c3c972a6ac6a5c6660e.tar.bz2
gentoo-2-d169f6a71168b655ac759c3c972a6ac6a5c6660e.zip
Quick hack to make gegl compile with ffmpeg 20081014.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc8 x86_64)
Diffstat (limited to 'media-libs/gegl')
-rw-r--r--media-libs/gegl/ChangeLog5
-rw-r--r--media-libs/gegl/gegl-0.0.20.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/media-libs/gegl/ChangeLog b/media-libs/gegl/ChangeLog
index b77c28c33bfc..edb09ccda352 100644
--- a/media-libs/gegl/ChangeLog
+++ b/media-libs/gegl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/gegl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.8 2008/10/13 21:07:45 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/ChangeLog,v 1.9 2008/10/14 12:47:21 loki_val Exp $
+
+ 14 Oct 2008; Peter Alfredsen <loki_val@gentoo.org> gegl-0.0.20.ebuild:
+ Quick hack to make gegl compile with ffmpeg 20081014.
13 Oct 2008; Hanno Boeck <hanno@gentoo.org> gegl-0.0.20.ebuild:
Depend on imagemagick with doc useflag.
diff --git a/media-libs/gegl/gegl-0.0.20.ebuild b/media-libs/gegl/gegl-0.0.20.ebuild
index 02f72ea3fc47..3c932485c3d0 100644
--- a/media-libs/gegl/gegl-0.0.20.ebuild
+++ b/media-libs/gegl/gegl-0.0.20.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.8 2008/10/13 21:07:45 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gegl/gegl-0.0.20.ebuild,v 1.9 2008/10/14 12:47:21 loki_val Exp $
WANT_AUTOCONF=latest
@@ -45,6 +45,16 @@ pkg_setup() {
src_unpack() {
unpack ${A}
cd "${S}"
+
+ #HACK!GACK!HACK!
+ #Interface name changed, we change with it.
+ if has_version '>=media-video/ffmpeg-0.4.9_p20081014'
+ then
+ sed -i \
+ -e 's:p->enc->error_resilience:p->enc->error_recognition:' \
+ operations/external/ff-load.c || die "404"
+ fi
+
epatch "${FILESDIR}/gegl-20-configure-ac.patch" || die
epatch "${FILESDIR}/gegl-0.0.18-newffmpeg.diff" || die