diff options
author | wiz <wiz@pkgsrc.org> | 2006-04-13 20:15:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-04-13 20:15:50 +0000 |
commit | 05edb0050c2d69cd4d446fcfeb51230022ebb4e9 (patch) | |
tree | 33336cc09c080bc753e91163e06296927930e07e | |
parent | 64adde426256ad147ca008f9f14a2c5dd2eafad0 (diff) | |
download | pkgsrc-05edb0050c2d69cd4d446fcfeb51230022ebb4e9.tar.gz |
Reimport graphics/dvdview as multimedia/dvdview.
-rw-r--r-- | multimedia/dvdview/DESCR | 3 | ||||
-rw-r--r-- | multimedia/dvdview/Makefile | 30 | ||||
-rw-r--r-- | multimedia/dvdview/PLIST | 4 | ||||
-rw-r--r-- | multimedia/dvdview/distinfo | 8 | ||||
-rw-r--r-- | multimedia/dvdview/patches/patch-aa | 15 | ||||
-rw-r--r-- | multimedia/dvdview/patches/patch-ab | 55 | ||||
-rw-r--r-- | multimedia/dvdview/patches/patch-ac | 13 |
7 files changed, 128 insertions, 0 deletions
diff --git a/multimedia/dvdview/DESCR b/multimedia/dvdview/DESCR new file mode 100644 index 00000000000..21dd677877d --- /dev/null +++ b/multimedia/dvdview/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/multimedia/dvdview/Makefile b/multimedia/dvdview/Makefile new file mode 100644 index 00000000000..fdd2a0ae3a1 --- /dev/null +++ b/multimedia/dvdview/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ + +DISTNAME= dvdview-1.2.2 +PKGREVISION= 3 +CATEGORIES= multimedia +MASTER_SITES= http://rachmaninoff.informatik.uni-mannheim.de/dvdview/data/ + +MAINTAINER= tron@NetBSD.org +HOMEPAGE= http://rachmaninoff.informatik.uni-mannheim.de/dvdview/ +COMMENT= Software only MPEG-1/2 video decoder + +GNU_CONFIGURE= YES +USE_TOOLS+= gmake + +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == SunOS) +MAKE_ENV+= RTLIB=-lrt +.else +MAKE_ENV+= RTLIB= +.endif + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvdview + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dvdview + +.include "../../graphics/libvideogfx/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/x11.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/dvdview/PLIST b/multimedia/dvdview/PLIST new file mode 100644 index 00000000000..954583bdbf6 --- /dev/null +++ b/multimedia/dvdview/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ +bin/dvdview +share/doc/dvdview/README +@dirrm share/doc/dvdview diff --git a/multimedia/dvdview/distinfo b/multimedia/dvdview/distinfo new file mode 100644 index 00000000000..8cdf106eed4 --- /dev/null +++ b/multimedia/dvdview/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ + +SHA1 (dvdview-1.2.2.tar.gz) = d7d00aee0a5553f97b5a7673d7fa7174d173c12e +RMD160 (dvdview-1.2.2.tar.gz) = 6563a006ecb788d5c9554016c97fbecb69814dab +Size (dvdview-1.2.2.tar.gz) = 209143 bytes +SHA1 (patch-aa) = b691e2988b1394002a1e57512216cdf55a592665 +SHA1 (patch-ab) = 6509989ade7aff868c15436b859679ddd6b35a36 +SHA1 (patch-ac) = 68773260cfc04b8fd1ac8ac3a33ad685fecabc38 diff --git a/multimedia/dvdview/patches/patch-aa b/multimedia/dvdview/patches/patch-aa new file mode 100644 index 00000000000..2ed8364c162 --- /dev/null +++ b/multimedia/dvdview/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ + +--- src/guis/shell/main_shell.cc.orig Tue Feb 4 13:01:17 2003 ++++ src/guis/shell/main_shell.cc Tue Feb 4 13:07:30 2003 +@@ -463,8 +463,10 @@ + #if HAVE_X11 + outputobject = &videosink_x11; + ++#if 0 + if (!default_x11server.AskDisplay()) + { cerr << "Cannot open display.\n"; throw "no display"; } ++#endif + #endif + resizer = &pp_resize; + #endif diff --git a/multimedia/dvdview/patches/patch-ab b/multimedia/dvdview/patches/patch-ab new file mode 100644 index 00000000000..9c4eeaa9478 --- /dev/null +++ b/multimedia/dvdview/patches/patch-ab @@ -0,0 +1,55 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ + +--- configure.orig Wed Feb 5 23:06:22 2003 ++++ configure Wed Feb 5 23:10:08 2003 +@@ -3406,41 +3406,6 @@ + fi + + +-echo "$as_me:$LINENO: checking for MMX support" >&5 +-echo $ECHO_N "checking for MMX support... $ECHO_C" >&6 +-case $target_cpu in +- i?86) echo "$as_me:$LINENO: result: found, using MMX optimized code" >&5 +-echo "${ECHO_T}found, using MMX optimized code" >&6 +- cat >>confdefs.h <<\_ACEOF +-#define ENABLE_MMX 1 +-_ACEOF +- +- cat >>confdefs.h <<\_ACEOF +-#define UNALIGNED_MEMORYACCESS 1 +-_ACEOF +- +- +- +-if true; then +- ENABLE_MMX_TRUE= +- ENABLE_MMX_FALSE='#' +-else +- ENABLE_MMX_TRUE='#' +- ENABLE_MMX_FALSE= +-fi +- +- +- +-if true; then +- ENABLE_CPU_X86_TRUE= +- ENABLE_CPU_X86_FALSE='#' +-else +- ENABLE_CPU_X86_TRUE='#' +- ENABLE_CPU_X86_FALSE= +-fi +- ;; +- *) echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6 + + + if false; then +@@ -3460,8 +3425,6 @@ + ENABLE_CPU_X86_TRUE='#' + ENABLE_CPU_X86_FALSE= + fi +- ;; +-esac + + echo "$as_me:$LINENO: checking for Linux" >&5 + echo $ECHO_N "checking for Linux... $ECHO_C" >&6 diff --git a/multimedia/dvdview/patches/patch-ac b/multimedia/dvdview/patches/patch-ac new file mode 100644 index 00000000000..89581f72397 --- /dev/null +++ b/multimedia/dvdview/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2006/04/13 20:15:50 wiz Exp $ + +--- src/Makefile.in.orig 2002-11-11 15:46:54.000000000 +0000 ++++ src/Makefile.in 2006-01-23 13:18:02.000000000 +0000 +@@ -117,7 +117,7 @@ + dvdview_LDADD = \ + $(dvdview_common_ldadd) \ + @LIBVIDEOGFX_LIBS@ \ +- -lstdc++ -lpthread ++ -lstdc++ $(PTHREAD_LIBS) $(PTHREAD_LDFLAGS) + + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |