summaryrefslogtreecommitdiff
path: root/graphics/mpeg2codec
diff options
context:
space:
mode:
authortron <tron>1998-09-28 18:10:27 +0000
committertron <tron>1998-09-28 18:10:27 +0000
commit5bd5f5c6d9fc74084fc053a09ffcb2627ea67199 (patch)
tree51a1387923c83a6b0db40c875e6efb11a4444e31 /graphics/mpeg2codec
parent1640c2de225cc7c2390ee03eb527d05d6ee9d90d (diff)
downloadpkgsrc-5bd5f5c6d9fc74084fc053a09ffcb2627ea67199.tar.gz
New "mpeg2codec" package:
MPEG Software Simulation Group's MPEG-2 Encoder and Decoder
Diffstat (limited to 'graphics/mpeg2codec')
-rw-r--r--graphics/mpeg2codec/Makefile26
-rw-r--r--graphics/mpeg2codec/files/md53
-rw-r--r--graphics/mpeg2codec/patches/patch-aa34
-rw-r--r--graphics/mpeg2codec/pkg/COMMENT1
-rw-r--r--graphics/mpeg2codec/pkg/DESCR3
-rw-r--r--graphics/mpeg2codec/pkg/PLIST11
6 files changed, 78 insertions, 0 deletions
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