diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 0f3b40ffdb8e5..ff1c92cd3df3b 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -7,5 +7,7 @@ DIST nghttp3-1.15.0.tar.xz 408660 BLAKE2B ce484f8ae3d0b1122d73a4bbdfe6e4ad58a6a2 DIST nghttp3-1.15.0.tar.xz.asc 833 BLAKE2B 1e331a9d6cf3576c2318e144cc3c56023581106d5e343416e85fd2b7700058837cf6e6cc38d274399ed20370297b72a042ddfb6ac32a4ebc3f7442019b5c0daa SHA512 b6f078c34482fc57a1038ee9357421513379c9e2b3a36c5a046272970a57ff0dfb1188be6f39612c72e7a2df67f01cab9000fad40b051a49268d222c9b9e7771 DIST nghttp3-1.16.0.tar.xz 413004 BLAKE2B e86113e82a4a133d1e0b85af1552d7605acad189186b447974c1e543bbd92a52a88c0643718bdacb07e9fb26c35da1b195ba409d3cb1901cba586ac1d714e79d SHA512 08260aa0e611a233b810568d8d7a64e187ebd0bf4d6d9ab550447458a4f81ba2b37a3ad62d1800d9fbc7fbd7176b592d6f42fc503acb39ed90d106a5db7ed982 DIST nghttp3-1.16.0.tar.xz.asc 833 BLAKE2B 91c38e4fd98f6a59c0b79f3ddab8b6de5e0e1d369d6038594126b73827b7ae3df3134ef3dab909e79a6783bbe213ba3cd3ad25d3791f945e5424eb5a13ffef92 SHA512 d7fdcfd4486d6547b3f4d4c7516c13216a9c7b955968a71b26b0f7414e1933557b265af745d4a62ba71053ac7dbdeffad286ef42480a2289d4c1eea163bd69ea +DIST nghttp3-1.17.0.tar.xz 410916 BLAKE2B 8e6eda3e2fdd87cb827bfd82ad9517c63c122bb8adf51410c63fae3ed4814215c56eb4a92c0261b189417c0c2bacf329094b2b31d95bf945bc71f161b60f5d36 SHA512 71c0cac6c55f90acd41c128f2250dd2e84ddd31ab0246eedf61d49dea6654d88a3a1e60210669365100f9d77ed520972e3cdee5a5dec9c4be72a674c53d9707d +DIST nghttp3-1.17.0.tar.xz.asc 833 BLAKE2B 13e7bfd9171927a5417c4a643ccc49e810c5fb29b75b893131b30c9efcd5d55117599bb99b9f2319acc688a66e02e35802704f3276d0708d577e8ff1f398ea04 SHA512 f971e4e84206657abd1ee62c2812429ae30b117e21c5ce1ccbe48c3d8e2bbf7a3cc9d0a463ab238a59e34606aea31e3aa3895db4b4155ec83bf05753bb568b89 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.17.0.ebuild b/net-libs/nghttp3/nghttp3-1.17.0.ebuild new file mode 100644 index 0000000000000..4dd74b458cd3d --- /dev/null +++ b/net-libs/nghttp3/nghttp3-1.17.0.ebuild @@ -0,0 +1,53 @@ +# 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 + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp3.asc + inherit libtool verify-sig + SRC_URI=" + https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz.asc ) + " + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp3 )" +fi + +DESCRIPTION="HTTP/3 library written in C" +HOMEPAGE="https://nghttp2.org/nghttp3/ 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 +}