summaryrefslogtreecommitdiff
path: root/multimedia/dumpmpeg
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-26 18:05:45 +0000
committergrant <grant@pkgsrc.org>2004-06-26 18:05:45 +0000
commitb3d15114b52204c2827e63bd7f82d67964191054 (patch)
tree3cdf9e9e25e8a1ff523b014ec321e20fadba806b /multimedia/dumpmpeg
parentefbf02868142d542a84c111af0d47f38e729eb21 (diff)
downloadpkgsrc-b3d15114b52204c2827e63bd7f82d67964191054.tar.gz
move dumpmpeg to multimedia/
Diffstat (limited to 'multimedia/dumpmpeg')
-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
5 files changed, 52 insertions, 0 deletions
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) ) {