summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorgrant <grant>2004-06-26 18:05:45 +0000
committergrant <grant>2004-06-26 18:05:45 +0000
commit03b0dc7cf879029e8f9f2fb42227cefeaf0d634d (patch)
tree3cdf9e9e25e8a1ff523b014ec321e20fadba806b /multimedia
parentd98fb357fa052696079892839667930fbf3a06a3 (diff)
downloadpkgsrc-03b0dc7cf879029e8f9f2fb42227cefeaf0d634d.tar.gz
move dumpmpeg to multimedia/
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile3
-rw-r--r--multimedia/dumpmpeg/DESCR5
-rw-r--r--multimedia/dumpmpeg/Makefile17
-rw-r--r--multimedia/dumpmpeg/PLIST3
-rw-r--r--multimedia/dumpmpeg/distinfo5
-rw-r--r--multimedia/dumpmpeg/patches/patch-aa22
6 files changed, 54 insertions, 1 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 8af4e1e4952..520e434a10d 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2004/06/26 18:00:21 grant Exp $
+# $NetBSD: Makefile,v 1.53 2004/06/26 18:05:45 grant Exp $
#
COMMENT= Multimedia utilities
@@ -9,6 +9,7 @@ SUBDIR+= avidemux
SUBDIR+= avifile
SUBDIR+= dirac
SUBDIR+= divxplayer
+SUBDIR+= dumpmpeg
SUBDIR+= dvdauthor
SUBDIR+= dvdrip
SUBDIR+= ffmpeg
diff --git a/multimedia/dumpmpeg/DESCR b/multimedia/dumpmpeg/DESCR
new file mode 100644
index 00000000000..b9bc91395d1
--- /dev/null
+++ b/multimedia/dumpmpeg/DESCR
@@ -0,0 +1,5 @@
+dumpmpeg is a program that allows you to dump video frames from MPEG
+movie files. It uses the SDL MPEG Player Library to accomplish this and
+thus requires an open X-Window. Since it uses the SMPEG library, it
+can dump frames from format it supports, which currently is MPEG-1 video
+files.
diff --git a/multimedia/dumpmpeg/Makefile b/multimedia/dumpmpeg/Makefile
new file mode 100644
index 00000000000..5162a08e225
--- /dev/null
+++ b/multimedia/dumpmpeg/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2004/06/26 18:05:45 grant Exp $
+#
+
+DISTNAME= dumpmpeg-0.6
+PKGREVISION= 2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dumpmpeg/}
+
+MAINTAINER= hubertf@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/dumpmpeg
+COMMENT= Splits an MPEG stream into single images
+
+USE_BUILDLINK3= YES
+GNU_CONFIGURE= YES
+
+.include "../../multimedia/smpeg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/dumpmpeg/PLIST b/multimedia/dumpmpeg/PLIST
new file mode 100644
index 00000000000..c23c281c2c9
--- /dev/null
+++ b/multimedia/dumpmpeg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2004/06/26 18:05:45 grant Exp $
+bin/dumpmpeg
+man/man1/dumpmpeg.1
diff --git a/multimedia/dumpmpeg/distinfo b/multimedia/dumpmpeg/distinfo
new file mode 100644
index 00000000000..8cd482db41e
--- /dev/null
+++ b/multimedia/dumpmpeg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2004/06/26 18:05:45 grant Exp $
+
+SHA1 (dumpmpeg-0.6.tar.gz) = 99bd1e62d69c3727d69d1f313c0277718b83d66e
+Size (dumpmpeg-0.6.tar.gz) = 43257 bytes
+SHA1 (patch-aa) = 3b1613a264dd5704d74ab732d3c335c971f5f819
diff --git a/multimedia/dumpmpeg/patches/patch-aa b/multimedia/dumpmpeg/patches/patch-aa
new file mode 100644
index 00000000000..d0eb1c695d2
--- /dev/null
+++ b/multimedia/dumpmpeg/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2004/06/26 18:05:45 grant Exp $
+
+--- dumpmpeg.c.orig Thu May 17 15:52:12 2001
++++ dumpmpeg.c
+@@ -318,14 +318,14 @@
+ #ifdef VCD_SUPPORT
+ /* Check if source is a CDROM device */
+ if((fd = vcd_open(argv[i])) != 0)
+- mpeg = SMPEG_new_descr(fd, &info, 1);
++ mpeg = SMPEG_new_descr(fd, &info, 0); /* we don't need audio! */
+ else
+ #endif
+ {
+ if(strcmp(argv[i], "-") == 0) /* Use stdin for input */
+- mpeg = SMPEG_new_descr(0, &info, 1);
++ mpeg = SMPEG_new_descr(0, &info, 0); /* we don't need audio! */
+ else
+- mpeg = SMPEG_new(argv[i], &info, 1);
++ mpeg = SMPEG_new(argv[i], &info, 0); /* we don't need audio! */
+ }
+
+ if ( SMPEG_error(mpeg) ) {