diff options
author | tron <tron@pkgsrc.org> | 2001-04-20 16:46:27 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-04-20 16:46:27 +0000 |
commit | 009400920ecfb797a29f47394af618de303a18c1 (patch) | |
tree | 70ee7dad9736596b8575ca362d2bd405c5fff14a /graphics | |
parent | 88af130dfaeeff58d54b671f016b812823e51d4c (diff) | |
download | pkgsrc-009400920ecfb797a29f47394af618de303a18c1.tar.gz |
Import new "dvdview" package:
Software only MPEG-1/2 video decoder
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/dvdview/Makefile | 46 | ||||
-rw-r--r-- | graphics/dvdview/distinfo | 6 | ||||
-rw-r--r-- | graphics/dvdview/patches/patch-aa | 19 | ||||
-rw-r--r-- | graphics/dvdview/patches/patch-ab | 23 | ||||
-rw-r--r-- | graphics/dvdview/pkg/DESCR | 3 | ||||
-rw-r--r-- | graphics/dvdview/pkg/PLIST | 4 |
6 files changed, 101 insertions, 0 deletions
diff --git a/graphics/dvdview/Makefile b/graphics/dvdview/Makefile new file mode 100644 index 00000000000..addefc8df84 --- /dev/null +++ b/graphics/dvdview/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $ + +DISTNAME= dvdview1.1.0 +PKGNAME= dvdview-1.1.0 +CATEGORIES= graphics +MASTER_SITES= http://rachmaninoff.informatik.uni-mannheim.de/dvdview/arch/ + +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://rachmaninoff.informatik.uni-mannheim.de/dvdview/ +COMMENT= Software only MPEG-1/2 video decoder + +GNU_CONFIGURE= YES +USE_GMAKE= YES +USE_X11= YES + +.include "../../mk/bsd.prefs.mk" + +.if !defined(WRKSRC) +do-configure: + @${SETENV} WRKSRC=${WRKDIR}/ulib ${MAKE} ${.TARGET} + @${SETENV} WRKSRC=${WRKDIR}/dvdview ${MAKE} ${.TARGET} + +do-build: + @${SETENV} WRKSRC=${WRKDIR}/ulib ${MAKE} ${.TARGET} + @${SETENV} WRKSRC=${WRKDIR}/dvdview/src ${MAKE} ${.TARGET} +.endif + +ALL_TARGET= # empty +WRKSRC?= ${WRKDIR}/dvdview + +.if (${OPSYS} != "Linux") && (${MACHINE_ARCH} == i386) +post-configure: + cd ${WRKSRC} && \ + for FILE in ../ulib/config.h src/config.h; do \ + ${CP} $$FILE $${FILE}.old; \ + ${SED} -e 's/#define ENABLE_MMX 1/#undef ENABLE_MMX/' \ + $${FILE}.old >$${FILE}; \ + done +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/dvdview ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvdview + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdview + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/dvdview/distinfo b/graphics/dvdview/distinfo new file mode 100644 index 00000000000..18889eba1f3 --- /dev/null +++ b/graphics/dvdview/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $ + +SHA1 (dvdview1.1.0.tar.gz) = d3f6837f17834c5849f93308b994e70e056b0ffe +Size (dvdview1.1.0.tar.gz) = 42 bytes +SHA1 (patch-aa) = 5dbf6b128c4a67e49653ce6ef208abfcc2a0c4f8 +SHA1 (patch-ab) = 611df0fd92fa84b0f805203ba0bc496ea844fed5 diff --git a/graphics/dvdview/patches/patch-aa b/graphics/dvdview/patches/patch-aa new file mode 100644 index 00000000000..34a8d314269 --- /dev/null +++ b/graphics/dvdview/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $ + +--- ../ulib/Makefile.in.orig Mon Sep 25 15:30:05 2000 ++++ ../ulib/Makefile.in Fri Apr 20 17:01:44 2001 +@@ -44,10 +44,10 @@ + SHELL = /bin/bash + PROFILEFLAGS = + DEBUGFLAGS = -g +-CFLAGS = $(PROFILEFLAGS) $(DEBUGFLAGS) +-OPTIMIZE = -O99 +-INCLUDES = -I/usr/include/g++ -I$(ULIBROOT) -I. # -I$(QTROOT)/include +-LNPATH = -L/usr/X11R6/lib # -L$(QTROOT)/lib ++#CFLAGS = $(PROFILEFLAGS) $(DEBUGFLAGS) ++#OPTIMIZE = -O99 ++INCLUDES = -I$(X11BASE)/include -I$(ULIBROOT) -I. # -I$(QTROOT)/include ++LNPATH = -L$(X11BASE)/lib # -L$(QTROOT)/lib + CPPFLAGS = $(INCLUDES) + LNFLAGS = $(LNPATH) $(PROFILEFLAGS) $(DEBUGFLAGS) + DEFS = # -DNDEBUG # -DLINUX_VCD # -DUSE_MMX diff --git a/graphics/dvdview/patches/patch-ab b/graphics/dvdview/patches/patch-ab new file mode 100644 index 00000000000..7471169db85 --- /dev/null +++ b/graphics/dvdview/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $ + +--- src/Makefile.in.orig Mon Sep 25 17:43:10 2000 ++++ src/Makefile.in Fri Apr 20 17:11:35 2001 +@@ -42,13 +42,13 @@ + OBJS = $(COMMONOBJS) @OBJLIST@ # $(ARCHOBJS) $(MOCOBJS) + + CC = @CC@ +-SHELL = /bin/bash ++SHELL = /bin/sh + PROFILEFLAGS = + DEBUGFLAGS = -g +-CFLAGS = $(PROFILEFLAGS) $(DEBUGFLAGS) +-OPTIMIZE = -O3 +-INCLUDES = -I/usr/include/g++ -I$(ULIBROOT) -I. # -I$(QTROOT)/include +-LNPATH = -L/usr/X11R6/lib # -L$(QTROOT)/lib ++#CFLAGS = $(PROFILEFLAGS) $(DEBUGFLAGS) ++#OPTIMIZE = -O3 ++INCLUDES = -I$(X11BASE)/include -I$(ULIBROOT) -I. # -I$(QTROOT)/include ++LNPATH = $(LDFLAGS) + CPPFLAGS = $(INCLUDES) + LNFLAGS = $(LNPATH) $(PROFILEFLAGS) $(DEBUGFLAGS) + DEFS = # -DNDEBUG diff --git a/graphics/dvdview/pkg/DESCR b/graphics/dvdview/pkg/DESCR new file mode 100644 index 00000000000..21dd677877d --- /dev/null +++ b/graphics/dvdview/pkg/DESCR @@ -0,0 +1,3 @@ +DVDview is a software only MPEG-1/2 video decoder. A special feature of the +decoder is its ability to superimpose additional information to the video +sequence like motion vectors or quantizer scales. It runs on any UNIX system. diff --git a/graphics/dvdview/pkg/PLIST b/graphics/dvdview/pkg/PLIST new file mode 100644 index 00000000000..5bb24772413 --- /dev/null +++ b/graphics/dvdview/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/20 16:46:27 tron Exp $ +bin/dvdview +share/doc/dvdview/README +@dirrm share/doc/dvdview |