commit:     d8d979e0bda3d2f4be903e20846ceba321e39c72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 05:59:08 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 27 06:12:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d979e0

media-sound/jalv: conditionally build tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/jalv/jalv-1.6.8.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-sound/jalv/jalv-1.6.8.ebuild 
b/media-sound/jalv/jalv-1.6.8.ebuild
index e6469c2fab7e..da48f7dfbce1 100644
--- a/media-sound/jalv/jalv-1.6.8.ebuild
+++ b/media-sound/jalv/jalv-1.6.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,8 +12,9 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz";
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="amd64"
-IUSE="gtk +jack portaudio qt5"
+IUSE="gtk +jack portaudio qt5 test"
 REQUIRED_USE="^^ ( jack portaudio )"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-libs/serd
@@ -49,6 +50,7 @@ src_configure() {
                $(meson_feature jack)
                $(meson_feature portaudio)
                $(meson_feature qt5)
+               $(meson_feature test tests)
        )
        meson_src_configure
 }

Reply via email to