From 4cb7dd156fdb7f40117d46548788864a493f9db1 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 19 Mar 2002 12:39:27 +0000 Subject: Import new "ffmpeg" package: MPEG decoding, encoding and streaming software This fixes PR pkg/15944 by Rui-Xiang Guo. --- graphics/ffmpeg/DESCR | 10 ++++++++++ graphics/ffmpeg/Makefile | 24 ++++++++++++++++++++++++ graphics/ffmpeg/PLIST | 13 +++++++++++++ graphics/ffmpeg/distinfo | 7 +++++++ graphics/ffmpeg/patches/patch-aa | 12 ++++++++++++ graphics/ffmpeg/patches/patch-ab | 13 +++++++++++++ graphics/ffmpeg/patches/patch-ac | 13 +++++++++++++ 7 files changed, 92 insertions(+) create mode 100644 graphics/ffmpeg/DESCR create mode 100644 graphics/ffmpeg/Makefile create mode 100644 graphics/ffmpeg/PLIST create mode 100644 graphics/ffmpeg/distinfo create mode 100644 graphics/ffmpeg/patches/patch-aa create mode 100644 graphics/ffmpeg/patches/patch-ab create mode 100644 graphics/ffmpeg/patches/patch-ac diff --git a/graphics/ffmpeg/DESCR b/graphics/ffmpeg/DESCR new file mode 100644 index 00000000000..e30ce647cc7 --- /dev/null +++ b/graphics/ffmpeg/DESCR @@ -0,0 +1,10 @@ +FFmpeg is the first complete and free Internet Live Audio and Video +Broadcasting solution. FFMpeg aims at being the command line tool to +handle audio and video. It is a "three-in-one" solution. + +FFmpeg includes a soft VCR capable of encoding in many different +formats simultaneously, a streaming server for Netcasting multimedia +and is available under the GNU General Public License. + +FFmpeg generates streaming files, in many popular formats +simultaneously, faster than any other solution. diff --git a/graphics/ffmpeg/Makefile b/graphics/ffmpeg/Makefile new file mode 100644 index 00000000000..ddbf405c556 --- /dev/null +++ b/graphics/ffmpeg/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ + +DISTNAME= ffmpeg-0.4.5 +CATEGORIES= graphics net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ffmpeg/} + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://ffmpeg.sourceforge.net/ +COMMENT= MPEG decoding, encoding and streaming software + +BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm + +HAS_CONFIGURE= YES +USE_GMAKE= YES + +CONFIGURE_ARGS= --cc=${CC} --disable-grab --prefix=${PREFIX} +WRKSRC= ${WRKDIR}/ffmpeg + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffmpeg + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/* \ + ${PREFIX}/share/doc/ffmpeg + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/ffmpeg/PLIST b/graphics/ffmpeg/PLIST new file mode 100644 index 00000000000..0e86b3d9f66 --- /dev/null +++ b/graphics/ffmpeg/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ +bin/ffmpeg +bin/ffserver +share/doc/ffmpeg/FAQ +share/doc/ffmpeg/README +share/doc/ffmpeg/README.dev +share/doc/ffmpeg/README.tech +share/doc/ffmpeg/TODO +share/doc/ffmpeg/bench.txt +share/doc/ffmpeg/ffmpeg.txt +share/doc/ffmpeg/ffserver.conf +share/doc/ffmpeg/ffserver.txt +@dirrm share/doc/ffmpeg diff --git a/graphics/ffmpeg/distinfo b/graphics/ffmpeg/distinfo new file mode 100644 index 00000000000..c6bc80efde7 --- /dev/null +++ b/graphics/ffmpeg/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ + +SHA1 (ffmpeg-0.4.5.tar.gz) = 7d99250eb20c45b77a08e00ecad1f73d11f57cb8 +Size (ffmpeg-0.4.5.tar.gz) = 280506 bytes +SHA1 (patch-aa) = e2e7ca0465ea69514a6b36e93451ea7eaca0513c +SHA1 (patch-ab) = d9938d202f9c40e54361abf60bbe275ecc752d28 +SHA1 (patch-ac) = c5d40e240f447316128a0bfca15eb902fe0468db diff --git a/graphics/ffmpeg/patches/patch-aa b/graphics/ffmpeg/patches/patch-aa new file mode 100644 index 00000000000..e53e950c009 --- /dev/null +++ b/graphics/ffmpeg/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ + +--- configure.orig Tue Mar 19 13:11:44 2002 ++++ configure Tue Mar 19 13:09:04 2002 +@@ -77,7 +77,6 @@ + fi + + echo "prefix=$prefix" >> config.mak +-echo "MAKE=make" >> config.mak + echo "CC=$cc" >> config.mak + echo "AR=$ar" >> config.mak + echo "OPTFLAGS=$CFLAGS" >> config.mak diff --git a/graphics/ffmpeg/patches/patch-ab b/graphics/ffmpeg/patches/patch-ab new file mode 100644 index 00000000000..31cc814fe3c --- /dev/null +++ b/graphics/ffmpeg/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ + +--- ffserver.c.orig Wed Aug 15 00:38:17 2001 ++++ ffserver.c Tue Mar 19 13:27:31 2002 +@@ -1526,7 +1526,7 @@ + config_filename = "/etc/ffserver.conf"; + + for(;;) { +- c = getopt_long_only(argc, argv, "Lh?f:", NULL, NULL); ++ c = getopt(argc, argv, "Lh?f:"); + if (c == -1) + break; + switch(c) { diff --git a/graphics/ffmpeg/patches/patch-ac b/graphics/ffmpeg/patches/patch-ac new file mode 100644 index 00000000000..5610f945266 --- /dev/null +++ b/graphics/ffmpeg/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/03/19 12:39:27 tron Exp $ + +--- Makefile.orig Wed Aug 15 15:12:07 2001 ++++ Makefile Tue Mar 19 13:33:28 2002 +@@ -28,7 +28,7 @@ + gcc $(CFLAGS) -c -o $@ $< + + install: all +- install -s -m 755 $(PROG) $(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) $(PROG) $(prefix)/bin + + clean: + $(MAKE) -C libavcodec clean -- cgit v1.2.3