openbsd-ports/graphics/ffmpeg/patches/patch-tests_regression_sh
jakemsr e066281b74 update to SVN snapshot from 20070501
several new codecs added, including an WMA encoder, Theora
encoding via libtheora, and H.264 encoding via x264

with feedback from brad@, jolan@, naddy@ and Nikns Sainkin
<nikns at secure dot lv>

OK jolan@
2007-05-25 15:54:14 +00:00

22 lines
780 B
Plaintext

$OpenBSD: patch-tests_regression_sh,v 1.2 2007/05/25 15:54:14 jakemsr Exp $
--- tests/regression.sh.orig Tue Apr 17 21:21:06 2007
+++ tests/regression.sh Tue Apr 17 22:02:51 2007
@@ -91,7 +91,7 @@ fi
# various files
-ffmpeg="../ffmpeg_g"
+ffmpeg="env LD_LIBRARY_PATH=../libavcodec:../libavutil:../libavformat:../libswscale ../ffmpeg_g"
tiny_psnr="./tiny_psnr"
reffile="$2"
benchfile="$datadir/ffmpeg.bench"
@@ -107,6 +107,8 @@ if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
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