summaryrefslogtreecommitdiff
path: root/multimedia/gopchop
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-23 19:16:33 +0000
committerwiz <wiz@pkgsrc.org>2005-03-23 19:16:33 +0000
commit2f4d7d605b889a45d4a2c45a621c0ee6abe690e0 (patch)
treee720d89e25097fcd339ea5da56aa2bcc624b1e95 /multimedia/gopchop
parent765d96c65aeed8e6d0c856b2efc39da45b2e2528 (diff)
downloadpkgsrc-2f4d7d605b889a45d4a2c45a621c0ee6abe690e0.tar.gz
Initial import of gopchop-1.1.3:
This tool is used for people wanting to take sections out of MPEG2-PS files without re-encoding the resulting frames. The idea is to write specific "Group of Pictures" (GOP) sections to a new MPEG2-PS file. These GOPs will decode correctly (in theory), and the gaps won't be noticed. I wrote this tool to edit commercials out of MPEG2 files produced by my KFir MPEG2 capture card. Using this tool for anything else is really beyond the scope of its design.
Diffstat (limited to 'multimedia/gopchop')
-rw-r--r--multimedia/gopchop/DESCR7
-rw-r--r--multimedia/gopchop/Makefile20
-rw-r--r--multimedia/gopchop/PLIST15
-rw-r--r--multimedia/gopchop/distinfo9
-rw-r--r--multimedia/gopchop/patches/patch-aa13
-rw-r--r--multimedia/gopchop/patches/patch-ab12
-rw-r--r--multimedia/gopchop/patches/patch-ac13
-rw-r--r--multimedia/gopchop/patches/patch-ad12
8 files changed, 101 insertions, 0 deletions
diff --git a/multimedia/gopchop/DESCR b/multimedia/gopchop/DESCR
new file mode 100644
index 00000000000..62f08c8ef85
--- /dev/null
+++ b/multimedia/gopchop/DESCR
@@ -0,0 +1,7 @@
+This tool is used for people wanting to take sections out of MPEG2-PS
+files without re-encoding the resulting frames. The idea is to
+write specific "Group of Pictures" (GOP) sections to a new MPEG2-PS
+file. These GOPs will decode correctly (in theory), and the gaps
+won't be noticed. I wrote this tool to edit commercials out of
+MPEG2 files produced by my KFir MPEG2 capture card. Using this
+tool for anything else is really beyond the scope of its design.
diff --git a/multimedia/gopchop/Makefile b/multimedia/gopchop/Makefile
new file mode 100644
index 00000000000..e1a713d92bf
--- /dev/null
+++ b/multimedia/gopchop/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+#
+
+DISTNAME= gopchop-1.1.3
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gopchop/} \
+ http://outflux.net/unix/software/GOPchop/download/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://outflux.net/unix/software/GOPchop/
+COMMENT= MPEG2 GOP-accurate editor
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_DIRS+= xdg-1.1
+
+.include "../../multimedia/libmpeg2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gopchop/PLIST b/multimedia/gopchop/PLIST
new file mode 100644
index 00000000000..9c74ebe188d
--- /dev/null
+++ b/multimedia/gopchop/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+bin/gopchop
+bin/gtkspu
+bin/mpegcat
+man/man1/gopchop.1
+man/man1/gtkspu.1
+man/man1/mpegcat.1
+share/applications/gopchop.desktop
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gopchop.mo
+${PKGLOCALEDIR}/locale/en/LC_MESSAGES/gopchop.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gopchop.mo
+share/pixmaps/gopchop.png
+share/pixmaps/gopchop/about.xpm
+share/pixmaps/gopchop/error.xpm
+@dirrm share/pixmaps/gopchop
diff --git a/multimedia/gopchop/distinfo b/multimedia/gopchop/distinfo
new file mode 100644
index 00000000000..8b9f8cbeb84
--- /dev/null
+++ b/multimedia/gopchop/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+
+SHA1 (gopchop-1.1.3.tar.gz) = 29f212936c3cdcf7448c927b7baa74cf14721e7d
+RMD160 (gopchop-1.1.3.tar.gz) = 712537517e62923c281377aa6031730c56e1bd9d
+Size (gopchop-1.1.3.tar.gz) = 548101 bytes
+SHA1 (patch-aa) = 698ef42d4fb7a14f5d15c687852b299b34a62f49
+SHA1 (patch-ab) = 9f8ece5e4ad2e981483f995fa2f411f6de9b93e1
+SHA1 (patch-ac) = 30a8c12f72bdf19fee10f0fc8a0b0010ca99ee43
+SHA1 (patch-ad) = 2c4986df88b48d8ec65dba0e8f4ea1eb5c0a03c2
diff --git a/multimedia/gopchop/patches/patch-aa b/multimedia/gopchop/patches/patch-aa
new file mode 100644
index 00000000000..059c42617fd
--- /dev/null
+++ b/multimedia/gopchop/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+
+--- include/GOPchop.h.orig 2003-04-27 06:13:19.000000000 +0200
++++ include/GOPchop.h
+@@ -50,7 +50,7 @@
+ #endif
+
+ /* figure out off_t formatting */
+-#if _FILE_OFFSET_BITS==64
++#if _FILE_OFFSET_BITS==64 || defined(__NetBSD__)
+ # define OFF_T_FORMAT "llu"
+ #else
+ # warning "Not compiling for large file (>2G) support!"
diff --git a/multimedia/gopchop/patches/patch-ab b/multimedia/gopchop/patches/patch-ab
new file mode 100644
index 00000000000..3a0a44138f9
--- /dev/null
+++ b/multimedia/gopchop/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+
+--- src/Main.cpp.orig 2004-03-14 09:41:54.000000000 +0100
++++ src/Main.cpp
+@@ -43,6 +43,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <time.h>
++#include <locale.h>
+
+ #include "Vector.h"
+ #include "List.h"
diff --git a/multimedia/gopchop/patches/patch-ac b/multimedia/gopchop/patches/patch-ac
new file mode 100644
index 00000000000..f9e6e2e042d
--- /dev/null
+++ b/multimedia/gopchop/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+
+--- src/file_buffer.h.orig 2003-08-25 10:17:41.000000000 +0200
++++ src/file_buffer.h
+@@ -70,7 +70,7 @@
+ /* figure out off_t formatting */
+ #undef OFF_T_FORMAT
+ #undef ATOL
+-#if _FILE_OFFSET_BITS==64
++#if _FILE_OFFSET_BITS==64 || defined(__NetBSD__)
+ # define OFF_T_FORMAT "llu"
+ # define ATOL(arg) atoll(arg)
+ #else
diff --git a/multimedia/gopchop/patches/patch-ad b/multimedia/gopchop/patches/patch-ad
new file mode 100644
index 00000000000..a944b2e3375
--- /dev/null
+++ b/multimedia/gopchop/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/03/23 19:16:33 wiz Exp $
+
+--- src/widgets.cpp.orig 2004-02-29 12:51:33.000000000 +0100
++++ src/widgets.cpp
+@@ -121,6 +121,7 @@ void setup_gtk_stuff()
+
+ /* figure out where our pixmaps are */
+ add_pixmap_directory(PACKAGE_DATA_DIR "/pixmaps");
++ add_pixmap_directory(PACKAGE_DATA_DIR "/pixmaps/gopchop");
+ add_pixmap_directory(PACKAGE_SOURCE_DIR "/pixmaps");
+
+ /* create our main window */