diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 3e5cac25a5a51..572f72f5cfb51 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -3,5 +3,6 @@ DIST nghttp3-1.11.0.tar.xz 405816 BLAKE2B d686677c3267ef6c5dd013a957f3c57f2404d5 DIST nghttp3-1.12.0.tar.xz 407704 BLAKE2B 5631a281f240d57757be8ce2a953fdf9d7dd86aab3ce3b6f7114204f97083f19fe979e9665a7c9b5bb0711d8fb2b20d641de3884fa81768fc25d38f0bcc3d51a SHA512 a481d740894af562252b4ebbf5a44c66e1503bb31426fc20ccf5a3da0fee83813fcc8f223f7c585504a47fd1afd173318eb20c201a63cfaff9ed9a33c8003ec4 DIST nghttp3-1.13.1.tar.xz 406776 BLAKE2B d2a1992642c0611dc525c130df655c1a278a548e56312954bb33bed34496bd08d97cda6cae6df13478d145ca73517d35be495f316c2770bfccee8ecda058c914 SHA512 23c0c1913eab27ac53436f170b28b13b225586b69c1044d4595ef3e30372c1008f8cbdba20a86d26a9df216ec8e3c17e91e98d2cb80b9e62a0ddbe6d185cd114 DIST nghttp3-1.14.0.tar.xz 410460 BLAKE2B a2fbd584a6ddcc65947bbf1cba3ae41e88ce8805f49e0891efb002f8101845c3080be554db3c21fd0e5b55412c9252532ca31b74097ffbd6d88ab70ac7d01f29 SHA512 e00074c552caa3ffcabdf665a86c2a765f137fe56c9842534051ec9e51dc165a3201cf0ca74aeb76a13fcc4a445efae0e5ab6be849f10a71b1f0ad6d9bec69cf +DIST nghttp3-1.15.0.tar.xz 408660 BLAKE2B ce484f8ae3d0b1122d73a4bbdfe6e4ad58a6a268e181ac576a16a5e844950139827f015d36f28ea14d53a06571394d42e946dc09afb2babd2c27ae8af252b6c9 SHA512 9536b2596d226e727f828c9b8e0f638ad99cf75d6358b18c97c62f42635f283816cbee9205f797f2f8f3536b97ba3004b2f38a76ed93a66d3458f5bd9a0c4b68 DIST nghttp3-1.8.0.tar.xz 398640 BLAKE2B 14866d9efdfc847367dde782770f43374209bd4229fa621c3142bb6c8ac3b3db6feb34e7732365edaded49b6d27ca9c02b376d11a082c6f7ad2b3e8b4d799e01 SHA512 01b7a6e313e13ebfecd63afdfaed8c8518b49cff64d08359ec7fb7f05f2dc615c4d58a8338d789e54c2d85cb5fa8e2151c91df40ec39826283f7328fc86fc18b DIST nghttp3-1.9.0.tar.xz 400208 BLAKE2B d7d0807c3b445db9a8304273c99b4febdc962c505ce67af5ab5ccbd1434316291f5b41b3834c6462a950f94f6d434d3655b77fe1df78d2f5c758a8c1a2dc0639 SHA512 acef4156878047fcc44669888911cb2bcf255c11106da8342349406b906d46f641b59e295a1b650815d896465bebcbc6652581d906ce348ef8d07442b307f862 diff --git a/net-libs/nghttp3/nghttp3-1.15.0.ebuild b/net-libs/nghttp3/nghttp3-1.15.0.ebuild new file mode 100644 index 0000000000000..bab5180571daf --- /dev/null +++ b/net-libs/nghttp3/nghttp3-1.15.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Built with autotools rather than cmake to avoid circular dep (bug #951524) + +inherit multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git" + inherit autotools git-r3 +else + SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz" + inherit libtool + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="HTTP/3 library written in C" +HOMEPAGE="https://github.com/ngtcp2/nghttp3" + +LICENSE="MIT" +SLOT="0/0" + +src_prepare() { + default + if [[ ${PV} == 9999 ]]; then + eautoreconf + else + elibtoolize + fi +} + +multilib_src_configure() { + local myeconfargs=( + --disable-werror + --disable-debug + --enable-lib-only + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}"/usr -type f -name '*.la' -delete || die +}