commit:     8c04cda972dcc8e64939138071531608327c135f
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 10 05:43:05 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Dec 10 05:48:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c04cda9

dev-libs/wayland: Conditionally build tests

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/wayland/wayland-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
 }

Reply via email to