aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2006-01-06 20:43:56 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2006-01-06 20:43:56 +0000
commitf3bcd419126d69961214864d3167b6510da6d5c5 (patch)
tree05f08373228f0f2def3dd3355fcac005cd4a5359 /multimedia
parente5522ae057f600b1cd81ace3fa408eb7e53e3dd1 (diff)
downloadports-f3bcd419126d69961214864d3167b6510da6d5c5.tar.gz
ports-f3bcd419126d69961214864d3167b6510da6d5c5.zip
Add ggrab 0.22a, which records MPEG2 streams directly from your Dbox2 over
Ethernet and additionally provides a streaming server. WWW: http://www.menzebach.de/ Requested by: bluescreen of bsdforen.de Tested by: bluescreen of bsdforen.de
Notes
Notes: svn path=/head/; revision=152910
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/ggrab/Makefile31
-rw-r--r--multimedia/ggrab/distinfo2
-rw-r--r--multimedia/ggrab/files/patch-Makefile11
-rw-r--r--multimedia/ggrab/files/patch-pesstream.h11
-rw-r--r--multimedia/ggrab/pkg-descr4
6 files changed, 60 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 77a04f77e947..74e113aefb55 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -36,6 +36,7 @@
SUBDIR += gavl
SUBDIR += gcfilms
SUBDIR += gdvrecv
+ SUBDIR += ggrab
SUBDIR += gmencoder
SUBDIR += gnonlin
SUBDIR += goggles
diff --git a/multimedia/ggrab/Makefile b/multimedia/ggrab/Makefile
new file mode 100644
index 000000000000..bf2da2a6215b
--- /dev/null
+++ b/multimedia/ggrab/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: ggrab
+# Date created: Fri Jan 6 20:53:15 CET 2006
+# Whom: Markus Brueffer <markus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ggrab
+PORTVERSION= 0.22a
+CATEGORIES= multimedia
+MASTER_SITES= http://www.menzebach.de/ggrab/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-linux
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= markus@FreeBSD.org
+COMMENT= Records MPEG2 streams directly from your Dbox2 over Ethernet
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
+
+PLIST_FILES= bin/ggrab bin/sserver
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ggrab ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sserver ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/multimedia/ggrab/distinfo b/multimedia/ggrab/distinfo
new file mode 100644
index 000000000000..0d8e29df5baa
--- /dev/null
+++ b/multimedia/ggrab/distinfo
@@ -0,0 +1,2 @@
+MD5 (ggrab-0.22a-linux.tgz) = 83a113d4ac007f535d895854f83ade35
+SIZE (ggrab-0.22a-linux.tgz) = 503296
diff --git a/multimedia/ggrab/files/patch-Makefile b/multimedia/ggrab/files/patch-Makefile
new file mode 100644
index 000000000000..75249ce15bfc
--- /dev/null
+++ b/multimedia/ggrab/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Fri Jan 6 21:38:33 2006
++++ Makefile Fri Jan 6 21:39:06 2006
+@@ -13,7 +13,7 @@
+ #
+ #
+
+-CPPFLAGS=-DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow -O3
++CPPFLAGS=-DREENTRANT -D_LARGEFILE64_SOURCE -Wall -Wshadow
+
+ LDFLAGS= -s -static
+
diff --git a/multimedia/ggrab/files/patch-pesstream.h b/multimedia/ggrab/files/patch-pesstream.h
new file mode 100644
index 000000000000..4edf7ae724ba
--- /dev/null
+++ b/multimedia/ggrab/files/patch-pesstream.h
@@ -0,0 +1,11 @@
+--- pesstream.h.orig Fri Jan 6 20:44:26 2006
++++ pesstream.h Fri Jan 6 20:49:04 2006
+@@ -25,7 +25,7 @@
+ private:
+ static int m_st_nr;
+ int m_nr;
+- enum S_TYPE m_stype;
++ S_TYPE m_stype;
+ class CBuffer * mp_cbuf;
+ class xlist * mp_list;
+
diff --git a/multimedia/ggrab/pkg-descr b/multimedia/ggrab/pkg-descr
new file mode 100644
index 000000000000..21fb6ed6a261
--- /dev/null
+++ b/multimedia/ggrab/pkg-descr
@@ -0,0 +1,4 @@
+GGrab records MPEG2 streams directly from your Dbox2 over ethernet and
+additionally provides a streaming server.
+
+WWW: http://www.menzebach.de/