diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
commit | bed3b604e16fc6075e29f1af8d47507a07035bd3 (patch) | |
tree | 1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /media-tv/dvbstream | |
parent | d6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff) |
gentoo auto-resync : 21:06:2024 - 00:11:18
Diffstat (limited to 'media-tv/dvbstream')
-rw-r--r-- | media-tv/dvbstream/Manifest | 2 | ||||
-rw-r--r-- | media-tv/dvbstream/dvbstream-0.8.2.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/media-tv/dvbstream/Manifest b/media-tv/dvbstream/Manifest index 0f692a98cb48..2be0540f7488 100644 --- a/media-tv/dvbstream/Manifest +++ b/media-tv/dvbstream/Manifest @@ -1,5 +1,7 @@ AUX dvbstream-0.7_pre20080302-telnet-port-switch.diff 976 BLAKE2B 54ab99dee8e90efc1e3bb623102156aa21cca6697d6edc3662d81284430ad0a7e295f53aa855e81776ba50bc8f05c315fbe2c7606977a3c3ae3341dcd063f368 SHA512 84f4cb764db871e1f3d42fdff7e550be2866caf21b725a065abce500a29f8db52087d02ac2446891c1a14f08521deb175362bdc2ffe00d5cb6bc237b31c02781 AUX dvbstream-0.7_pre20080516-update.diff 334 BLAKE2B d729def0db777e853cbdd36bb8034885f84ccb5debc816d9d8d2f902c61044b1aa60c05b50d9c7f509be36e3cd3b3ef15fc980b44734a891873d1e31189d0aab SHA512 c22d5e25dc9cad4fe864864b9f4100d6e335236f865f4c8a15b29ce0dd22f1aef77dd9777aeea0529e0cdf0402cc76e55b6140595a8d62231ffa6145f868be92 +DIST dvbstream-0.8.2.tar.bz2 60542 BLAKE2B c2e57c9e94cf4b359025e1607e827a1e23330d2caa0ce0788b7366501df66781775a6e4cc3ac4ed670f619ce53b60cf970156257944c3baf1f344ee830ece307 SHA512 06d6fc6c62ee898726b240164a8f9cdd7f2a61dd148db052a6f37c3cf174ef9f3f886c1eafcc3e249fdc9fee057790efbc3baccf71dd6cad98b3fef06a2b7c9a DIST dvbstream-snapshot-20080302.tar.bz2 58089 BLAKE2B 9dd2fdd5e1dfa3741554b84cd5361697cef16b0ecba6ee5a8a2890959678dfc1497e54003d9b5ebb9e0092e5f3e71a4b5786a2c2e224d31a9243ecaafeea98e1 SHA512 7116310435584b61c51f642d38cfdbbdf706df27448af7824b5a050e374ad72d3d08c2eb03de0d5ed6ec1cb15461e3be90ee8bd3b045b6ba858b5896c5546671 EBUILD dvbstream-0.7_pre20080516-r1.ebuild 1498 BLAKE2B 7f8ee799766a104bc062bd4093a720c2a3183320ffce3323e43fe86b9ea885e38310bffd267612236ac58a2b3337976a2a3121e9baa3d53359351ab00b90a10a SHA512 baf113abd0de82a2d1d5b3c783bab7194f168154797bbbf6bf801cc619d597813137c327fca1e0f3562be28b30fb4985f4ade25813462521077786dfb648bd1b +EBUILD dvbstream-0.8.2.ebuild 1586 BLAKE2B af3f11bc57b74c79a9545ec39a35237d33f504c058f8def4ed6ec7c2702262ba6af58290e9c327f51e115b8ac3ed0210470b90e91a95ca3dc162528d4d0b52ee SHA512 9fbe6a614c17fe6707972572cb0f3769ae72bf24fda54b8c0fb87c0b5a984a248189dd8d8bd69ee57799f2a7d4b2b1b2903a18ab7f281a620a5392d6abe1c79d MISC metadata.xml 246 BLAKE2B 9785204690c05d78ef635eeb1d4f25663e074130c2bf8afd751f02fd464f8b14347f4ea6982b45bb849b5d220ea94f21a842412216f340c99c8c30be71d80f53 SHA512 29081d9671eafec8bc17c174ae0d096f07cdfeb5b747b1c1eabd63af71388ebea853a5a8299af0f0a6a35c1d523a66a285a962c7b37015dd2cde32ecb72e621a diff --git a/media-tv/dvbstream/dvbstream-0.8.2.ebuild b/media-tv/dvbstream/dvbstream-0.8.2.ebuild new file mode 100644 index 000000000000..d84aea3032e4 --- /dev/null +++ b/media-tv/dvbstream/dvbstream-0.8.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="RTP multicast stream server and other tools for DVB cards" +HOMEPAGE="https://www.orcas.net/dvbstream/" +SRC_URI="http://www.orcas.net/dvbstream/${P}.tar.bz2" +S=${WORKDIR}/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/perl" +BDEPEND="sys-kernel/linux-headers" + +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' + + # bug 919183 + sed -e '/#include "ringbuffy.h"/a #include <string.h>' \ + -i mpegtools/ringbuffy.c || die 'failed to fix ringbuffy.c' + + sed -e "s:-lcurses:$( $(tc-getPKG_CONFIG) --libs ncurses ):" \ + -i Makefile || die 'failed to fix ncurses linking in Makefile' + + sed -e 's:^DUMPRTP=.*$:DUMPRTP=dumprtp:' -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 +} |