commit:     a1ea06b430e14f68b5b7bf1947a681215157c034
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  8 21:49:31 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Dec  8 21:54:00 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ea06b4

media-libs/gegl: Fix ffmpeg/libav dependency (bug #567638)

Package-Manager: portage-2.2.26

 media-libs/gegl/gegl-0.3.4.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/media-libs/gegl/gegl-0.3.4.ebuild 
b/media-libs/gegl/gegl-0.3.4.ebuild
index 764b6c9..c2b9409 100644
--- a/media-libs/gegl/gegl-0.3.4.ebuild
+++ b/media-libs/gegl/gegl-0.3.4.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} == *9999* ]]; then
        SRC_URI=""
 else
        SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2";
-       KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+       KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd 
~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="A graph based image processing framework"
@@ -27,12 +27,15 @@ HOMEPAGE="http://www.gegl.org/";
 LICENSE="|| ( GPL-3 LGPL-3 )"
 SLOT="0.3"
 
-IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection 
jpeg jpeg2k lcms lensfun libav openexr png raw sdl svg test tiff umfpack vala 
v4l webp"
+IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection 
jpeg jpeg2k lcms lensfun openexr png raw sdl svg test tiff umfpack vala v4l 
webp"
 REQUIRED_IUSE="
        svg? ( cairo )
        vala? ( introspection )
 "
 
+# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
+#       so there is no chance to support libav right now (Gentoo bug #567638)
+#       If it returns, please check prior GEGL ebuilds for how libav was 
integrated.  Thanks!
 RDEPEND="
        >=dev-libs/glib-2.36:2
        dev-libs/json-glib
@@ -43,8 +46,7 @@ RDEPEND="
 
        cairo? ( x11-libs/cairo )
        ffmpeg? (
-               libav? ( media-video/libav:0= )
-               !libav? ( media-video/ffmpeg:0= )
+               >=media-video/ffmpeg-2.8:0=
        )
        introspection? ( >=dev-libs/gobject-introspection-1.32 )
        jpeg? ( virtual/jpeg:0= )

Reply via email to