[Ffmpeg-devel] ffmpeg build patches

Nikns Siankin nikns
Sat Dec 9 19:41:03 CET 2006


>This part committed.
>This part done differently.
Thanks!

Here is one more.
Fixes regression test to regress before shared libs installed.
OpenBSD /bin/md5 doesn't have -b or -r option, so we have to parse
default output, e.g.:
MD5 (./bu.txt) = 3b44625fe7058ce53131b18f1586e1b8

--- tests/regression.sh.orig    Sat Dec  2 17:03:28 2006
+++ tests/regression.sh Sat Dec  9 20:16:17 2006
@@ -89,7 +89,7 @@ fi


 # various files
-ffmpeg="../ffmpeg_g"
+ffmpeg="env LD_LIBRARY_PATH=../libavcodec:../libavutil:../libavformat  ../ffmpeg_g"
 tiny_psnr="./tiny_psnr"
 reffile="$2"
 benchfile="$datadir/ffmpeg.bench"
@@ -103,6 +103,8 @@ if [ X"`echo | md5sum 2> /dev/null`" !=
     do_md5sum() { md5sum -b $1; }
 elif [ -x /sbin/md5 ]; then
     do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
+elif [ -x /bin/md5 ]; then
+    do_md5sum() { /bin/md5 $1 | sed 's/[)(]//g' | awk '{print $NF " *"$2}'; }
 else
     do_md5sum() { echo No md5sum program found; }
 fi




>
>-- 
>M?ns Rullg?rd
>mru at inprovide.com
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>




More information about the ffmpeg-devel mailing list