summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-12-13 19:48:13 +0000
committeragc <agc@pkgsrc.org>1997-12-13 19:48:13 +0000
commit07f81c1fb55295f86fc1af2be9509465dd718965 (patch)
treebd1f41873a92b67f5994d58aa30cf25aca60a20a /graphics/mpeg-lib
parentdd1b5d3bbd578df1d65d5f1f2525260ddfe42141 (diff)
downloadpkgsrc-07f81c1fb55295f86fc1af2be9509465dd718965.tar.gz
Added mpeg-lib package to the NetBSD packages collection, although
there's very little documentation here. This package was done by Matthias Scheler <tron@lyssa.owl.de>, as reported in PR pkg/4649.
Diffstat (limited to 'graphics/mpeg-lib')
-rw-r--r--graphics/mpeg-lib/Makefile27
-rw-r--r--graphics/mpeg-lib/files/Makefile14
-rw-r--r--graphics/mpeg-lib/files/Makefile.NetBSD1
-rw-r--r--graphics/mpeg-lib/files/md51
-rw-r--r--graphics/mpeg-lib/files/shlib_version4
-rw-r--r--graphics/mpeg-lib/pkg/COMMENT1
-rw-r--r--graphics/mpeg-lib/pkg/DESCR10
-rw-r--r--graphics/mpeg-lib/pkg/PLIST8
8 files changed, 66 insertions, 0 deletions
diff --git a/graphics/mpeg-lib/Makefile b/graphics/mpeg-lib/Makefile
new file mode 100644
index 00000000000..b114457ac33
--- /dev/null
+++ b/graphics/mpeg-lib/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 1997/12/13 19:48:13 agc Exp $
+# New ports collection makefile for: mpeg
+# Version required: 1.2.1
+# Date created: 07 December 1997
+# Whom: tron
+#
+
+DISTNAME= mpeg_lib-1.2.1
+PKGNAME= mpeg-1.2.1
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.mni.mcgill.ca/pub/mpeg/ \
+ ftp://ftp.fu-berlin.de/unix/X11/graphics/gimp/libs/ \
+ ftp://ftp.gimp.org/pub/gimp/libs/
+
+HAS_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/mpeg_lib
+
+post-configure:
+ ln -fs ${FILESDIR}/Makefile ${WRKSRC}
+ ln -s ${FILESDIR}/shlib_version ${WRKSRC}
+
+post-install:
+ (cd ${WRKSRC};make PREFIX=${PREFIX} includes)
+ ${LDCONFIG} -m ${PREFIX}/lib || true
+
+.include <bsd.port.mk>
diff --git a/graphics/mpeg-lib/files/Makefile b/graphics/mpeg-lib/files/Makefile
new file mode 100644
index 00000000000..e09af8f26e5
--- /dev/null
+++ b/graphics/mpeg-lib/files/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 1997/12/13 19:48:14 agc Exp $
+
+LIB= mpeg
+LIBDIR= ${PREFIX}/lib
+CPPFLAGS+= -DHAVE_CONFIG_H -I.
+
+INCS= mpeg.h
+INCSDIR= ${PREFIX}/include
+
+SRCS= util.c video.c parseblock.c motionvector.c decoders.c jrevdct.c\
+ wrapper.c globals.c 24bit.c gdith.c fs2.c fs2fast.c fs4.c hybrid.c\
+ hybriderr.c 2x2.c gray.c mono.c ordered.c ordered2.c mb_ordered.c
+
+.include <bsd.lib.mk>
diff --git a/graphics/mpeg-lib/files/Makefile.NetBSD b/graphics/mpeg-lib/files/Makefile.NetBSD
new file mode 100644
index 00000000000..561f8737e75
--- /dev/null
+++ b/graphics/mpeg-lib/files/Makefile.NetBSD
@@ -0,0 +1 @@
+.include <bsd.lib.mk>
diff --git a/graphics/mpeg-lib/files/md5 b/graphics/mpeg-lib/files/md5
new file mode 100644
index 00000000000..65cef81288a
--- /dev/null
+++ b/graphics/mpeg-lib/files/md5
@@ -0,0 +1 @@
+MD5 (mpeg_lib-1.2.1.tar.gz) = 28d9d7a80031393d1008e0dff76c4674
diff --git a/graphics/mpeg-lib/files/shlib_version b/graphics/mpeg-lib/files/shlib_version
new file mode 100644
index 00000000000..95709bb22b2
--- /dev/null
+++ b/graphics/mpeg-lib/files/shlib_version
@@ -0,0 +1,4 @@
+# $NetBSD: shlib_version,v 1.1 1997/12/13 19:48:16 agc Exp $
+#
+major=1
+minor=2
diff --git a/graphics/mpeg-lib/pkg/COMMENT b/graphics/mpeg-lib/pkg/COMMENT
new file mode 100644
index 00000000000..a4f0db92e45
--- /dev/null
+++ b/graphics/mpeg-lib/pkg/COMMENT
@@ -0,0 +1 @@
+A library for decoding MPEG movies
diff --git a/graphics/mpeg-lib/pkg/DESCR b/graphics/mpeg-lib/pkg/DESCR
new file mode 100644
index 00000000000..7c6d4e25b07
--- /dev/null
+++ b/graphics/mpeg-lib/pkg/DESCR
@@ -0,0 +1,10 @@
+The MPEG Library is a collection of C routines to decode MPEG movies
+and dither them in a variety of colour schemes. Most of the code in
+the library comes directly from the Berkely MPEG player, an
+X11-specific implementation that works fine, but suffers from minimal
+documentation and a lack of modularity. A front end to the Berkeley
+decoding engine was developed by Greg Ward at the Montreal
+Neurological Institute in May/June 1994 to facilitate the development
+of an MPEG player specifically for Silicon Graphics workstations; the
+decoding engine together with the MNI front end constitute the MPEG
+Library.
diff --git a/graphics/mpeg-lib/pkg/PLIST b/graphics/mpeg-lib/pkg/PLIST
new file mode 100644
index 00000000000..eedcda697b1
--- /dev/null
+++ b/graphics/mpeg-lib/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 1997/12/13 19:48:18 agc Exp $
+lib/libmpeg.a
+lib/libmpeg_p.a
+lib/libmpeg_pic.a
+lib/libmpeg.so.1.2
+@exec /sbin/ldconfig -m %B || true
+@unexec /sbin/ldconfig -m %B || true
+include/mpeg.h