summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-03-02 14:23:18 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-03-02 14:23:18 +0000
commita40530ae33b16cb7be1a2808b42d3885fca4765d (patch)
tree8c989856b3d8b48025bf175aee7365a06a74ab66 /media-tv/dvbstream
parentVersion bump. (diff)
downloadgentoo-2-a40530ae33b16cb7be1a2808b42d3885fca4765d.tar.gz
gentoo-2-a40530ae33b16cb7be1a2808b42d3885fca4765d.tar.bz2
gentoo-2-a40530ae33b16cb7be1a2808b42d3885fca4765d.zip
Added snapshot ebuild as it seems upstream will not do a release in long time.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-tv/dvbstream')
-rw-r--r--media-tv/dvbstream/ChangeLog10
-rw-r--r--media-tv/dvbstream/dvbstream-0.7_pre20080302.ebuild57
2 files changed, 65 insertions, 2 deletions
diff --git a/media-tv/dvbstream/ChangeLog b/media-tv/dvbstream/ChangeLog
index 34a98245d1f6..e078ed0481d5 100644
--- a/media-tv/dvbstream/ChangeLog
+++ b/media-tv/dvbstream/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-tv/dvbstream
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstream/ChangeLog,v 1.6 2007/11/27 10:16:17 zzam Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstream/ChangeLog,v 1.7 2008/03/02 14:23:18 zzam Exp $
+
+*dvbstream-0.7_pre20080302 (02 Mar 2008)
+
+ 02 Mar 2008; Matthias Schwarzott <zzam@gentoo.org>
+ +dvbstream-0.7_pre20080302.ebuild:
+ Added snapshot ebuild as it seems upstream will not do a release in long time.
27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> dvbstream-0.5.ebuild:
Fixed quoting.
diff --git a/media-tv/dvbstream/dvbstream-0.7_pre20080302.ebuild b/media-tv/dvbstream/dvbstream-0.7_pre20080302.ebuild
new file mode 100644
index 000000000000..2b27072c3c40
--- /dev/null
+++ b/media-tv/dvbstream/dvbstream-0.7_pre20080302.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/dvbstream/dvbstream-0.7_pre20080302.ebuild,v 1.1 2008/03/02 14:23:18 zzam Exp $
+
+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}
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
+
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="dev-lang/perl"
+DEPEND="media-tv/linuxtv-dvb-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ #epatch ${FILESDIR}/${P}-gentoo.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
+}