public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/dvbstream/
Date: Thu, 20 Jun 2024 20:08:48 +0000 (UTC)	[thread overview]
Message-ID: <1718914112.f96f969f7691f00bc21fc3890ea18d0657254721.arthurzam@gentoo> (raw)

commit:     f96f969f7691f00bc21fc3890ea18d0657254721
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 20 20:07:44 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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 <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
+}


             reply	other threads:[~2024-06-20 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 20:08 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-05 13:58 [gentoo-commits] repo/gentoo:master commit in: media-tv/dvbstream/ Arthur Zamarin
2024-07-05 13:57 Arthur Zamarin
2024-07-05 13:57 Arthur Zamarin
2018-02-22  9:14 Michael Palimaka
2018-02-14 13:50 Thomas Deutschmann
2016-08-12 19:33 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718914112.f96f969f7691f00bc21fc3890ea18d0657254721.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox