Gentoo Archives: gentoo-commits

From: "Jörg Bornkessel" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-mp3ng/
Date: Sun, 12 Jan 2020 18:38:32
Message-Id: 1578854286.9ba3fdf80e4136ed9729c4023df79a06c9a5b279.hd_brummy@gentoo
1 commit: 9ba3fdf80e4136ed9729c4023df79a06c9a5b279
2 Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 18:16:43 2020 +0000
4 Commit: Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 18:38:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba3fdf8
7
8 media-plugins/vdr-mp3ng: missing die's added
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org>
12
13 media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r2.ebuild | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16 diff --git a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r2.ebuild b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r2.ebuild
17 index c64dcd95e6b..e3887df119e 100644
18 --- a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r2.ebuild
19 +++ b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre5-r2.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26 @@ -43,16 +43,16 @@ src_prepare() {
27 eapply "${FILESDIR}/${PN}-0.0.1_pre4-vdr-1.5.1.diff"
28 eapply "${FILESDIR}/${PN}-0.0.1_pre4-glibc-2.10.patch"
29
30 - use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile
31 - use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile
32 + use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile || die
33 + use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile || die
34
35 has_version ">=media-video/vdr-1.3.37" && eapply "${FILESDIR}/${PN}-0.0.1_pre4-1.3.37.diff"
36 has_version ">=media-gfx/imagemagick-6.4" && eapply "${FILESDIR}/imagemagick-6.4.x.diff"
37
38 - sed -i mp3ng.c -e "s:RegisterI18n:// RegisterI18n:"
39 + sed -i mp3ng.c -e "s:RegisterI18n:// RegisterI18n:" || die
40
41 if has_version ">=media-video/vdr-2.1.2"; then
42 - sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" -i decoder.c
43 + sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" -i decoder.c || die
44 fi
45 }