summaryrefslogtreecommitdiff
path: root/net-libs/nghttp3
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/nghttp3')
-rw-r--r--net-libs/nghttp3/Manifest2
-rw-r--r--net-libs/nghttp3/nghttp3-0.14.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index aced472c2647..e3b5e5220d70 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -1,8 +1,10 @@
DIST nghttp3-0.11.0.tar.xz 367392 BLAKE2B 908da41e168e83d82de7649051c66866682c58e93e3da6a2f4b85a1765b04ccbb06888df3e9b87b5cd6d1eb51d95af9bbb02955e47fde6194b169bb7ef78f756 SHA512 752adffcd5b8d26ea89e040597474e1b6d91a87a5feda445b637fd17255768e570570c0786984e3eaf36dac94df1f32659d9991d3bbf9a02b060c63aadb708fd
DIST nghttp3-0.12.0.tar.xz 369576 BLAKE2B 552fab00de7c6d1917ac1b680547aa57e02ae32e6347e9915d743daa217ce2d6d201e3ab8f1cf00072e80f489e8bb7af648d46f9805816923b8e7ccd8319bc44 SHA512 4bfde5506bbd193107cac3f548952ae692934b7b9e5639fa843ee99a7da5ee7ca816880fc5575efd57959770e633cdba1efb4fd60ba39fff043e62a6358f721b
DIST nghttp3-0.13.0.tar.xz 367992 BLAKE2B 381677866a327cbb5638aa2e6f4a770d15879d05ca432c3fca7e92a8a815ae62857c386ba660805e97f649f9bc7c9c4c7077a92d2296b3303347e3d1dff12b6c SHA512 63de094ae62c641388ea909b28df2cce58df5e372237519fb6ef62bbd937ff20f6e571cb99f0fac8b8781e619fc229ec931fb5c6a1165727829d6b0c3a779ef8
+DIST nghttp3-0.14.0.tar.xz 367992 BLAKE2B a7109d735b4fd9117caaec128bb9631e1a75514475bebcf039b605fcac4d68faa4bfa51c77123d456cba19c52e9436839adccd7449a126b5befe445860a3d5d3 SHA512 163bf8dee3e100dd95e73fbe0176d0dc9c86e9139d96cc98fa7e7c279dbcc699cee79998b2784fb21f8da745be98ba8e86c7387f8166907d89eace8f97176779
EBUILD nghttp3-0.11.0.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050
EBUILD nghttp3-0.12.0.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050
EBUILD nghttp3-0.13.0.ebuild 885 BLAKE2B 9e709b6314c028a423eee32ae4503483b02036e12b0eeeb7a505bd86603ae6f02a48fe5b01d61d2ee408d485c23b0015600f4c23a185d9e94822c8243aaa5dcc SHA512 2cede4f0b685686965caf4b56a35b31983adebfd2f019b2a5e715a8a4caab2f3835e49a2b1ae88370534b070d79a803198da483d362a0b679e69b88e111b0d63
+EBUILD nghttp3-0.14.0.ebuild 885 BLAKE2B 9e709b6314c028a423eee32ae4503483b02036e12b0eeeb7a505bd86603ae6f02a48fe5b01d61d2ee408d485c23b0015600f4c23a185d9e94822c8243aaa5dcc SHA512 2cede4f0b685686965caf4b56a35b31983adebfd2f019b2a5e715a8a4caab2f3835e49a2b1ae88370534b070d79a803198da483d362a0b679e69b88e111b0d63
EBUILD nghttp3-9999.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050
MISC metadata.xml 327 BLAKE2B 57c198cb15bb8a8982d7c93149b595e0fd03fb0b63cde2d49349dc3dcefa7873f310a4c6accf7089320c6a38376aef8bf6d98afe689d743c96636eebc53a2365 SHA512 580f5c33715cac0b138070349342d4d2e62c179e05aa1e66fc801001fa8dbb064d1291f8c38ff3b0e68cb392bc2f339c28afeab1d9a77d786497968fae2505a8
diff --git a/net-libs/nghttp3/nghttp3-0.14.0.ebuild b/net-libs/nghttp3/nghttp3-0.14.0.ebuild
new file mode 100644
index 000000000000..7f4078fba594
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-0.14.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 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 ~arm64 ~hppa"
+fi
+
+DESCRIPTION="HTTP/3 library written in C"
+HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="static-libs test"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+RDEPEND=""
+RESTRICT="!test? ( test )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DENABLE_LIB_ONLY=ON
+ -DENABLE_STATIC_LIB=$(usex static-libs)
+ -DENABLE_EXAMPLES=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test)
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ cmake_build check
+}