From 0e290feae9e9b3ed336a7fd855a44b4515e51af8 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 28 Sep 1998 18:10:27 +0000 Subject: New "mpeg2codec" package: MPEG Software Simulation Group's MPEG-2 Encoder and Decoder --- graphics/mpeg2codec/Makefile | 26 ++++++++++++++++++++++++++ graphics/mpeg2codec/files/md5 | 3 +++ graphics/mpeg2codec/patches/patch-aa | 34 ++++++++++++++++++++++++++++++++++ graphics/mpeg2codec/pkg/COMMENT | 1 + graphics/mpeg2codec/pkg/DESCR | 3 +++ graphics/mpeg2codec/pkg/PLIST | 11 +++++++++++ 6 files changed, 78 insertions(+) create mode 100644 graphics/mpeg2codec/Makefile create mode 100644 graphics/mpeg2codec/files/md5 create mode 100644 graphics/mpeg2codec/patches/patch-aa create mode 100644 graphics/mpeg2codec/pkg/COMMENT create mode 100644 graphics/mpeg2codec/pkg/DESCR create mode 100644 graphics/mpeg2codec/pkg/PLIST (limited to 'graphics/mpeg2codec') diff --git a/graphics/mpeg2codec/Makefile b/graphics/mpeg2codec/Makefile new file mode 100644 index 00000000000..779ed4adc4c --- /dev/null +++ b/graphics/mpeg2codec/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/09/28 18:10:27 tron Exp $ + +DISTNAME= mpeg2vidcodec_v12 +PKGNAME= mpeg2codec-1.2 +CATEGORIES= graphics +MASTER_SITES= ftp://ftp.mpeg.org/pub/mpeg/mssg/ + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://www.mpeg.org/MSSG/ + +USE_X11= yes +NO_CONFIGURE= yes +WRKSRC= ${WRKDIR}/mpeg2 + +do-install: + ${INSTALL_PROGRAM} \ + ${WRKSRC}/src/mpeg2dec/mpeg2decode \ + ${WRKSRC}/src/mpeg2enc/mpeg2encode \ + ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/doc/mpeg2codec + ${INSTALL_DATA} ${WRKSRC}/doc/mpeg2enc.doc \ + ${PREFIX}/share/doc/mpeg2codec + ${MKDIR} ${PREFIX}/share/mpeg2codec + ${INSTALL_DATA} ${WRKSRC}/par/* ${PREFIX}/share/mpeg2codec + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/mpeg2codec/files/md5 b/graphics/mpeg2codec/files/md5 new file mode 100644 index 00000000000..0e9b3810c40 --- /dev/null +++ b/graphics/mpeg2codec/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/09/28 18:10:27 tron Exp $ + +MD5 (mpeg2vidcodec_v12.tar.gz) = 4a66565979be0818bd8a41d948943451 diff --git a/graphics/mpeg2codec/patches/patch-aa b/graphics/mpeg2codec/patches/patch-aa new file mode 100644 index 00000000000..755091ff904 --- /dev/null +++ b/graphics/mpeg2codec/patches/patch-aa @@ -0,0 +1,34 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/09/28 18:10:28 tron Exp $ + +--- Makefile.orig Sat Jul 20 01:35:46 1996 ++++ Makefile Tue Sep 22 22:36:04 1998 +@@ -30,23 +30,23 @@ + # uncomment the following two lines if you want to include X11 support + # (mpeg2decode) + +-#USE_DISP = -DDISPLAY +-#LIBS = -lX11 ++USE_DISP = -DDISPLAY ++LIBS = -lX11 + + # uncomment the following two lines if you want to use shared memory + # (faster display if server and client run on the same machine) + # (mpeg2decode) + +-#USE_SHMEM = -DSH_MEM +-#LIBS = -lXext -lX11 ++USE_SHMEM = -DSH_MEM ++LIBS = -lXext -lX11 + + # if your X11 include files / libraries are in a non standard location: + # set INCLUDEDIR to -I followed by the appropriate include file path and + # set LIBRARYDIR to -L followed by the appropriate library path + # (mpeg2decode) + +-#INCLUDEDIR = -I/usr/openwin/include +-#LIBRARYDIR = -L/usr/openwin/lib ++INCLUDEDIR = -I${PREFIX}/include ++LIBRARYDIR = -L${PREFIX}/lib + + # select one of the following CC CFLAGS settings + diff --git a/graphics/mpeg2codec/pkg/COMMENT b/graphics/mpeg2codec/pkg/COMMENT new file mode 100644 index 00000000000..8826381ee89 --- /dev/null +++ b/graphics/mpeg2codec/pkg/COMMENT @@ -0,0 +1 @@ +MPEG Software Simulation Group's MPEG-2 Encoder and Decoder diff --git a/graphics/mpeg2codec/pkg/DESCR b/graphics/mpeg2codec/pkg/DESCR new file mode 100644 index 00000000000..b791c6feb60 --- /dev/null +++ b/graphics/mpeg2codec/pkg/DESCR @@ -0,0 +1,3 @@ +This package contains the MPEG Software Simulation Group's implementation +of an ISO/IEC DIS 13818-2 codec. It converts uncompressed video frames +into MPEG-1 and MPEG-2 video coded bitstream sequences, and vice versa. diff --git a/graphics/mpeg2codec/pkg/PLIST b/graphics/mpeg2codec/pkg/PLIST new file mode 100644 index 00000000000..f0ee5e8df6d --- /dev/null +++ b/graphics/mpeg2codec/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/09/28 18:10:27 tron Exp $ +bin/mpeg2decode +bin/mpeg2encode +share/doc/mpeg2codec/mpeg2enc.doc +@dirrm share/doc/mpeg2codec +share/mpeg2codec/MPEG-1.par +share/mpeg2codec/NTSC.par +share/mpeg2codec/PAL.par +share/mpeg2codec/inter.mat +share/mpeg2codec/intra.mat +@dirrm share/mpeg2codec -- cgit v1.2.3