aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/recordmydesktop/Makefile34
-rw-r--r--multimedia/recordmydesktop/distinfo3
-rw-r--r--multimedia/recordmydesktop/files/patch-src-rmd_jack.c11
-rw-r--r--multimedia/recordmydesktop/pkg-descr6
5 files changed, 55 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 5767c9c91bef..7313b4dbcf02 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -185,6 +185,7 @@
SUBDIR += quodlibet
SUBDIR += quark
SUBDIR += recmpeg
+ SUBDIR += recordmydesktop
SUBDIR += replex
SUBDIR += rox-videothumbnail
SUBDIR += ruby-flvtool2
diff --git a/multimedia/recordmydesktop/Makefile b/multimedia/recordmydesktop/Makefile
new file mode 100644
index 000000000000..befb27edb028
--- /dev/null
+++ b/multimedia/recordmydesktop/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: recordmydesktop
+# Date created: 18 July 2007
+# Whom: Kevin Lo <kevlo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= recordmydesktop
+DISTVERSION= 0.3.5.1
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= recordmydesktop
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= Record desktop sessions to an Ogg-Theora-Vorbis file
+
+LIB_DEPENDS= theora.2:${PORTSDIR}/multimedia/libtheora \
+ jack.0:${PORTSDIR}/audio/jack
+
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-oss=yes \
+ --enable-jack=yes \
+ --mandir=${MANPREFIX}/man
+
+MAN1= recordmydesktop.1
+
+PLIST_FILES= bin/recordmydesktop
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/multimedia/recordmydesktop/distinfo b/multimedia/recordmydesktop/distinfo
new file mode 100644
index 000000000000..cb7434aab201
--- /dev/null
+++ b/multimedia/recordmydesktop/distinfo
@@ -0,0 +1,3 @@
+MD5 (recordmydesktop-0.3.5.1.tar.gz) = 258258284124f67507ebe84b82dd0ebf
+SHA256 (recordmydesktop-0.3.5.1.tar.gz) = 4fd6454d8c799b88c14688f028693a40e3d856417cf00ad733f660e73a97917d
+SIZE (recordmydesktop-0.3.5.1.tar.gz) = 172012
diff --git a/multimedia/recordmydesktop/files/patch-src-rmd_jack.c b/multimedia/recordmydesktop/files/patch-src-rmd_jack.c
new file mode 100644
index 000000000000..06f4f1f8a1a5
--- /dev/null
+++ b/multimedia/recordmydesktop/files/patch-src-rmd_jack.c
@@ -0,0 +1,11 @@
+--- src/rmd_jack.c.orig 2007-07-18 13:43:52.000000000 +0800
++++ src/rmd_jack.c 2007-07-18 13:44:03.000000000 +0800
+@@ -95,7 +95,7 @@
+ }
+
+ int LoadJackLib(void *jack_lib_handle){
+- char *error;
++ const char *error;
+ jack_lib_handle=dlopen("libjack.so",RTLD_LAZY);
+ if(!jack_lib_handle){
+ fprintf(stderr,"%s\n",dlerror());
diff --git a/multimedia/recordmydesktop/pkg-descr b/multimedia/recordmydesktop/pkg-descr
new file mode 100644
index 000000000000..04722c1d27a8
--- /dev/null
+++ b/multimedia/recordmydesktop/pkg-descr
@@ -0,0 +1,6 @@
+recordMyDesktop produces a file(default out.ogg) that contains a video
+and audio recording of a desktop session. The default behavior of
+recording is to mark areas that have changed(through libxdamage) and
+update the frame.
+
+WWW: http://recordmydesktop.iovar.org/