diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-12-10 00:43:05 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-12-10 00:48:40 -0500 |
commit | 8c04cda972dcc8e64939138071531608327c135f (patch) | |
tree | 2122d7381948b80a69da454aa7fab82a5c6c8d6a /dev-libs/wayland/wayland-9999.ebuild | |
parent | dev-util/wayland-scanner: Version bump to 1.20.0 (diff) | |
download | gentoo-8c04cda972dcc8e64939138071531608327c135f.tar.gz gentoo-8c04cda972dcc8e64939138071531608327c135f.tar.bz2 gentoo-8c04cda972dcc8e64939138071531608327c135f.zip |
dev-libs/wayland: Conditionally build tests
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/wayland/wayland-9999.ebuild')
-rw-r--r-- | dev-libs/wayland/wayland-9999.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |