summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-tv/dvbstream
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-tv/dvbstream')
-rw-r--r--media-tv/dvbstream/Manifest1
-rw-r--r--media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild61
-rw-r--r--media-tv/dvbstream/files/dvbstream-0.7_pre20080302-telnet-port-switch.diff26
-rw-r--r--media-tv/dvbstream/files/dvbstream-0.7_pre20080516-update.diff12
-rw-r--r--media-tv/dvbstream/metadata.xml6
5 files changed, 106 insertions, 0 deletions
diff --git a/media-tv/dvbstream/Manifest b/media-tv/dvbstream/Manifest
new file mode 100644
index 000000000000..e1a317cc301e
--- /dev/null
+++ b/media-tv/dvbstream/Manifest
@@ -0,0 +1 @@
+DIST dvbstream-snapshot-20080302.tar.bz2 58089 SHA256 2c3eb657b794d9366b7f619ae35687b276bcded8629d2372af7251cd7eab7d24
diff --git a/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild b/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild
new file mode 100644
index 000000000000..9f3621216e30
--- /dev/null
+++ b/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="simple command line tools for DVB cards. Includes a RTP multicast stream server"
+HOMEPAGE="http://sourceforge.net/projects/dvbtools"
+
+#SRC_URI="mirror://sourceforge/dvbtools/${P}.tar.gz"
+#MY_P=${PN}-snapshot-${PV##*_pre}
+MY_P=${PN}-snapshot-20080302
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="dev-lang/perl"
+DEPEND="virtual/linuxtv-dvb-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-update.diff"
+ epatch "${FILESDIR}/${PN}-0.7_pre20080302-telnet-port-switch.diff"
+
+ cd "${S}"
+ sed -i Makefile \
+ -e 's:$(CFLAGS):$(CFLAGS) $(CPPFLAGS):' \
+ -e '/CFLAGS.*=.*-g -Wall -O2/s:-g -Wall -O2::' \
+ -e '/CFLAGS.*=/s:CFLAGS:CPPFLAGS:' \
+ -e 's:-I \.\./DVB/include:-I /usr/include:'
+
+ cp TELNET/svdrpsend.pl dvbstream-send.pl
+ cp TELNET/README README.telnet
+
+ sed -e 's:\./svdrpsend.pl:dvbstream-send.pl:' \
+ -i TELNET/*.sh
+
+ sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' \
+ -e 's:^TS2ES=.*$:TS2ES=ts2es:' \
+ -i *.sh
+}
+
+src_install() {
+ dobin dvbstream dumprtp rtpfeed ts_filter dvbstream-send.pl
+
+ dodoc README*
+
+ insinto /usr/share/doc/${PF}/tune
+ doins TELNET/*.sh
+
+ insinto /usr/share/doc/${PF}/multicast
+ doins *.sh
+}
diff --git a/media-tv/dvbstream/files/dvbstream-0.7_pre20080302-telnet-port-switch.diff b/media-tv/dvbstream/files/dvbstream-0.7_pre20080302-telnet-port-switch.diff
new file mode 100644
index 000000000000..6964b4f3e779
--- /dev/null
+++ b/media-tv/dvbstream/files/dvbstream-0.7_pre20080302-telnet-port-switch.diff
@@ -0,0 +1,26 @@
+diff -ru dvbstream-orig/dvbstream.c dvbstream/dvbstream.c
+--- dvbstream-orig/dvbstream.c 2008-05-16 18:23:03.023540289 +0200
++++ dvbstream/dvbstream.c 2008-05-16 18:25:32.293536581 +0200
+@@ -929,6 +929,7 @@
+
+ if (argc==1) {
+ fprintf(stderr,"Usage: dvbtune [OPTIONS] pid1 pid2 ... pid8\n\n");
++ fprintf(stderr,"-tp TELNET port\n");
+ fprintf(stderr,"-i IP multicast address\n");
+ fprintf(stderr,"-r IP multicast port\n");
+ fprintf(stderr,"-net ip:prt IP address:port combination to be followed by pids list. Can be repeated to generate multiple RTP streams\n");
+@@ -1079,6 +1080,12 @@
+ LOF2=atoi(argv[i]);
+ LOF2*=1000UL;
+ }
++#ifdef ENABLE_TELNET
++ else if (strcmp(argv[i],"-tp")==0) {
++ i++;
++ port=atoi(argv[i]);
++ }
++#endif
+ else if (strcmp(argv[i],"-s")==0) {
+ i++;
+ srate=atoi(argv[i])*1000UL;
+Nur in dvbstream: dvbstream.c.orig.
+Nur in dvbstream: dvbstream.c.rej.
diff --git a/media-tv/dvbstream/files/dvbstream-0.7_pre20080516-update.diff b/media-tv/dvbstream/files/dvbstream-0.7_pre20080516-update.diff
new file mode 100644
index 000000000000..ed670e465376
--- /dev/null
+++ b/media-tv/dvbstream/files/dvbstream-0.7_pre20080516-update.diff
@@ -0,0 +1,12 @@
+diff -ru dvbstream-20080302/dvbstream.c dvbstream/dvbstream.c
+--- dvbstream-20080302/dvbstream.c 2007-09-14 23:02:39.000000000 +0200
++++ dvbstream/dvbstream.c 2008-03-24 19:28:16.000000000 +0100
+@@ -817,6 +817,8 @@
+ return 0;
+ else if(af == 3)
+ l += buf[4] + 1;
++ if(l >= TS_SIZE - 4)
++ return 0;
+
+ if(pid == 0)
+ {
diff --git a/media-tv/dvbstream/metadata.xml b/media-tv/dvbstream/metadata.xml
new file mode 100644
index 000000000000..740fefd7217e
--- /dev/null
+++ b/media-tv/dvbstream/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+</pkgmetadata>
+