commit:     ff3ac45b20dd3985eef1d2033a6165807157467c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  1 22:56:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 22:56:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3ac45b

x11-wm/pekwm: wire up tests

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

 x11-wm/pekwm/pekwm-0.3.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11-wm/pekwm/pekwm-0.3.0.ebuild b/x11-wm/pekwm/pekwm-0.3.0.ebuild
index d6f39d90586f..80372da9c359 100644
--- a/x11-wm/pekwm/pekwm-0.3.0.ebuild
+++ b/x11-wm/pekwm/pekwm-0.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,8 @@ SRC_URI="
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~mips ppc x86"
-IUSE="debug +jpeg pango +png truetype xinerama +xpm"
+IUSE="debug +jpeg pango +png test truetype xinerama +xpm"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        x11-libs/libX11
@@ -41,6 +42,7 @@ src_configure() {
                -DENABLE_XFT=$(usex truetype)
                -DENABLE_IMAGE_XPM=$(usex xpm)
                -DENABLE_PANGO=$(usex pango)
+               -DTESTS=$(usex test)
        )
 
        CMAKE_BUILD_TYPE=$(usex debug Debug)

Reply via email to