commit:     360e2d132f374257213991c7c7484b3bf562249f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 20:22:27 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 20:24:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=360e2d13

net-libs/libvncserver: build tests conditionally

69->52 targets.

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

 net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild
index 532c748eb0cb..fb9be0d91c3f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r2.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 @@ LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+IUSE="+24bpp +filetransfer gnutls ipv6 +jpeg lzo +png sasl ssl systemd test 
+threads +zlib"
+RESTRICT="!test? ( test )"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
@@ -66,6 +67,7 @@ src_configure() {
                -DWITH_PNG=$(usex png ON OFF)
                -DWITH_SASL=$(usex sasl ON OFF)
                -DWITH_SYSTEMD=$(usex systemd ON OFF)
+               -DWITH_TESTS=$(usex test ON OFF)
                -DWITH_THREADS=$(usex threads ON OFF)
                -DWITH_ZLIB=$(usex zlib ON OFF)
        )

Reply via email to