summaryrefslogtreecommitdiff
path: root/graphics/dumpmpeg
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-05-17 16:00:52 +0000
committerhubertf <hubertf>2001-05-17 16:00:52 +0000
commit85a9fdf403af82d718997e7398323fbf79c8e85d (patch)
treeeaa14ffe2dd5e22a0be5e517e96f5b7b6146cfe2 /graphics/dumpmpeg
parentf05d238772cea376102bc57f95d9ed7b197f1cf7 (diff)
downloadpkgsrc-85a9fdf403af82d718997e7398323fbf79c8e85d.tar.gz
Added dumpmpeg-0.6: Splits mpeg stream into single images
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.
Diffstat (limited to 'graphics/dumpmpeg')
-rw-r--r--graphics/dumpmpeg/Makefile19
-rw-r--r--graphics/dumpmpeg/distinfo5
-rw-r--r--graphics/dumpmpeg/patches/patch-aa22
-rw-r--r--graphics/dumpmpeg/pkg/DESCR5
-rw-r--r--graphics/dumpmpeg/pkg/PLIST3
5 files changed, 54 insertions, 0 deletions
diff --git a/graphics/dumpmpeg/Makefile b/graphics/dumpmpeg/Makefile
new file mode 100644
index 00000000000..e676a75bbc1
--- /dev/null
+++ b/graphics/dumpmpeg/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/17 16:00:52 hubertf Exp $
+#
+
+DISTNAME= dumpmpeg-0.6
+CATEGORIES= graphics
+MASTER_SITES= http://prdownloads.sourceforge.net/dumpmpeg/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/dumpmpeg
+COMMENT= Splits mpeg stream into single images
+
+DEPENDS+= smpeg>=0.4.3:../../devel/smpeg
+DEPENDS+= SDL>=1.2.0:../../devel/SDL
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--with-sdl-prefix=${LOCALBASE} \
+ --with-smpeg-prefix=${LOCALBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/dumpmpeg/distinfo b/graphics/dumpmpeg/distinfo
new file mode 100644
index 00000000000..5b814b747f0
--- /dev/null
+++ b/graphics/dumpmpeg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/17 16:00:52 hubertf Exp $
+
+SHA1 (dumpmpeg-0.6.tar.gz) = 99bd1e62d69c3727d69d1f313c0277718b83d66e
+Size (dumpmpeg-0.6.tar.gz) = 43257 bytes
+SHA1 (patch-aa) = 3b1613a264dd5704d74ab732d3c335c971f5f819
diff --git a/graphics/dumpmpeg/patches/patch-aa b/graphics/dumpmpeg/patches/patch-aa
new file mode 100644
index 00000000000..aef2d964dfd
--- /dev/null
+++ b/graphics/dumpmpeg/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/17 16:00:52 hubertf 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) ) {
diff --git a/graphics/dumpmpeg/pkg/DESCR b/graphics/dumpmpeg/pkg/DESCR
new file mode 100644
index 00000000000..6fb5cf809cd
--- /dev/null
+++ b/graphics/dumpmpeg/pkg/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/graphics/dumpmpeg/pkg/PLIST b/graphics/dumpmpeg/pkg/PLIST
new file mode 100644
index 00000000000..43cbeec63fc
--- /dev/null
+++ b/graphics/dumpmpeg/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/17 16:00:52 hubertf Exp $
+bin/dumpmpeg
+man/man1/dumpmpeg.1