summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-12-06 14:54:06 +0000
committerMarek Szuba <marecki@gentoo.org>2021-12-06 14:59:39 +0000
commit6ed374b48d32136faa871ab1bcecea9a62df3f4d (patch)
tree710304b3a760987edcf7e3531fffc8f741a3036b /media-libs/lsp-plugins
parentmedia-libs/lsp-plugins: fix arm-on-arm64 build failure (diff)
downloadgentoo-6ed374b48d32136faa871ab1bcecea9a62df3f4d.tar.gz
gentoo-6ed374b48d32136faa871ab1bcecea9a62df3f4d.tar.bz2
gentoo-6ed374b48d32136faa871ab1bcecea9a62df3f4d.zip
media-libs/lsp-plugins: tests require USE=jack
Interestingly enough, only JACK is required here - src_test() runs fine with USE="-ladspa -lv2" (and the relevant dependencies removed, to be sure). Path-of-least-resistance fix following having observed this problem while debugging an unrelated issue, perhaps with a bit of effort one could either isolate JACK dependency to only affect the test phase or make it optional. Closes: https://bugs.gentoo.org/768798 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-libs/lsp-plugins')
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild
index 38269a16bc11..739dcd9932ed 100644
--- a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild
+++ b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild
@@ -20,8 +20,11 @@ fi
LICENSE="LGPL-3"
SLOT="0"
-IUSE="doc jack ladspa +lv2"
-REQUIRED_USE="|| ( jack ladspa lv2 )"
+IUSE="doc jack ladspa +lv2 test"
+REQUIRED_USE="|| ( jack ladspa lv2 )
+ test? ( jack )"
+
+RESTRICT="!test? ( test )"
DEPEND="
dev-libs/expat