commit:     ff3baf0fb34de9ef80a1efed68e4000c8e71c019
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 00:37:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 13 00:41:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3baf0f

sys-apps/kmscon: conditionally build tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/kmscon/kmscon-9.0.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/kmscon/kmscon-9.0.0.ebuild 
b/sys-apps/kmscon/kmscon-9.0.0.ebuild
index 5ae17deb5e65..baaf4d9597ab 100644
--- a/sys-apps/kmscon/kmscon-9.0.0.ebuild
+++ b/sys-apps/kmscon/kmscon-9.0.0.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=7
@@ -13,7 +13,8 @@ HOMEPAGE="https://github.com/Aetf/kmscon";
 
 LICENSE="MIT LGPL-2.1 BSD-2"
 SLOT="0"
-IUSE="debug doc +drm +fbdev +gles2 +pango pixman systemd"
+IUSE="debug doc +drm +fbdev +gles2 +pango pixman systemd test"
+RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
        >=virtual/udev-172
@@ -59,6 +60,7 @@ src_configure() {
                -Drenderer_bbulk=enabled
                $(meson_feature gles2 renderer_gltex)
                $(meson_feature pixman renderer_pixman)
+               $(meson_use test tests)
                -Dsession_dummy=enabled
                -Dsession_terminal=enabled
        )

Reply via email to