summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-16 05:10:41 +0100
committerSam James <sam@gentoo.org>2023-05-16 05:10:41 +0100
commit3803c59b86c61639f5bca5f1f337494af905a70c (patch)
tree8e5a9c39947d96d526bb156a87720d61f47b6fa4
parentmedia-libs/speex: fix valgrind build (diff)
downloadgentoo-3803c59b86c61639f5bca5f1f337494af905a70c.tar.gz
gentoo-3803c59b86c61639f5bca5f1f337494af905a70c.tar.bz2
gentoo-3803c59b86c61639f5bca5f1f337494af905a70c.zip
media-libs/lv2: avoid codespell test dep
Closes: https://bugs.gentoo.org/906047 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/lv2/lv2-1.18.10.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/media-libs/lv2/lv2-1.18.10.ebuild b/media-libs/lv2/lv2-1.18.10.ebuild
index 575c13e2e43e..4011c981d64e 100644
--- a/media-libs/lv2/lv2-1.18.10.ebuild
+++ b/media-libs/lv2/lv2-1.18.10.ebuild
@@ -60,6 +60,9 @@ PATCHES=(
src_prepare() {
default
+ # XXX: Drop this > 1.18.10, -Dstrict=false should prevent it now, bug #906047.
+ sed -i -e "/codespell = /s:get_option('tests'):false:" test/meson.build || die
+
# fix doc installation path
sed -iE "s%lv2_docdir = .*%lv2_docdir = '"${EPREFIX}"/usr/share/doc/${PF}'%g" meson.build || die
}
@@ -67,6 +70,7 @@ src_prepare() {
multilib_src_configure() {
local emesonargs=(
-Dlv2dir="${EPREFIX}"/usr/$(get_libdir)/lv2
+ -Dstrict=false
$(meson_native_use_feature doc docs)
$(meson_feature plugins)
$(meson_feature test tests)