commit:     44db849bb2d738e11046cd3cd047a19e8c18c338
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 24 18:44:02 2025 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Nov 24 18:45:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44db849b

net-libs/nghttp3: add 1.13.1

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-libs/nghttp3/Manifest              |  1 +
 net-libs/nghttp3/nghttp3-1.13.1.ebuild | 48 ++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index 52eddc5ed92c..1ab9d14d55d7 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -1,5 +1,6 @@
 DIST nghttp3-1.10.1.tar.xz 398744 BLAKE2B 
bc3dd42cff504af4f86ad18a7afbf817dd1b753018e1bd95bf15dd3d9be6f348369cbbbcf34643c98771c24c9b1bee6f5bc5e0f7fe43b424fbc38fc6a1f1d403
 SHA512 
323efd9211cedd0c177c001a9bed0b934b784da685d103b9512992eaaa6e536bc503708f02bc54d3b4f170baf818296aa90ed24839c116188720028d60446641
 DIST nghttp3-1.11.0.tar.xz 405816 BLAKE2B 
d686677c3267ef6c5dd013a957f3c57f2404d538072d1e374458c1b6f6e98bd96ca376fbcadb20bead30aa558981073d65c3e64f9c9141ba8e5ba16b3aaba6b1
 SHA512 
4db416e737cba71fd073388a7da33888226c9872888313def0add0895a58afde3c62ad029e0aee350c53e392c75819b21c1c056774365154a803be3eeb01d0f6
 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.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.13.1.ebuild 
b/net-libs/nghttp3/nghttp3-1.13.1.ebuild
new file mode 100644
index 000000000000..cc9fdc61d9e5
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-1.13.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 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
+}

Reply via email to