From e67a5692723dd0c576da019184f63265e0c408ea Mon Sep 17 00:00:00 2001 From: agc Date: Sat, 13 Dec 1997 19:48:13 +0000 Subject: Added mpeg-lib package to the NetBSD packages collection, although there's very little documentation here. This package was done by Matthias Scheler , as reported in PR pkg/4649. --- graphics/mpeg-lib/Makefile | 27 +++++++++++++++++++++++++++ graphics/mpeg-lib/files/Makefile | 14 ++++++++++++++ graphics/mpeg-lib/files/Makefile.NetBSD | 1 + graphics/mpeg-lib/files/md5 | 1 + graphics/mpeg-lib/files/shlib_version | 4 ++++ graphics/mpeg-lib/pkg/COMMENT | 1 + graphics/mpeg-lib/pkg/DESCR | 10 ++++++++++ graphics/mpeg-lib/pkg/PLIST | 8 ++++++++ 8 files changed, 66 insertions(+) create mode 100644 graphics/mpeg-lib/Makefile create mode 100644 graphics/mpeg-lib/files/Makefile create mode 100644 graphics/mpeg-lib/files/Makefile.NetBSD create mode 100644 graphics/mpeg-lib/files/md5 create mode 100644 graphics/mpeg-lib/files/shlib_version create mode 100644 graphics/mpeg-lib/pkg/COMMENT create mode 100644 graphics/mpeg-lib/pkg/DESCR create mode 100644 graphics/mpeg-lib/pkg/PLIST (limited to 'graphics/mpeg-lib') 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 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 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 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 -- cgit v1.2.3