1 |
commit: 6ed374b48d32136faa871ab1bcecea9a62df3f4d |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 6 14:54:06 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 14:59:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed374b4 |
7 |
|
8 |
media-libs/lsp-plugins: tests require USE=jack |
9 |
|
10 |
Interestingly enough, only JACK is required here - src_test() runs fine |
11 |
with USE="-ladspa -lv2" (and the relevant dependencies removed, to be |
12 |
sure). |
13 |
|
14 |
Path-of-least-resistance fix following having observed this problem |
15 |
while debugging an unrelated issue, perhaps with a bit of effort one |
16 |
could either isolate JACK dependency to only affect the test phase or |
17 |
make it optional. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/768798 |
20 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
21 |
|
22 |
media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild | 7 +++++-- |
23 |
1 file changed, 5 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
26 |
index 38269a16bc11..739dcd9932ed 100644 |
27 |
--- a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
28 |
+++ b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild |
29 |
@@ -20,8 +20,11 @@ fi |
30 |
|
31 |
LICENSE="LGPL-3" |
32 |
SLOT="0" |
33 |
-IUSE="doc jack ladspa +lv2" |
34 |
-REQUIRED_USE="|| ( jack ladspa lv2 )" |
35 |
+IUSE="doc jack ladspa +lv2 test" |
36 |
+REQUIRED_USE="|| ( jack ladspa lv2 ) |
37 |
+ test? ( jack )" |
38 |
+ |
39 |
+RESTRICT="!test? ( test )" |
40 |
|
41 |
DEPEND=" |
42 |
dev-libs/expat |