Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/slv2/
Date: Sat, 14 Dec 2019 16:54:02
Message-Id: 1576342414.5bf87b2e25696d2ca45783c028a14a207c1b0112.fordfrog@gentoo
1 commit: 5bf87b2e25696d2ca45783c028a14a207c1b0112
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 14 16:53:34 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 14 16:53:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf87b2e
7
8 media-libs/slv2-0.6.6-r2: fixed configuration against new lv2
9
10 >=media-libs/lv2-1.16.0 changed name from lv2core.pc to lv2.pc which
11 breaks the compilation. did not find a way how to check one pkg or
12 another one in the wscript so doing the check and patching in the ebuild
13
14 Closes: https://bugs.gentoo.org/702912
15 Package-Manager: Portage-2.3.81, Repoman-2.3.20
16 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
17
18 media-libs/slv2/slv2-0.6.6-r2.ebuild | 4 +++-
19 1 file changed, 3 insertions(+), 1 deletion(-)
20
21 diff --git a/media-libs/slv2/slv2-0.6.6-r2.ebuild b/media-libs/slv2/slv2-0.6.6-r2.ebuild
22 index a2d0bf16a6d..39c9070abce 100644
23 --- a/media-libs/slv2/slv2-0.6.6-r2.ebuild
24 +++ b/media-libs/slv2/slv2-0.6.6-r2.ebuild
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2018 Gentoo Foundation
27 +# Copyright 1999-2019 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 EAPI=5
31 @@ -27,6 +27,8 @@ DEPEND="${RDEPEND}
32 src_prepare() {
33 epatch "${FILESDIR}"/ldconfig.patch
34 epatch "${FILESDIR}"/${P}-raptor2-link.patch
35 +
36 + has_version ">=media-libs/lv2-1.16.0" && (sed -i "s/lv2core/lv2/" wscript || die "Failed to fix lv2")
37 }
38
39 src_configure() {