diff options
author | George Sherwood | 2008-10-01 08:15:06 -0500 |
---|---|---|
committer | George Sherwood | 2008-10-01 08:15:06 -0500 |
commit | 79ed433b11710046b39c09c7e4b33367484736ff (patch) | |
tree | 34d480f5b4d148c3bc73e8c287b3dd40a30e15ea | |
parent | 5d0fdf9dec037b6fc671fd736b6ac72da530874d (diff) |
gegl: Only apply patch if ffmpeg-svn is LIBAVCODEC provider
-rw-r--r-- | graphics-libs/gegl/HISTORY | 3 | ||||
-rwxr-xr-x | graphics-libs/gegl/PRE_BUILD | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/graphics-libs/gegl/HISTORY b/graphics-libs/gegl/HISTORY index fada063e1c..9967053125 100644 --- a/graphics-libs/gegl/HISTORY +++ b/graphics-libs/gegl/HISTORY @@ -1,3 +1,6 @@ +2008-10-01 George Sherwood <gsherwood@sourcemage.org> + * PRE_BUILD: Only apply patch if ffmpeg-svn is LIBAVCODEC provider + 2008-09-05 George Sherwood <gsherwood@sourcemage.org> * DEPENDS: optional_depends librsvg2 vice librsvg optional_depends LIBAVCODEC diff --git a/graphics-libs/gegl/PRE_BUILD b/graphics-libs/gegl/PRE_BUILD index 30bbaa34ae..b49325a8ae 100755 --- a/graphics-libs/gegl/PRE_BUILD +++ b/graphics-libs/gegl/PRE_BUILD @@ -1,3 +1,5 @@ default_pre_build && -cd $SOURCE_DIRECTORY +if [[ "$(get_spell_provider $SPELL LIBAVCODEC)" == "ffmpeg-svn" ]]; then +cd $SOURCE_DIRECTORY && patch -p0 < $SCRIPT_DIRECTORY/gegl-libavformat.patch +fi |