Move mpeg_play from the graphics to the multimedia category.

This is version 2.4patchednb1.
This commit is contained in:
jmmv 2004-02-24 21:49:22 +00:00
parent edcded2f3f
commit 61bc47517a
6 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,2 @@
This is mpeg_play, which will let you view mpeg movies on X window
displays.

View file

@ -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"

View file

@ -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}

View file

@ -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

View file

@ -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

View file

@ -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