summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-12-14 17:53:34 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-12-14 17:53:34 +0100
commit5bf87b2e25696d2ca45783c028a14a207c1b0112 (patch)
tree91a8b8479ade9618a410068fa671c1083461a06c /media-libs/slv2
parentmedia-sound/helm-0.9.0-r1: fixes with revbump (removed old) (diff)
downloadgentoo-5bf87b2e25696d2ca45783c028a14a207c1b0112.tar.gz
gentoo-5bf87b2e25696d2ca45783c028a14a207c1b0112.tar.bz2
gentoo-5bf87b2e25696d2ca45783c028a14a207c1b0112.zip
media-libs/slv2-0.6.6-r2: fixed configuration against new lv2
>=media-libs/lv2-1.16.0 changed name from lv2core.pc to lv2.pc which breaks the compilation. did not find a way how to check one pkg or another one in the wscript so doing the check and patching in the ebuild Closes: https://bugs.gentoo.org/702912 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/slv2')
-rw-r--r--media-libs/slv2/slv2-0.6.6-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/slv2/slv2-0.6.6-r2.ebuild b/media-libs/slv2/slv2-0.6.6-r2.ebuild
index a2d0bf16a6d1..39c9070abce8 100644
--- a/media-libs/slv2/slv2-0.6.6-r2.ebuild
+++ b/media-libs/slv2/slv2-0.6.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -27,6 +27,8 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}"/ldconfig.patch
epatch "${FILESDIR}"/${P}-raptor2-link.patch
+
+ has_version ">=media-libs/lv2-1.16.0" && (sed -i "s/lv2core/lv2/" wscript || die "Failed to fix lv2")
}
src_configure() {