diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-tv/dvbstream |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-tv/dvbstream')
-rw-r--r-- | media-tv/dvbstream/Manifest | 8 | ||||
-rw-r--r-- | media-tv/dvbstream/dvbstream-0.7_pre20080516-r1.ebuild | 65 | ||||
-rw-r--r-- | media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild | 60 | ||||
-rw-r--r-- | media-tv/dvbstream/files/dvbstream-0.7_pre20080302-telnet-port-switch.diff | 26 | ||||
-rw-r--r-- | media-tv/dvbstream/files/dvbstream-0.7_pre20080516-update.diff | 12 | ||||
-rw-r--r-- | media-tv/dvbstream/metadata.xml | 8 |
6 files changed, 179 insertions, 0 deletions
diff --git a/media-tv/dvbstream/Manifest b/media-tv/dvbstream/Manifest new file mode 100644 index 000000000000..88a5c5076de1 --- /dev/null +++ b/media-tv/dvbstream/Manifest @@ -0,0 +1,8 @@ +AUX dvbstream-0.7_pre20080302-telnet-port-switch.diff 976 SHA256 3ffa8bea5fd740f4fb8174cf0991d7874960028c36e0701c39843ba989b5adb6 SHA512 84f4cb764db871e1f3d42fdff7e550be2866caf21b725a065abce500a29f8db52087d02ac2446891c1a14f08521deb175362bdc2ffe00d5cb6bc237b31c02781 WHIRLPOOL ba4f301f3abe7f4f5287a3d5c36b82aa40ca47f06acc834195fc6dfdaca1d47597363cfb7120e40634d5b9ea1a397d26ded704bcf47978a1947e4edcbaefefd3 +AUX dvbstream-0.7_pre20080516-update.diff 334 SHA256 12cdcddab3e0efb83205ad98b8e14817a69310d69bdbae39ed083671eb5452b8 SHA512 c22d5e25dc9cad4fe864864b9f4100d6e335236f865f4c8a15b29ce0dd22f1aef77dd9777aeea0529e0cdf0402cc76e55b6140595a8d62231ffa6145f868be92 WHIRLPOOL 873abd93b15a0e8714009f07087f66fd80959f0a7f1015877c52b612dab76cf3774a1d88db001ce55186071382263d7d90e80c2d578b7c15824f55d43d480735 +DIST dvbstream-snapshot-20080302.tar.bz2 58089 SHA256 2c3eb657b794d9366b7f619ae35687b276bcded8629d2372af7251cd7eab7d24 SHA512 7116310435584b61c51f642d38cfdbbdf706df27448af7824b5a050e374ad72d3d08c2eb03de0d5ed6ec1cb15461e3be90ee8bd3b045b6ba858b5896c5546671 WHIRLPOOL 56c835806ef3b4ab177f96843ba6342519d950d75d906592857e4f3c47499f44f2301f4786282545f5d6e671dc1a616536f104f239059a5ab1e103c8c22ce2ea +EBUILD dvbstream-0.7_pre20080516-r1.ebuild 1514 SHA256 b2fc23a34f4b133ee8f1b27d3d8c28cfd3bce7d91300d24dbe96a1e15b4bedc8 SHA512 fac51cad993fb651bd48eb7409aa16b781282201c92ce76bd72e371d0201ebc4e93441517fa15b83901cc9bcfc8871aa79c06703baa6445d3aae435372e4e6ce WHIRLPOOL 4299da1192d3a12c0142e5c2fb1d20cebf094502ab164b113ba68bcb060aadf755e92c341b65695e1742e1bf75142d09286ba8c75924501fd8463d60e1ee962d +EBUILD dvbstream-0.7_pre20080516.ebuild 1361 SHA256 244bffc3955c43128bbad8e1e721b2a9913d3cab82e29c7be3620836629eca46 SHA512 3cd5f1752917d7d37636f7ff349c999b7158fccb785ae9ef41373a2fcd7e5d0b9bef2d116539ce36eb8ae3e672d1dfd01cc7998f959db7a0206c2c80d358893a WHIRLPOOL a3b2d47ee2b12d65fdc5152ddc95dbce0f07e3b9daa9efdac1cb58f536a44feeb5834444dfcb1ec92a2f4441ebeded872bd09807df64572300befb9133a49d72 +MISC ChangeLog 3844 SHA256 572ff915f4e014cc939f5a50fdc35c8f539aae1ec7fb4acd31ebce0fb6b190bb SHA512 23f9acbd6793e8caf102e557407eddd9715eecd81168fa97cf8cbd71787251943d89d2997f6e3a631e60337ce37436c64d31490f6afd3ee91493174a9eabcdd4 WHIRLPOOL d68da64862b876883a82c37249f65849af7c423b6064405b8eb327a5d864f61aaad36231abd405766d6db5b112e87bfa9936bbfd3c63317ba109142ef371d836 +MISC ChangeLog-2015 2305 SHA256 3afe231004f21cffc3540b1f0ec5336769352b5086675ec4e6c77ae8ea17606b SHA512 40cbb70c142ff36725e59877797d083d6dc303d0fb49131eb5018c8ddf9249cc2030a552afe09429d24be1abcda620ed55fb428f3f79e74cf0db0e98063ca492 WHIRLPOOL b8fa6968d883e5faa608394bf7172678b382970572c78cc3c952d39eb581d62e332f564587127b59950672c6d46c5c4df93e7656a4621ef5fbd8970dac3ceec8 +MISC metadata.xml 245 SHA256 7c656ee83ab551d755760649b09684fb1f62486aba33e9ae18dabf1ed84519c7 SHA512 d07141fde891b0f88b4f91ea7b4e7da644ad57f74ac7a9f3d43af56c387a9d06e4b995e18756222c77f8ca6d8fc6d83081806b77c19ded68dbc6fb6845af18e5 WHIRLPOOL 32be69e261cd695d74f2e272a1a56074d688d127a8c11fafc4c8da423388855c43999e77c467da74d2448795d84d5063f89ab6093635ef6ad945ce09023fb453 diff --git a/media-tv/dvbstream/dvbstream-0.7_pre20080516-r1.ebuild b/media-tv/dvbstream/dvbstream-0.7_pre20080516-r1.ebuild new file mode 100644 index 000000000000..376728afc3e4 --- /dev/null +++ b/media-tv/dvbstream/dvbstream-0.7_pre20080516-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="RTP multicast stream server and other tools for DVB cards" +HOMEPAGE="https://sourceforge.net/projects/dvbtools" +MY_P="${PN}-snapshot-20080302" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/perl" +DEPEND="virtual/linuxtv-dvb-headers" + +S="${WORKDIR}/${PN}" + +PATCHES=( + "${FILESDIR}/${P}-update.diff" + "${FILESDIR}/${PN}-0.7_pre20080302-telnet-port-switch.diff" +) + +src_prepare() { + default + + 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:' \ + -e 's:$(CC):$(CC) $(LDFLAGS):g' \ + || die 'failed to fix flags in the Makefile' + + sed -e 's:\./svdrpsend.pl:dvbstream-send.pl:' \ + -i TELNET/*.sh \ + || die 'failed to rename the svdrpsend.pl command in scripts' + + sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' \ + -e 's:^TS2ES=.*$:TS2ES=ts2es:' \ + -i *.sh \ + || die 'failed to set DUMPRTP and TS2ES in scripts' +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin dvbstream dumprtp rtpfeed ts_filter + newbin TELNET/svdrpsend.pl dvbstream-send.pl + + dodoc README* + newdoc TELNET/README README.telnet + + insinto "/usr/share/doc/${PF}/tune" + doins TELNET/*.sh + + insinto "/usr/share/doc/${PF}/multicast" + doins *.sh +} 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..2c784607dcc7 --- /dev/null +++ b/media-tv/dvbstream/dvbstream-0.7_pre20080516.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +IUSE="" + +DESCRIPTION="simple command line tools for DVB cards. Includes a RTP multicast stream server" +HOMEPAGE="https://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..55c5124b9172 --- /dev/null +++ b/media-tv/dvbstream/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">dvbtools</remote-id> + </upstream> +</pkgmetadata> |