From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2F5215817D for ; Thu, 20 Jun 2024 20:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C163E2A53; Thu, 20 Jun 2024 20:08:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 092D4E2A53 for ; Thu, 20 Jun 2024 20:08:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1387333BED4 for ; Thu, 20 Jun 2024 20:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 514501D0E for ; Thu, 20 Jun 2024 20:08:48 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1718914112.f96f969f7691f00bc21fc3890ea18d0657254721.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/dvbstream/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/dvbstream/Manifest media-tv/dvbstream/dvbstream-0.8.2.ebuild X-VCS-Directories: media-tv/dvbstream/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f96f969f7691f00bc21fc3890ea18d0657254721 X-VCS-Branch: master Date: Thu, 20 Jun 2024 20:08:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99922eb2-5699-49d0-886c-e4f3366541a7 X-Archives-Hash: b2dea9257e1e35e2b165a97897d8d886 commit: f96f969f7691f00bc21fc3890ea18d0657254721 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jun 20 20:07:44 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jun 20 20:08:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f96f969f media-tv/dvbstream: add 0.8.2 Closes: https://bugs.gentoo.org/879033 Closes: https://bugs.gentoo.org/919183 Signed-off-by: Arthur Zamarin gentoo.org> media-tv/dvbstream/Manifest | 1 + media-tv/dvbstream/dvbstream-0.8.2.ebuild | 61 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/media-tv/dvbstream/Manifest b/media-tv/dvbstream/Manifest index 9390f2d260c4..01376f0a2645 100644 --- a/media-tv/dvbstream/Manifest +++ b/media-tv/dvbstream/Manifest @@ -1 +1,2 @@ +DIST dvbstream-0.8.2.tar.bz2 60542 BLAKE2B c2e57c9e94cf4b359025e1607e827a1e23330d2caa0ce0788b7366501df66781775a6e4cc3ac4ed670f619ce53b60cf970156257944c3baf1f344ee830ece307 SHA512 06d6fc6c62ee898726b240164a8f9cdd7f2a61dd148db052a6f37c3cf174ef9f3f886c1eafcc3e249fdc9fee057790efbc3baccf71dd6cad98b3fef06a2b7c9a DIST dvbstream-snapshot-20080302.tar.bz2 58089 BLAKE2B 9dd2fdd5e1dfa3741554b84cd5361697cef16b0ecba6ee5a8a2890959678dfc1497e54003d9b5ebb9e0092e5f3e71a4b5786a2c2e224d31a9243ecaafeea98e1 SHA512 7116310435584b61c51f642d38cfdbbdf706df27448af7824b5a050e374ad72d3d08c2eb03de0d5ed6ec1cb15461e3be90ee8bd3b045b6ba858b5896c5546671 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 ' \ + -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 +}