commit:     6ed374b48d32136faa871ab1bcecea9a62df3f4d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  6 14:54:06 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec  6 14:59:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed374b4

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 <AT> gentoo.org>

 media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild | 7 +++++--
 1 file 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

Reply via email to