commit: d5730dbbf8ee7aa4860e01200224f7391d4c6fcd
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 13:56:00 2024 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 14:00:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5730dbb
net-libs/nghttp3: add 1.4.0
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
net-libs/nghttp3/Manifest | 1 +
net-libs/nghttp3/nghttp3-1.4.0.ebuild | 37 +++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index 8a065c0e7ab8..5d0fcd1e879f 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -1,2 +1,3 @@
DIST nghttp3-1.2.0.tar.xz 387592 BLAKE2B
b3ad897fda5d616a93f063bafde760eda6f597c90de6c81793abef3ff30de05bb2a06388fa868f95c0871a6592331d17a2d344c63817179ad21c6390bc0e499b
SHA512
51ade6b17215eb15c92b18ad7a94b70e0a442d5968aee31ec734e5826d09ca34197e64407a1ac3f7bfb4ed1a0b3c3b58afc4a152542bacdcc4c71140931a7652
DIST nghttp3-1.3.0.tar.xz 390176 BLAKE2B
8ff17da3e53efb27b13e9ab17dba4ca27cc8fd948b160a36a0b0496f61a49c2729f1281f9a29cb8fecd4dd2c274696885a3c5e001be3dcfc30f5f1c9b6339467
SHA512
a862e7a3c3f6722b07d5437976850b2998032d1f7b9da7a49e6863d59c611ff7204c9923e8e570301a9bfbd91931a30f8f85e96cfb35481783adfc2f955a8b8c
+DIST nghttp3-1.4.0.tar.xz 389036 BLAKE2B
f8292aded56c0778dc285cf7d8261494c89e70e1e2128b0196be97706b1ce45edfd885031d069990429ef82c56c4922e0fe07d7471d4851642ce5e8afaf02bb9
SHA512
39ff9418009dcf84ae58d8297f53427da91509a69ecc4fc78c4c00f0fe6bbe348f7afffeafe535ae4c02ff9f0413016b4f51de6a87d8e8c8f6b415bb7f2b0895
diff --git a/net-libs/nghttp3/nghttp3-1.4.0.ebuild
b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
new file mode 100644
index 000000000000..2c11c586801a
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git"
+ inherit git-r3
+else
+
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~riscv ~x86"
+fi
+
+DESCRIPTION="HTTP/3 library written in C"
+HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="static-libs"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND=""
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DENABLE_LIB_ONLY=ON
+ -DENABLE_STATIC_LIB=$(usex static-libs)
+ -DENABLE_EXAMPLES=OFF
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ cmake_build check
+}