Added regression tests. Added back external decoders. relevant portion of the official ChangeLog:
- DV50 AKA DVCPRO50 encoder, decoder, muxer and demuxer - TechSmith Camtasia (TSCC) video decoder - IBM Ultimotion (ULTI) video decoder - Sierra Online audio file demuxer and decoder - Apple QuickDraw (qdrw) video decoder - Creative ADPCM audio decoder (16 bits as well as 8 bits schemes) - Electronic Arts Multimedia (WVE/UV2/etc.) file demuxer - Miro VideoXL (VIXL) video decoder - H.261 video encoder - QPEG video decoder - Nullsoft Video (NSV) file demuxer - Shorten audio decoder - LOCO video decoder - Apple Lossless Audio Codec (ALAC) decoder - Winnov WNV1 video decoder - Autodesk Animator Studio Codec (AASC) decoder - Indeo 2 video decoder http://secure.lv/~nikns/stuff/ports/ffmpeg-20061211.diff Index: ffmpeg/Makefile =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- ffmpeg/Makefile 2 Dec 2006 20:24:17 -0000 1.23 +++ ffmpeg/Makefile 11 Dec 2006 13:42:44 -0000 @@ -2,15 +2,16 @@ COMMENT= "audio/video converter and streamer with bktr(4) support" -DISTNAME= ffmpeg-cvs-20060312 -PKGNAME= ${DISTNAME:S/-cvs//}p2 -SHARED_LIBS= avutil 1.0 \ - avcodec 7.0 \ - avformat 7.0 \ - postproc 7.0 +DISTNAME= ffmpeg-cvs-20061211 +PKGNAME= ${DISTNAME:S/-cvs//} +SHARED_LIBS= avutil 2.0 \ + avcodec 8.0 \ + avformat 8.0 \ + postproc 8.0 CATEGORIES= graphics multimedia HOMEPAGE= http://www.ffmpeg.org/ +MAINTAINER= Nikns Siankin <[EMAIL PROTECTED]> # GPL PERMIT_PACKAGE_CDROM= "patents" @@ -19,10 +20,15 @@ PERMIT_DISTFILES_FTP= Yes # only available through CVS -MASTER_SITES= http://www.jakemsr.com/ +MASTER_SITES= ftp://ftp.secure.lv/pub/distfiles/ BUILD_DEPENDS= ::textproc/texi2html -LIB_DEPENDS= SDL.>=4::devel/sdl +LIB_DEPENDS= SDL.>=4::devel/sdl \ + faac::audio/faac \ + faad::audio/faad \ + mp3lame.>=0.1::audio/lame \ + vorbis.>=4.0,vorbisenc.>=2.0::audio/libvorbis + WANTLIB= X11 Xext c freetype m pthread ossaudio usbhid z USE_X11= Yes @@ -41,7 +47,15 @@ --enable-pp \ --enable-gpl \ --enable-pthreads \ - --disable-debug + --disable-debug \ + --enable-faac \ + --enable-faad \ + --enable-mp3lame \ + --enable-libogg \ + --enable-vorbis \ + --extra-ldflags="-lm -L${LOCALBASE}/lib" \ + --extra-cflags=-I${LOCALBASE}/include + MAKE_FLAGS= LIBavutil_VERSION=$(LIBavutil_VERSION) \ LIBavcodec_VERSION=$(LIBavcodec_VERSION) \ @@ -55,7 +69,7 @@ LIBavformat_VERSION=$(LIBavformat_VERSION) \ LIBpostproc_VERSION=$(LIBpostproc_VERSION) -WRKDIST= ${WRKDIR}/ffmpeg +REGRESS_TARGET= codectest post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffmpeg Index: ffmpeg/distinfo =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/distinfo,v retrieving revision 1.10 diff -u -r1.10 distinfo --- ffmpeg/distinfo 20 Mar 2006 05:50:49 -0000 1.10 +++ ffmpeg/distinfo 11 Dec 2006 13:42:44 -0000 @@ -1,4 +1,4 @@ -MD5 (ffmpeg-cvs-20060312.tar.gz) = 015c1271ea5cd3f96299230ac99d97b4 -RMD160 (ffmpeg-cvs-20060312.tar.gz) = 5be767622750d78a07769a03569a0d271eedc0ba -SHA1 (ffmpeg-cvs-20060312.tar.gz) = 84c70a386a9b5923bfbc7d33a9ba2806c63dd7f5 -SIZE (ffmpeg-cvs-20060312.tar.gz) = 2195901 +MD5 (ffmpeg-cvs-20061211.tar.gz) = 74cbe1964ea9d658108090eb3c558567 +RMD160 (ffmpeg-cvs-20061211.tar.gz) = cd656f18203da040c59ed5604cd50bae534f8828 +SHA1 (ffmpeg-cvs-20061211.tar.gz) = 9185bdb6077ecde53854ce093ddd82cdd3f4bb52 +SIZE (ffmpeg-cvs-20061211.tar.gz) = 2445891 Index: ffmpeg/patches/patch-Makefile =================================================================== RCS file: ffmpeg/patches/patch-Makefile diff -N ffmpeg/patches/patch-Makefile --- ffmpeg/patches/patch-Makefile 20 Mar 2006 05:50:49 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-Makefile,v 1.6 2006/03/20 05:50:49 jakemsr Exp $ ---- Makefile.orig Fri Feb 3 00:31:04 2006 -+++ Makefile Mon Feb 6 23:48:43 2006 -@@ -59,7 +59,7 @@ endif - - OBJS = ffmpeg.o ffserver.o cmdutils.o $(FFPLAY_O) - SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) --FFLIBS = -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF) -L./libavutil -lavutil$(BUILDSUF) -+FFLIBS = -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF) -L./libavutil -lavutil$(BUILDSUF) -lossaudio -lm -lz -pthread - - all: lib $(PROG_G) $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC) - Index: ffmpeg/patches/patch-common_mak =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-common_mak,v retrieving revision 1.2 diff -u -r1.2 patch-common_mak --- ffmpeg/patches/patch-common_mak 22 Mar 2006 08:08:42 -0000 1.2 +++ ffmpeg/patches/patch-common_mak 11 Dec 2006 13:42:44 -0000 @@ -1,21 +1,17 @@ -$OpenBSD: patch-common_mak,v 1.2 2006/03/22 08:08:42 jakemsr Exp $ ---- common.mak.orig Sun Feb 26 18:47:05 2006 -+++ common.mak Wed Mar 22 00:04:04 2006 -@@ -75,12 +75,11 @@ install-lib-shared: $(SLIBNAME) - ifeq ($(CONFIG_WIN32),yes) - install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" - else +$OpenBSD$ +--- common.mak.orig Mon Dec 4 14:18:27 2006 ++++ common.mak Mon Dec 4 14:22:08 2006 +@@ -63,12 +63,7 @@ install-libs: $(INSTLIBTARGETS) + + install-lib-shared: $(SLIBNAME) + install -d "$(shlibdir)" - install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ -- $(libdir)/$(SLIBNAME_WITH_VERSION) -- ln -sf $(SLIBNAME_WITH_VERSION) \ -- $(libdir)/$(SLIBNAME_WITH_MAJOR) -- ln -sf $(SLIBNAME_WITH_VERSION) \ -- $(libdir)/$(SLIBNAME) +- "$(shlibdir)/$(SLIBNAME_WITH_VERSION)" +- cd "$(shlibdir)" && \ +- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR) +- cd "$(shlibdir)" && \ +- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME) + install -m 755 $(SLIBNAME) $(libdir) -+ #ln -sf $(SLIBNAME_WITH_VERSION) \ -+ # $(libdir)/$(SLIBNAME_WITH_MAJOR) -+ #ln -sf $(SLIBNAME_WITH_VERSION) \ -+ # $(libdir)/$(SLIBNAME) - endif install-lib-static: $(LIB) + install -d "$(libdir)" Index: ffmpeg/patches/patch-configure =================================================================== RCS file: ffmpeg/patches/patch-configure diff -N ffmpeg/patches/patch-configure --- ffmpeg/patches/patch-configure 20 Mar 2006 05:50:49 -0000 1.13 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,94 +0,0 @@ -$OpenBSD: patch-configure,v 1.13 2006/03/20 05:50:49 jakemsr Exp $ ---- configure.orig Tue Feb 28 00:11:44 2006 -+++ configure Tue Feb 28 00:15:42 2006 -@@ -243,7 +243,7 @@ LIBSUF=".a" - LIB='$(LIBPREF)$(NAME)$(LIBSUF)' - SLIBPREF="lib" - SLIBSUF=".so" --SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF)' -+SLIBNAME='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)' - SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBVERSION)' - SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)$(SLIBSUF).$(LIBMAJOR)' - EXESUF="" -@@ -324,10 +324,11 @@ bktr="yes" - audio_oss="yes" - dv1394="no" - make="gmake" -+SHFLAGS='-shared' - LIBOBJFLAGS="\$(PIC)" --LDFLAGS="$LDFLAGS -export-dynamic -pthread" -+LDFLAGS="$LDFLAGS -export-dynamic" - LDCONFIG="ldconfig -m \$(libdir)" --extralibs="$extralibs -lossaudio" -+extralibs="" - ;; - FreeBSD) - v4l="no" -@@ -1015,10 +1016,12 @@ EOF - $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no - fi - -+if false ; then - if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then - echo "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack." - exit 1 - fi -+fi - - cat > $TMPC << EOF - #include <time.h> -@@ -1046,7 +1049,8 @@ $cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -lz - # XXX: more tests needed - runtime test - fi - if test "$zlib" = "yes"; then --extralibs="$extralibs -lz" -+# extralibs="$extralibs -lz" -+ : - fi - - if test "$lzo" = "yes" -a "$gpl" = "yes"; then -@@ -1074,7 +1078,7 @@ int main( void ) { return (lrintf(3.999f - EOF - - have_lrintf="no" --if $cc $CFLAGS $LDFLAGS $extralibs -o $TMPE $TMPC 2> /dev/null ; then -+if $cc $CFLAGS $LDFLAGS -lm -o $TMPE $TMPC 2> /dev/null ; then - have_lrintf="yes" - # [EMAIL PROTECTED]: cannot execute cross-compiled - # code on the host. Only execute if not cross-compiling. -@@ -1963,7 +1967,7 @@ Description: FFmpeg utility library - Version: $lavu_version - Requires: - Conflicts: --Libs: -L\${libdir} -lavutil -+Libs: -L\${libdir} -lavutil -lm - Cflags: -I\${includedir} -I\${includedir}/ffmpeg - EOF - -@@ -1994,7 +1998,7 @@ Description: FFmpeg codec library - Version: $lavc_version - Requires: $pkg_requires libavutil = $lavu_version - Conflicts: --Libs: -L\${libdir} -lavcodec $extralibs -+Libs: -L\${libdir} -lavcodec -lavutil -lm -lz -pthread - Cflags: -I\${includedir} -I\${includedir}/ffmpeg - EOF - -@@ -2009,7 +2013,7 @@ Description: FFmpeg codec library - Version: $lavc_version - Requires: $pkg_requires libavutil = $lavu_version - Conflicts: --Libs: \${libdir}/${LIBPREF}avcodec${LIBSUF} $extralibs -+Libs: \${libdir}/${LIBPREF}avcodec${LIBSUF} ${extralibs} - Cflags: -I\${includedir} - EOF - -@@ -2025,7 +2029,7 @@ Description: FFmpeg container format lib - Version: $lavf_version - Requires: $pkg_requires libavcodec = $lavc_version - Conflicts: --Libs: -L\${libdir} -lavformat $extralibs -+Libs: -L\${libdir} -lavformat -lavutil -lossaudio -lavcodec -lm -lz -pthread - Cflags: -I\${includedir} -I\${includedir}/ffmpeg - EOF - Index: ffmpeg/patches/patch-libavcodec_Makefile =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-libavcodec_Makefile,v retrieving revision 1.12 diff -u -r1.12 patch-libavcodec_Makefile --- ffmpeg/patches/patch-libavcodec_Makefile 20 Mar 2006 05:50:49 -0000 1.12 +++ ffmpeg/patches/patch-libavcodec_Makefile 11 Dec 2006 13:42:44 -0000 @@ -1,24 +1,16 @@ $OpenBSD: patch-libavcodec_Makefile,v 1.12 2006/03/20 05:50:49 jakemsr Exp $ ---- libavcodec/Makefile.orig Tue Feb 28 00:11:44 2006 -+++ libavcodec/Makefile Tue Feb 28 00:21:33 2006 -@@ -282,7 +282,7 @@ OBJS+= liba52/bit_allocate.o liba52/bits - endif - endif - --EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -+# EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) - - # currently using libdts for dts decoding - ifeq ($(CONFIG_DTS),yes) -@@ -396,9 +396,9 @@ endif +--- libavcodec/Makefile.orig Mon Dec 11 03:00:50 2006 ++++ libavcodec/Makefile Mon Dec 11 14:03:51 2006 +@@ -405,11 +405,9 @@ CFLAGS += $(CFLAGS-yes) + OBJS += $(OBJS-yes) + ASM_OBJS += $(ASM_OBJS-yes) +-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) +- NAME=avcodec - SUBDIR=libavcodec --LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF) -+LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF).$(LIBavutil_VERSION) ifeq ($(BUILD_SHARED),yes) -LIBVERSION=$(LAVCVERSION) +LIBVERSION='$(LIBavcodec_VERSION)' LIBMAJOR=$(LAVCMAJOR) endif - TESTS= imgresample-test dct-test motion-test fft-test + Index: ffmpeg/patches/patch-libavcodec_dsputil_c =================================================================== RCS file: ffmpeg/patches/patch-libavcodec_dsputil_c diff -N ffmpeg/patches/patch-libavcodec_dsputil_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ffmpeg/patches/patch-libavcodec_dsputil_c 11 Dec 2006 13:42:44 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- libavcodec/dsputil.c.orig Mon Dec 11 13:05:05 2006 ++++ libavcodec/dsputil.c Mon Dec 11 13:05:19 2006 +@@ -3825,7 +3825,7 @@ void dsputil_init(DSPContext* c, AVCodec + { + int i; + +- ff_check_alignment(); ++ /*ff_check_alignment();*/ + + #ifdef CONFIG_ENCODERS + if(avctx->dct_algo==FF_DCT_FASTINT) { Index: ffmpeg/patches/patch-libavcodec_libpostproc_Makefile =================================================================== RCS file: ffmpeg/patches/patch-libavcodec_libpostproc_Makefile diff -N ffmpeg/patches/patch-libavcodec_libpostproc_Makefile --- ffmpeg/patches/patch-libavcodec_libpostproc_Makefile 20 Mar 2006 05:50:49 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-libavcodec_libpostproc_Makefile,v 1.4 2006/03/20 05:50:49 jakemsr Exp $ ---- libavcodec/libpostproc/Makefile.orig Tue Feb 28 00:11:51 2006 -+++ libavcodec/libpostproc/Makefile Tue Feb 28 00:15:42 2006 -@@ -7,7 +7,7 @@ incdir=$(prefix)/include/postproc - NAME=postproc - SUBDIR=libavcodec/libpostproc - ifeq ($(BUILD_SHARED),yes) --LIBVERSION=$(SPPVERSION) -+LIBVERSION='$(LIBpostproc_VERSION)' - LIBMAJOR=$(SPPMAJOR) - endif - Index: ffmpeg/patches/patch-libavcodec_mpegaudiodec_c =================================================================== RCS file: ffmpeg/patches/patch-libavcodec_mpegaudiodec_c diff -N ffmpeg/patches/patch-libavcodec_mpegaudiodec_c --- ffmpeg/patches/patch-libavcodec_mpegaudiodec_c 31 Jul 2006 15:03:15 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-libavcodec_mpegaudiodec_c,v 1.1 2006/07/31 15:03:15 millert Exp $ ---- libavcodec/mpegaudiodec.c.orig Sun Jul 30 19:39:08 2006 -+++ libavcodec/mpegaudiodec.c Sun Jul 30 15:44:14 2006 -@@ -1650,7 +1650,7 @@ static int huffman_decode(MPADecodeConte - if (get_bits_count(&s->gb) >= end_pos) - break; - if (code_table) { -- code = get_vlc2(&s->gb, vlc->table, 8, 2); -+ code = get_vlc2(&s->gb, vlc->table, 8, 3); - if (code < 0) - return -1; - y = code_table[code]; Index: ffmpeg/patches/patch-libavcodec_mpegvideo_c =================================================================== RCS file: ffmpeg/patches/patch-libavcodec_mpegvideo_c diff -N ffmpeg/patches/patch-libavcodec_mpegvideo_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ffmpeg/patches/patch-libavcodec_mpegvideo_c 11 Dec 2006 13:42:44 -0000 @@ -0,0 +1,30 @@ +$OpenBSD$ +--- libavcodec/mpegvideo.c.orig Mon Dec 11 15:38:11 2006 ++++ libavcodec/mpegvideo.c Mon Dec 11 15:38:57 2006 +@@ -4838,7 +4838,7 @@ static int pre_estimate_motion_thread(AV + static int estimate_motion_thread(AVCodecContext *c, void *arg){ + MpegEncContext *s= arg; + +- ff_check_alignment(); ++ /*ff_check_alignment();*/ + + s->me.dia_size= s->avctx->dia_size; + s->first_slice_line=1; +@@ -4866,7 +4866,7 @@ static int mb_var_thread(AVCodecContext + MpegEncContext *s= arg; + int mb_x, mb_y; + +- ff_check_alignment(); ++ /*ff_check_alignment();*/ + + for(mb_y=s->start_mb_y; mb_y < s->end_mb_y; mb_y++) { + for(mb_x=0; mb_x < s->mb_width; mb_x++) { +@@ -4915,7 +4915,7 @@ static int encode_thread(AVCodecContext + PutBitContext pb[2], pb2[2], tex_pb[2]; + //printf("%d->%d\n", s->resync_mb_y, s->end_mb_y); + +- ff_check_alignment(); ++ /*ff_check_alignment();*/ + + for(i=0; i<2; i++){ + init_put_bits(&pb [i], bit_buf [i], MAX_MB_BYTES); Index: ffmpeg/patches/patch-libavformat_Makefile =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-libavformat_Makefile,v retrieving revision 1.11 diff -u -r1.11 patch-libavformat_Makefile --- ffmpeg/patches/patch-libavformat_Makefile 20 Mar 2006 05:50:49 -0000 1.11 +++ ffmpeg/patches/patch-libavformat_Makefile 11 Dec 2006 13:42:44 -0000 @@ -1,18 +1,9 @@ $OpenBSD: patch-libavformat_Makefile,v 1.11 2006/03/20 05:50:49 jakemsr Exp $ ---- libavformat/Makefile.orig Tue Feb 28 00:11:51 2006 -+++ libavformat/Makefile Tue Feb 28 00:18:50 2006 -@@ -66,7 +66,7 @@ ifeq ($(CONFIG_AUDIO_OSS),yes) - OBJS+= audio.o - endif +--- libavformat/Makefile.orig Tue Nov 21 15:18:21 2006 ++++ libavformat/Makefile Mon Dec 11 14:01:08 2006 +@@ -190,7 +190,7 @@ OBJS += $(OBJS-yes) --EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec -+# EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec - - ifeq ($(CONFIG_AUDIO_BEOS),yes) - CPPOBJS+= beosaudio.o -@@ -93,7 +93,7 @@ endif NAME=avformat - SUBDIR=libavformat ifeq ($(BUILD_SHARED),yes) -LIBVERSION=$(LAVFVERSION) +LIBVERSION='$(LIBavformat_VERSION)' Index: ffmpeg/patches/patch-libavutil_Makefile =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-libavutil_Makefile,v retrieving revision 1.1 diff -u -r1.1 patch-libavutil_Makefile --- ffmpeg/patches/patch-libavutil_Makefile 20 Mar 2006 05:50:49 -0000 1.1 +++ ffmpeg/patches/patch-libavutil_Makefile 11 Dec 2006 13:42:44 -0000 @@ -1,9 +1,9 @@ $OpenBSD: patch-libavutil_Makefile,v 1.1 2006/03/20 05:50:49 jakemsr Exp $ ---- libavutil/Makefile.orig Tue Feb 28 00:11:52 2006 -+++ libavutil/Makefile Tue Feb 28 00:15:42 2006 -@@ -26,7 +26,7 @@ endif +--- libavutil/Makefile.orig Tue Nov 14 03:02:30 2006 ++++ libavutil/Makefile Mon Dec 11 14:01:08 2006 +@@ -22,7 +22,7 @@ HEADERS = avutil.h common.h mathematics. + NAME=avutil - SUBDIR = libavutil ifeq ($(BUILD_SHARED),yes) -LIBVERSION=$(LAVUVERSION) +LIBVERSION='$(LIBavutil_VERSION)' Index: ffmpeg/patches/patch-libpostproc_Makefile =================================================================== RCS file: ffmpeg/patches/patch-libpostproc_Makefile diff -N ffmpeg/patches/patch-libpostproc_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ffmpeg/patches/patch-libpostproc_Makefile 11 Dec 2006 13:42:44 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- libpostproc/Makefile.orig Mon Dec 4 14:38:30 2006 ++++ libpostproc/Makefile Mon Dec 4 14:38:48 2006 +@@ -8,7 +8,7 @@ EXTRALIBS := -L$(BUILD_ROOT)/libavutil - + + NAME=postproc + ifeq ($(BUILD_SHARED),yes) +-LIBVERSION=$(SPPVERSION) ++LIBVERSION='$(LIBpostproc_VERSION)' + LIBMAJOR=$(SPPMAJOR) + endif + Index: ffmpeg/patches/patch-tests_regression_sh =================================================================== RCS file: ffmpeg/patches/patch-tests_regression_sh diff -N ffmpeg/patches/patch-tests_regression_sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ffmpeg/patches/patch-tests_regression_sh 11 Dec 2006 13:42:44 -0000 @@ -0,0 +1,21 @@ +$OpenBSD$ +--- 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 Index: ffmpeg/pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/pkg/PLIST,v retrieving revision 1.9 diff -u -r1.9 PLIST --- ffmpeg/pkg/PLIST 20 Mar 2006 05:50:49 -0000 1.9 +++ ffmpeg/pkg/PLIST 11 Dec 2006 13:42:44 -0000 @@ -4,19 +4,25 @@ bin/ffplay bin/ffserver include/ffmpeg/ +include/ffmpeg/adler32.h include/ffmpeg/avcodec.h include/ffmpeg/avformat.h include/ffmpeg/avio.h include/ffmpeg/avutil.h include/ffmpeg/common.h -include/ffmpeg/dsputil.h +include/ffmpeg/fifo.h include/ffmpeg/integer.h include/ffmpeg/intfloat_readwrite.h +include/ffmpeg/log.h include/ffmpeg/mathematics.h +include/ffmpeg/md5.h +include/ffmpeg/opt.h include/ffmpeg/rational.h +include/ffmpeg/rgb2rgb.h include/ffmpeg/rtp.h include/ffmpeg/rtsp.h include/ffmpeg/rtspcodes.h +include/ffmpeg/swscale.h include/postproc/ include/postproc/postprocess.h lib/libavcodec.a @@ -28,6 +34,7 @@ lib/pkgconfig/libavformat.pc lib/pkgconfig/libavutil.pc lib/pkgconfig/libpostproc.pc +lib/pkgconfig/libswscale.pc lib/vhook/ @man man/man1/ffmpeg.1 @man man/man1/ffplay.1