summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-13 01:37:23 +0100
committerSam James <sam@gentoo.org>2023-05-13 01:41:29 +0100
commitff3baf0fb34de9ef80a1efed68e4000c8e71c019 (patch)
treea0a60fa5c3aa33334ed9bfc0badcf7c3510b8c25 /sys-apps
parentnet-libs/libnice: conditionally build tests (diff)
downloadgentoo-ff3baf0fb34de9ef80a1efed68e4000c8e71c019.tar.gz
gentoo-ff3baf0fb34de9ef80a1efed68e4000c8e71c019.tar.bz2
gentoo-ff3baf0fb34de9ef80a1efed68e4000c8e71c019.zip
sys-apps/kmscon: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kmscon/kmscon-9.0.0.ebuild6
1 files 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
)