net-vpn/i2pd: wire up tests

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-24 03:49:23 +01:00
parent 10fa6db6a2
commit 144dcffd61
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -12,7 +12,8 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="+upnp"
IUSE="test +upnp"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/boost:=
@ -32,6 +33,7 @@ DOCS=( ../README.md ../contrib/i2pd.conf ../contrib/tunnels.conf )
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DWITH_HARDENING=OFF # worsens or matches the non-hardened profiles
-DWITH_STATIC=OFF
-DWITH_UPNP=$(usex upnp ON OFF)