diff options
author | jmmv <jmmv> | 2004-02-24 21:49:22 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-02-24 21:49:22 +0000 |
commit | e92bdc48613f31d5957d644c37589c2cb2157eca (patch) | |
tree | 026e524b210ad118e9cd9e32066f4c6050699e63 /multimedia | |
parent | 88c41da17dc271b55fee7bd2c97e77348194bef3 (diff) | |
download | pkgsrc-e92bdc48613f31d5957d644c37589c2cb2157eca.tar.gz |
Move mpeg_play from the graphics to the multimedia category.
This is version 2.4patchednb1.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpeg_play/DESCR | 2 | ||||
-rw-r--r-- | multimedia/mpeg_play/Makefile | 23 | ||||
-rw-r--r-- | multimedia/mpeg_play/PLIST | 3 | ||||
-rw-r--r-- | multimedia/mpeg_play/distinfo | 6 | ||||
-rw-r--r-- | multimedia/mpeg_play/patches/patch-aa | 16 | ||||
-rw-r--r-- | multimedia/mpeg_play/patches/patch-ab | 20 |
6 files changed, 70 insertions, 0 deletions
diff --git a/multimedia/mpeg_play/DESCR b/multimedia/mpeg_play/DESCR new file mode 100644 index 00000000000..dbef6ffd249 --- /dev/null +++ b/multimedia/mpeg_play/DESCR @@ -0,0 +1,2 @@ +This is mpeg_play, which will let you view mpeg movies on X window +displays. diff --git a/multimedia/mpeg_play/Makefile b/multimedia/mpeg_play/Makefile new file mode 100644 index 00000000000..d61e874bb5b --- /dev/null +++ b/multimedia/mpeg_play/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 21:49:22 jmmv Exp $ +# FreeBSD Id: Makefile,v 1.11 1998/10/05 03:13:32 steve Exp +# + +DISTNAME= mpeg_play-2.4-patched +PKGNAME= mpeg_play-2.4patched +PKGREVISION= 1 +CATEGORIES= multimedia +MASTER_SITES= ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/play/ +EXTRACT_SUFX= -src.tar.gz + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://bmrc.berkeley.edu/projects/mpeg/mpeg_play.html +COMMENT= Program to play mpeg movies on X displays + +WRKSRC= ${WRKDIR}/mpeg_play +USE_IMAKE= yes + +pre-configure: + ${MV} -f ${WRKSRC}/Imakefile.proto ${WRKSRC}/Imakefile + ${MV} -f ${WRKSRC}/mpeg_play.1 ${WRKSRC}/mpeg_play.man + +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/mpeg_play/PLIST b/multimedia/mpeg_play/PLIST new file mode 100644 index 00000000000..0d1a82910f6 --- /dev/null +++ b/multimedia/mpeg_play/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 21:49:22 jmmv Exp $ +bin/mpeg_play +${IMAKE_MAN_DIR}/mpeg_play.${IMAKE_MANNEWSUFFIX} diff --git a/multimedia/mpeg_play/distinfo b/multimedia/mpeg_play/distinfo new file mode 100644 index 00000000000..d9f5392c812 --- /dev/null +++ b/multimedia/mpeg_play/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/24 21:49:22 jmmv Exp $ + +SHA1 (mpeg_play-2.4-patched-src.tar.gz) = c73bfee6b9ea4ae12678bce28dd617fd53728241 +Size (mpeg_play-2.4-patched-src.tar.gz) = 146696 bytes +SHA1 (patch-aa) = b9538234c58dd7e671e61bc4e0ed14efb1f3e733 +SHA1 (patch-ab) = 104053d82635859c66d4a968c08110e5b33d88de diff --git a/multimedia/mpeg_play/patches/patch-aa b/multimedia/mpeg_play/patches/patch-aa new file mode 100644 index 00000000000..8dc062ae187 --- /dev/null +++ b/multimedia/mpeg_play/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 21:49:23 jmmv Exp $ + +--- ./Imakefile.proto.orig Tue Feb 6 23:37:51 1996 ++++ ./Imakefile.proto Wed Feb 7 00:05:59 1996 +@@ -1,9 +1,9 @@ + /* See Makefile.proto for flags to define */ +- DESTDIR = /usr/pkg/video ++ /* DESTDIR = /usr/pkg/video */ + NDEBUG = /* -DNDEBUG */ + /*ANALYSIS = -DANALYSIS */ + SHMEM = -DSH_MEM +- EXTRA_DEFINES = $(NDEBUG) $(ANALYSIS) $(SHMEM) ++ EXTRA_DEFINES = $(NDEBUG) $(ANALYSIS) $(SHMEM) -DSIG_ONE_PARAM + DEPLIBS = $(DEPXLIB) + LOCAL_LIBRARIES = $(XLIB) + SYS_LIBRARIES = -lm -lc diff --git a/multimedia/mpeg_play/patches/patch-ab b/multimedia/mpeg_play/patches/patch-ab new file mode 100644 index 00000000000..33842465eda --- /dev/null +++ b/multimedia/mpeg_play/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 21:49:23 jmmv Exp $ + +--- video.h.orig Tue Oct 6 22:06:33 1998 ++++ video.h Tue Oct 6 22:06:40 1998 +@@ -388,6 +388,15 @@ + extern unsigned int cacheMiss[8][8]; + #endif + ++#ifdef __NetBSD__ ++#include <machine/endian.h> ++#if BYTE_ORDER == LITTLE_ENDIAN ++#define LITTLE_ENDIAN_ARCHITECTURE 1 ++#else ++#define BIG_ENDIAN_ARCHITECTURE 1 ++#endif ++#endif ++ + #if !defined(__MIPSEL__) && (defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || defined(__mipsel) || defined(__mipsel__)) + #define __MIPSEL__ 1 + #endif |