openbsd-ports/graphics/ffmpeg/patches/patch-tests_regression_sh
jakemsr f78c7b80a6 update to subversion snapshot from 2008-06-20.
added since last update:

- AVM2 (Flash 9) SWF muxer
- QT variant of IMA ADPCM encoder
- VFW grabber
- Ipod/Iphone compatible mp4 muxer
- Mimic decoder
- MSN TCP Webcam stream demuxer
- RL2 demuxer / decoder
- IFF demuxer
- 8SVX audio decoder
- BFI demuxer
- MAXIS EA XA (.xa) demuxer / decoder
- BFI video decoder
- OMA demuxer

also:
* headers have been moved to library specific subdirectories instead
  of all under ffmpeg.
* libswscale is now enabled in the build.


feedback/ok brad@
2008-07-09 01:57:44 +00:00

23 lines
853 B
Plaintext

$OpenBSD: patch-tests_regression_sh,v 1.5 2008/07/09 01:57:44 jakemsr Exp $
--- tests/regression.sh.orig Sat May 24 22:01:10 2008
+++ tests/regression.sh Fri Jun 20 22:38:19 2008
@@ -17,7 +17,8 @@ outfile="$datadir/$4-"
eval do_$test=y
# various files
-ffmpeg="./ffmpeg_g"
+# ffmpeg="./ffmpeg_g"
+ffmpeg="env LD_LIBRARY_PATH=./libavcodec:./libavutil:./libavformat:./libswscale ./ffmpeg_g"
tiny_psnr="tests/tiny_psnr"
benchfile="$datadir/$this.bench"
bench="$datadir/$this.bench.tmp"
@@ -34,6 +35,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