commit:     2d6a77b5adaa5160199e3b4de2cf754aa8717c9e
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 29 07:13:45 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 07:13:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6a77b5

net-libs/nghttp2: sync live ebuild

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-libs/nghttp2/nghttp2-9999.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild 
b/net-libs/nghttp2/nghttp2-9999.ebuild
index e999a44f221f..4ff41e17c664 100644
--- a/net-libs/nghttp2/nghttp2-9999.ebuild
+++ b/net-libs/nghttp2/nghttp2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -29,23 +29,25 @@ RDEPEND="
        )
        systemd? ( >=sys-apps/systemd-209 )
        xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
-       test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 multilib_src_configure() {
+       #TODO: enable HTTP3
+       #requires quictls/openssl, libngtcp2, libngtcp2_crypto_quictls, 
libnghttp3
        local mycmakeargs=(
                -DENABLE_EXAMPLES=OFF
                -DENABLE_FAILMALLOC=OFF
+               -DENABLE_HTTP3=OFF
                -DENABLE_WERROR=OFF
                -DENABLE_THREADS=ON
                -DENABLE_DEBUG=$(usex debug)
                -DENABLE_HPACK_TOOLS=$(multilib_native_usex hpack-tools)
                $(cmake_use_find_package hpack-tools Jansson)
                -DWITH_JEMALLOC=$(multilib_native_usex jemalloc)
-               -DENABLE_STATIC_LIB=$(usex static-libs)
+               -DBUILD_STATIC_LIBS=$(usex static-libs)
+               -DBUILD_TESTING=$(usex test)
                $(cmake_use_find_package systemd Systemd)
-               $(cmake_use_find_package test CUnit)
                -DENABLE_APP=$(multilib_native_usex utils)
                -DWITH_LIBXML2=$(multilib_native_usex xml)
        )

Reply via email to