[SCM] libav/experimental: Store license value in a variable for later use. patch by Jeremy Kolb, jkolb wsi com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:20:45 UTC 2013


The following commit has been merged in the experimental branch:
commit ba321adb944507f637106ca77050818eeb85e333
Author: Jeremy Kolb <jkolb at wsi.com>
Date:   Fri May 16 16:12:55 2008 +0000

    Store license value in a variable for later use.
    patch by Jeremy Kolb, jkolb wsi com
    
    Originally committed as revision 13183 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 36569d1..86394e9 100755
--- a/configure
+++ b/configure
@@ -1978,11 +1978,14 @@ for type in decoder encoder parser demuxer muxer protocol filter bsf indev outde
     echo
 done
 
-enabled nonfree &&
-    echo "License: unredistributable" ||
-    (enabled gpl &&
-        echo "License: GPL" ||
-        echo "License: LGPL")
+license="LGPL"
+if enabled nonfree; then
+    license="unredistributable"
+elif enabled gpl; then
+    license="GPL"
+fi
+
+echo "License: $license"
 
 echo "Creating config.mak and config.h..."
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list