commit: a8e7c262bf358ebc5a8b5e1559a8d46f9de8017a Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> AuthorDate: Sat Mar 1 14:55:12 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 1 21:35:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e7c262
net-libs/libvncserver: build tests conditionally Ported from 0.9.14-r2 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/40829 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libvncserver/libvncserver-0.9.15.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-libs/libvncserver/libvncserver-0.9.15.ebuild b/net-libs/libvncserver/libvncserver-0.9.15.ebuild index 10dc35846b2b..dfd47493098c 100644 --- a/net-libs/libvncserver/libvncserver-0.9.15.ebuild +++ b/net-libs/libvncserver/libvncserver-0.9.15.ebuild @@ -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 @@ -64,6 +65,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) )
