diff options
author | markus <markus@FreeBSD.org> | 2006-01-07 04:43:56 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2006-01-07 04:43:56 +0800 |
commit | 8b722e6d5791046af509e45e061a0caccec3c98b (patch) | |
tree | ed890d97aa2bba5773aa226393dd90a13e2e7315 /multimedia/ggrab | |
parent | 8f9e74bf2b81dcddd97934346350699e53a55dfc (diff) | |
download | freebsd-ports-gnome-8b722e6d5791046af509e45e061a0caccec3c98b.tar.gz freebsd-ports-gnome-8b722e6d5791046af509e45e061a0caccec3c98b.tar.zst freebsd-ports-gnome-8b722e6d5791046af509e45e061a0caccec3c98b.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
Diffstat (limited to 'multimedia/ggrab')
-rw-r--r-- | multimedia/ggrab/Makefile | 31 | ||||
-rw-r--r-- | multimedia/ggrab/distinfo | 2 | ||||
-rw-r--r-- | multimedia/ggrab/files/patch-Makefile | 11 | ||||
-rw-r--r-- | multimedia/ggrab/files/patch-pesstream.h | 11 | ||||
-rw-r--r-- | multimedia/ggrab/pkg-descr | 4 |
5 files changed, 59 insertions, 0 deletions
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/ |