public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joerg Bornkessel" <hd_brummy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/noad/
Date: Thu,  5 May 2016 19:24:01 +0000 (UTC)	[thread overview]
Message-ID: <1462476206.91cf3ddad86852356bf48f7bd215d75807a1824d.hd_brummy@gentoo> (raw)

commit:     91cf3ddad86852356bf48f7bd215d75807a1824d
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Thu May  5 19:23:26 2016 +0000
Commit:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Thu May  5 19:23:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91cf3dda

compilefix wrt bug 575494

Package-Manager: portage-2.2.28

 media-video/noad/noad-0.7.3.ebuild                 | 88 ----------------------
 .../{noad-0.8.6.ebuild => noad-0.8.6-r2.ebuild}    | 15 +++-
 2 files changed, 11 insertions(+), 92 deletions(-)

diff --git a/media-video/noad/noad-0.7.3.ebuild b/media-video/noad/noad-0.7.3.ebuild
deleted file mode 100644
index acce5bb..0000000
--- a/media-video/noad/noad-0.7.3.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="Mark commercial Breaks in VDR records"
-HOMEPAGE="http://noad.heliohost.org/"
-SRC_URI="http://noad.heliohost.org/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ffmpeg imagemagick"
-
-DEPEND="media-libs/libmpeg2
-	ffmpeg? ( >=virtual/ffmpeg-0.4.8 )
-	imagemagick? ( >=media-gfx/imagemagick-6.2.4.2-r1 )
-	!media-plugins/vdr-markad"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-
-	epatch "${FILESDIR}"/patches-0.7.x/"${P}"-hangcheck.diff
-
-	# UINT64_C is needed by ffmpeg headers
-	append-flags -D__STDC_CONSTANT_MACROS
-
-	if has_version ">=media-video/vdr-1.7.15"; then
-		sed -e "s:2001:6419:" -i svdrpc.cpp
-	fi
-
-	epatch "${FILESDIR}/patches-0.7.x/${P}_gcc-4.7.diff"
-
-	eautoreconf
-}
-
-src_configure() {
-
-	local=myconf
-	use ffmpeg && myconf="--with-ffmpeg --with-ffmpeginclude=/usr/include"
-
-	econf \
-	${myconf} \
-	$(use_with imagemagick magick) \
-	--with-mpeginclude=/usr/include/mpeg2dec
-#	--with-tools # fails on showindex, marcpics compile
-}
-
-src_install() {
-
-	dobin noad
-#       fix me later!
-#       dobin noad showindex
-#	use imagemagick && dobin markpics
-
-	dodoc README INSTALL
-	# example scripts are installed as dokumentation
-	dodoc allnewnoad allnoad allnoadnice clearlogos noadifnew stat2html
-
-	newconfd "${FILESDIR}"/confd_vdraddon.noad vdraddon.noad
-
-	insinto /usr/share/vdr/record
-	doins "${FILESDIR}"/record-50-noad.sh
-
-	insinto /usr/share/vdr/shutdown
-	doins "${FILESDIR}"/pre-shutdown-15-noad.sh
-
-	insinto /etc/vdr/reccmds
-	doins "${FILESDIR}"/reccmds.noad.conf
-
-	exeinto /usr/share/vdr/bin
-	doexe "${FILESDIR}"/noad-reccmd
-}
-
-pkg_postinst() {
-
-	elog
-	elog "Congratulations, you have just installed noad!,"
-	elog "To integrate noad in VDR you should do this:"
-	elog
-	elog "start and set Parameter in /etc/conf.d/vdraddon.noad"
-	elog
-	elog "Note: You can use here all pararmeters for noad,"
-	elog "please look in the documentation of noad."
-}

diff --git a/media-video/noad/noad-0.8.6.ebuild b/media-video/noad/noad-0.8.6-r2.ebuild
similarity index 82%
rename from media-video/noad/noad-0.8.6.ebuild
rename to media-video/noad/noad-0.8.6-r2.ebuild
index 297a1a3..bb10d50 100644
--- a/media-video/noad/noad-0.8.6.ebuild
+++ b/media-video/noad/noad-0.8.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -25,9 +25,16 @@ DEPEND="${RDEPEND}
 REQUIRED_USE="|| ( ffmpeg libmpeg2 )"
 
 src_prepare() {
-	if has_version '>=media-video/vdr-1.7.15'; then
-		sed -i -e 's:2001:6419:' svdrpc.cpp main.cpp || die
-	fi
+	sed -i -e 's:2001:6419:' svdrpc.cpp main.cpp
+
+	# wrt bug 575494
+	sed -e "s:CODEC_ID_MP3:AV_CODEC_ID_MP3:" -i audiotools.cpp
+	sed -e "sCODEC_ID_PROBE:AV_CODEC_ID_PROBE:" -i ffmpeg_decoder.cpp
+
+	# tested libav-9, ffmepg-2.2.9
+	epatch "${FILESDIR}/patches-0.8.x/${P}-libav9.diff" \
+		"${FILESDIR}/patches-0.8.x/${P}-ffmpeg25.patch"
+
 	eautoreconf
 }
 


             reply	other threads:[~2016-05-05 19:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 19:24 Joerg Bornkessel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-12  9:05 [gentoo-commits] repo/gentoo:master commit in: media-video/noad/ Michał Górny
2018-07-12 11:56 Joerg Bornkessel
2019-04-13 19:10 Agostino Sarubbo
2020-01-23 20:33 Jörg Bornkessel
2020-02-14 21:51 Jörg Bornkessel
2020-04-26 11:00 David Seifert
2021-06-22 18:29 Sam James
2021-06-22 18:29 Sam James
2021-08-08  7:45 Agostino Sarubbo
2021-08-11  6:43 Agostino Sarubbo
2021-09-19 17:10 Andreas K. Hüttel
2023-02-15  6:23 Sam James
2023-02-15  6:26 Sam James
2023-03-02  5:48 Viorel Munteanu
2023-05-18 19:42 Sam James
2023-05-18 19:42 Sam James
2024-11-03 19:11 Eli Schwartz
2024-11-03 19:11 Eli Schwartz
2025-03-11 13:01 Ionen Wolkens
2025-03-12  2:09 Ionen Wolkens

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=1462476206.91cf3ddad86852356bf48f7bd215d75807a1824d.hd_brummy@gentoo \
    --to=hd_brummy@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