>=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>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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() {