summaryrefslogtreecommitdiff
path: root/x11/xvidcap
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-05-29 00:16:41 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-05-29 00:16:41 +0000
commitee881e7236b3f774b92c6a05216a6a18f3e78c76 (patch)
treedf50624414180721b68fffd4129725732d30d48f /x11/xvidcap
parentf1e97a48c374c989b2ca66e44ae302fedfa88f07 (diff)
downloadpkgsrc-ee881e7236b3f774b92c6a05216a6a18f3e78c76.tar.gz
Initial import of xvidcap-1.1.3 from pkgsrc-wip, packaged by Jeremy
C. Reed. xvidcap is a tool (like Lotus ScreenCam and Camtasia) that captures movement on a selected area of an X11 screen to files. Frame output formats include: XWD, PPM, PNG, MNG, JPEG and MPEG.
Diffstat (limited to 'x11/xvidcap')
-rw-r--r--x11/xvidcap/DESCR3
-rw-r--r--x11/xvidcap/Makefile34
-rw-r--r--x11/xvidcap/PLIST13
-rw-r--r--x11/xvidcap/distinfo8
-rw-r--r--x11/xvidcap/patches/patch-aa12
-rw-r--r--x11/xvidcap/patches/patch-ab13
-rw-r--r--x11/xvidcap/patches/patch-ac18
-rw-r--r--x11/xvidcap/patches/patch-ad13
8 files changed, 114 insertions, 0 deletions
diff --git a/x11/xvidcap/DESCR b/x11/xvidcap/DESCR
new file mode 100644
index 00000000000..5f1e3dd46e5
--- /dev/null
+++ b/x11/xvidcap/DESCR
@@ -0,0 +1,3 @@
+xvidcap is a tool (like Lotus ScreenCam and Camtasia) that captures
+movement on a selected area of an X11 screen to files. Frame output
+formats include: XWD, PPM, PNG, MNG, JPEG and MPEG.
diff --git a/x11/xvidcap/Makefile b/x11/xvidcap/Makefile
new file mode 100644
index 00000000000..374635e3fb0
--- /dev/null
+++ b/x11/xvidcap/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+#
+
+DISTNAME= xvidcap-1.1.3
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xvidcap/}
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://xvidcap.sourceforge.net/
+COMMENT= Capture X display to individual frames or MPEG video
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_X11= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= XVIDCAP_GTK2_GUI
+
+.if defined(XVIDCAP_GTK2_GUI) && !empty(XVIDCAP_GTK2_GUI:M[Yy][Ee][Ss])
+PLIST_SUBST+= GTK2_GUI=
+CONFIGURE_ARGS+= --with-gtk2
+. include "../../x11/gtk2/buildlink3.mk"
+.else
+PLIST_SUBST+= GTK2_GUI='@comment '
+.endif
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xvidcap/PLIST b/x11/xvidcap/PLIST
new file mode 100644
index 00000000000..70c9144cc2c
--- /dev/null
+++ b/x11/xvidcap/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+${GTK2_GUI}bin/gvidcap
+bin/xvidcap
+man/man1/gvidcap.1
+man/man1/xvidcap.1
+share/doc/xvidcap_${PKGVERSION}/AUTHORS
+share/doc/xvidcap_${PKGVERSION}/ChangeLog
+share/doc/xvidcap_${PKGVERSION}/INSTALL
+share/doc/xvidcap_${PKGVERSION}/NEWS
+share/doc/xvidcap_${PKGVERSION}/README
+share/doc/xvidcap_${PKGVERSION}/TODO
+share/doc/xvidcap_${PKGVERSION}/XVidcap.ad
+@dirrm share/doc/xvidcap_${PKGVERSION}
diff --git a/x11/xvidcap/distinfo b/x11/xvidcap/distinfo
new file mode 100644
index 00000000000..3c5a53d0215
--- /dev/null
+++ b/x11/xvidcap/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+
+SHA1 (xvidcap-1.1.3.tar.gz) = e6d86a4184c8cc3e74738fb6e20d49c0d1640025
+Size (xvidcap-1.1.3.tar.gz) = 1627036 bytes
+SHA1 (patch-aa) = 9196f59ec849a361821fd5cae800ec6aef2a1dfc
+SHA1 (patch-ab) = 3e3835f57e204aa24a30b5940afc221d70cfc9f5
+SHA1 (patch-ac) = 0de9d748e3808a210ec68d140eb1dfd5e18d9e4f
+SHA1 (patch-ad) = ac40095849f721cfd8aa1e0143dff3ac9b705be7
diff --git a/x11/xvidcap/patches/patch-aa b/x11/xvidcap/patches/patch-aa
new file mode 100644
index 00000000000..342e69198bd
--- /dev/null
+++ b/x11/xvidcap/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+
+--- src/xt_control.c.orig Sat Feb 14 12:48:14 2004
++++ src/xt_control.c
+@@ -29,6 +29,7 @@
+ #include <stdlib.h>
+ #include <limits.h> /* PATH_MAX */
+ #include <ctype.h> /* isdigit() */
++#include <sys/time.h>
+ #include <X11/Intrinsic.h>
+ #include <X11/StringDefs.h>
+ #include <X11/Shell.h>
diff --git a/x11/xvidcap/patches/patch-ab b/x11/xvidcap/patches/patch-ab
new file mode 100644
index 00000000000..5d2fb14df69
--- /dev/null
+++ b/x11/xvidcap/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+
+--- src/capture.c.orig 2004-05-29 01:52:02.000000000 +0200
++++ src/capture.c 2004-05-29 01:56:27.000000000 +0200
+@@ -643,7 +643,7 @@
+ (*job->close) (fp);
+ else if (job->flags & FLG_SYNC) {
+ if (job->open == (void *(*)(char *, char*))fopen)
+- fdatasync(fileno(fp));
++ fdatasync(fileno((FILE *)fp));
+ }
+
+ /* substract the time we needed for creating and saving
diff --git a/x11/xvidcap/patches/patch-ac b/x11/xvidcap/patches/patch-ac
new file mode 100644
index 00000000000..bed795427cd
--- /dev/null
+++ b/x11/xvidcap/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+
+--- ffmpeg/Makefile.orig 2004-02-06 23:42:45.000000000 -0800
++++ ffmpeg/Makefile
+@@ -136,10 +136,10 @@ installlib:
+ dep: depend
+
+ depend: .depend
+- make -C libavcodec depend
+- make -C libavformat depend
++ $(MAKE) -C libavcodec depend
++ $(MAKE) -C libavformat depend
+ ifeq ($(BUILD_VHOOK),yes)
+- make -C vhook depend
++ $(MAKE) -C vhook depend
+ endif
+
+ .depend: $(SRCS)
diff --git a/x11/xvidcap/patches/patch-ad b/x11/xvidcap/patches/patch-ad
new file mode 100644
index 00000000000..f36455b4ce5
--- /dev/null
+++ b/x11/xvidcap/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/05/29 00:16:41 xtraeme Exp $
+
+--- ffmpeg/configure.orig 2004-02-06 23:42:46.000000000 -0800
++++ ffmpeg/configure
+@@ -25,7 +25,7 @@ cross_prefix=""
+ cc="gcc"
+ ar="ar"
+ ranlib="ranlib"
+-make="make"
++make=${MAKE}
+ strip="strip"
+ cpu=`uname -m`
+ tune="generic"