summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-27 06:59:08 +0100
committerSam James <sam@gentoo.org>2023-05-27 07:12:13 +0100
commitd8d979e0bda3d2f4be903e20846ceba321e39c72 (patch)
treee42b07f9a2c4e09795cba52935ff57c41086b804
parentdev-libs/tntnet: wire up tests (diff)
downloadgentoo-d8d979e0bda3d2f4be903e20846ceba321e39c72.tar.gz
gentoo-d8d979e0bda3d2f4be903e20846ceba321e39c72.tar.bz2
gentoo-d8d979e0bda3d2f4be903e20846ceba321e39c72.zip
media-sound/jalv: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-sound/jalv/jalv-1.6.8.ebuild6
1 files 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
}