[SCM] libav/experimental: print enabled things in columns

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:15:51 UTC 2013


The following commit has been merged in the experimental branch:
commit f65c9da1403c8843fd35e2ee8e19faabf3bed8f3
Author: Måns Rullgård <mans at mansr.com>
Date:   Tue Feb 26 21:50:06 2008 +0000

    print enabled things in columns
    
    Originally committed as revision 12251 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 64e304d..c38ab93 100755
--- a/configure
+++ b/configure
@@ -1951,14 +1951,11 @@ echo "zlib enabled              ${zlib-no}"
 
 for type in decoder encoder parser demuxer muxer protocol filter bsf indev outdev; do
     echo "Enabled ${type}s:"
-    ucname="\$`toupper $type`_LIST"
-    list="`eval echo $ucname`"
-    partlist=""
+    eval list=\$$(toupper $type)_LIST
     for part in $list; do
-        enabled $part && partlist="$partlist $part"
-    done
-    partlist=`echo $partlist | sed s/_$type//g | tr ' ' '\n' | sort`
-    echo $partlist
+        enabled $part && echo ${part%_*}
+    done | sort | pr -3 -t
+    echo
 done
 
 enabled nonfree &&

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list