net-libs/nghttp3: add 1.10.1

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2025-05-27 09:51:53 -04:00
parent 4c75b1d181
commit fd69d49561
2 changed files with 44 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST nghttp3-1.10.1.tar.xz 398744 BLAKE2B bc3dd42cff504af4f86ad18a7afbf817dd1b753018e1bd95bf15dd3d9be6f348369cbbbcf34643c98771c24c9b1bee6f5bc5e0f7fe43b424fbc38fc6a1f1d403 SHA512 323efd9211cedd0c177c001a9bed0b934b784da685d103b9512992eaaa6e536bc503708f02bc54d3b4f170baf818296aa90ed24839c116188720028d60446641
DIST nghttp3-1.8.0.tar.xz 398640 BLAKE2B 14866d9efdfc847367dde782770f43374209bd4229fa621c3142bb6c8ac3b3db6feb34e7732365edaded49b6d27ca9c02b376d11a082c6f7ad2b3e8b4d799e01 SHA512 01b7a6e313e13ebfecd63afdfaed8c8518b49cff64d08359ec7fb7f05f2dc615c4d58a8338d789e54c2d85cb5fa8e2151c91df40ec39826283f7328fc86fc18b
DIST nghttp3-1.9.0.tar.xz 400208 BLAKE2B d7d0807c3b445db9a8304273c99b4febdc962c505ce67af5ab5ccbd1434316291f5b41b3834c6462a950f94f6d434d3655b77fe1df78d2f5c758a8c1a2dc0639 SHA512 acef4156878047fcc44669888911cb2bcf255c11106da8342349406b906d46f641b59e295a1b650815d896465bebcbc6652581d906ce348ef8d07442b307f862

View File

@@ -0,0 +1,43 @@
# 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"
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
[[ ${PV} == 9999 ]] && eautoreconf
}
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
}