[SCM] libav/experimental: move pkg_requires setting to end

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:56:17 UTC 2013


The following commit has been merged in the experimental branch:
commit fb2ce7d936692402fbb1e961178fc154043fa158
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Feb 11 18:26:28 2007 +0000

    move pkg_requires setting to end
    
    Originally committed as revision 7937 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 16ec40f..fd915f5 100755
--- a/configure
+++ b/configure
@@ -1050,13 +1050,10 @@ for opt do
   --enable-libnut) libnut="yes"
   ;;
   --enable-libogg) libogg="yes"
-    pkg_requires="$pkg_requires ogg >= 1.1"
   ;;
   --enable-libtheora) libtheora="yes"
-    pkg_requires="$pkg_requires theora"
   ;;
   --enable-vorbis) libvorbis="yes"
-    pkg_requires="$pkg_requires vorbis vorbisenc"
   ;;
   --enable-faad) libfaad="yes"
   ;;
@@ -1073,7 +1070,6 @@ for opt do
   --enable-x11grab) x11grab="yes"
   ;;
   --enable-dc1394) dc1394="yes"
-    pkg_requires="$pkg_requires libraw1394"
   ;;
   --disable-vhook) vhook="no"
   ;;
@@ -1829,6 +1825,11 @@ enabled_any pthreads beosthreads os2threads w32threads && enable threads
 check_deps $CONFIG_LIST $HAVE_LIST $DECODER_LIST $ENCODER_LIST $PARSER_LIST \
     $DEMUXER_LIST $MUXER_LIST
 
+enabled libogg    && append pkg_requires "ogg >= 1.1"
+enabled libtheora && append pkg_requires "theora"
+enabled libvorbis && append pkg_requires "vorbis vorbisenc"
+enabled dc1394    && append pkg_requires "libraw1394"
+
 echo "install prefix            $PREFIX"
 echo "source path               $source_path"
 echo "C compiler                $cc"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list