From 07f8a1cfa418c4f787d7fb9f35315afdf5791d8f Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 13 May 2023 01:41:13 +0100 Subject: media-libs/suil: conditionally build tests Signed-off-by: Sam James --- media-libs/suil/suil-0.10.18-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'media-libs') diff --git a/media-libs/suil/suil-0.10.18-r1.ebuild b/media-libs/suil/suil-0.10.18-r1.ebuild index af6be37cfe60..d8fecfd7a4ea 100644 --- a/media-libs/suil/suil-0.10.18-r1.ebuild +++ b/media-libs/suil/suil-0.10.18-r1.ebuild @@ -12,7 +12,8 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz" LICENSE="ISC" SLOT="0" KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86" -IUSE="doc gtk gtk2 qt5 X" +IUSE="doc gtk gtk2 qt5 test X" +RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig @@ -42,8 +43,8 @@ RDEPEND=" ) X? ( x11-libs/libX11 ) " - DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-libs/check )" DOCS=( AUTHORS NEWS README.md ) @@ -60,6 +61,7 @@ src_configure() { $(meson_feature gtk2) $(meson_feature gtk gtk3) $(meson_feature qt5) + $(meson_feature test tests) $(meson_feature X x11) ) -- cgit v1.2.3-65-gdbad