From 8c04cda972dcc8e64939138071531608327c135f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 10 Dec 2021 00:43:05 -0500 Subject: dev-libs/wayland: Conditionally build tests Signed-off-by: Matt Turner --- dev-libs/wayland/wayland-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev-libs/wayland') diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild index 058e90a73824..4a2a7474eea2 100644 --- a/dev-libs/wayland/wayland-9999.ebuild +++ b/dev-libs/wayland/wayland-9999.ebuild @@ -17,7 +17,8 @@ HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/waylan LICENSE="MIT" SLOT="0" -IUSE="doc" +IUSE="doc test" +RESTRICT="!test? ( test )" BDEPEND=" ~dev-util/wayland-scanner-${PV}[$MULTILIB_USEDEP] @@ -41,6 +42,7 @@ multilib_src_configure() { $(meson_native_true dtd_validation) -Dlibraries=true -Dscanner=false + $(meson_use test tests) ) meson_src_configure } -- cgit v1.2.3-65-gdbad