summaryrefslogtreecommitdiff
path: root/net-libs/nghttp3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-26 12:00:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-26 12:00:09 +0100
commitf300354de9fe5d997850456a9e1f400193e6544f (patch)
tree402fd6a7727db790bf57f683894052e8791d389e /net-libs/nghttp3
parent5c42677148c717eb9f4673237db807f74740b4e9 (diff)
gentoo auto-resync : 26:08:2024 - 12:00:09
Diffstat (limited to 'net-libs/nghttp3')
-rw-r--r--net-libs/nghttp3/Manifest4
-rw-r--r--net-libs/nghttp3/nghttp3-1.4.0.ebuild2
-rw-r--r--net-libs/nghttp3/nghttp3-1.5.0.ebuild42
3 files changed, 46 insertions, 2 deletions
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index 3c8b4de4cdbf..0c90c651f7ef 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -1,6 +1,8 @@
DIST nghttp3-1.3.0.tar.xz 390176 BLAKE2B 8ff17da3e53efb27b13e9ab17dba4ca27cc8fd948b160a36a0b0496f61a49c2729f1281f9a29cb8fecd4dd2c274696885a3c5e001be3dcfc30f5f1c9b6339467 SHA512 a862e7a3c3f6722b07d5437976850b2998032d1f7b9da7a49e6863d59c611ff7204c9923e8e570301a9bfbd91931a30f8f85e96cfb35481783adfc2f955a8b8c
DIST nghttp3-1.4.0.tar.xz 389036 BLAKE2B f8292aded56c0778dc285cf7d8261494c89e70e1e2128b0196be97706b1ce45edfd885031d069990429ef82c56c4922e0fe07d7471d4851642ce5e8afaf02bb9 SHA512 39ff9418009dcf84ae58d8297f53427da91509a69ecc4fc78c4c00f0fe6bbe348f7afffeafe535ae4c02ff9f0413016b4f51de6a87d8e8c8f6b415bb7f2b0895
+DIST nghttp3-1.5.0.tar.xz 391668 BLAKE2B cbafd1e927bc39db78e238c0a7330170ec8e7a6fad96489fe754088cd40def9ddff7f7eef64bc9dc6efc729acbd4dfe2779bb5ac72092bfe91e3e6aab5b97456 SHA512 76a089fb0dd88b9aced41fccf36758c6504f8faf68c143ca81c260c017ac6dfd83fe678c401304de8bf65e859b0559dc5e8fcb37e88e547076d0ba9fd2c4a59c
EBUILD nghttp3-1.3.0.ebuild 746 BLAKE2B 7e8bf9eb00e1fb789ba685bc09b4c8a6939489968f6594c5cc67c8dc27c3612610d49d39c320ee846f855fe28ee80432d563a4c3a23bd942bb982eaa78e72b09 SHA512 c42cc1142c47a08b34c6be7c7a5d621358582c0b1535496437d210e4b4b2b0dba2c63b1b84619bd113a6e945d9f7bfa3485736788127a13c845f926d8744323a
-EBUILD nghttp3-1.4.0.ebuild 953 BLAKE2B efa733d4f9ec270123b07cf28bf3b9782236ce06fa8924881e16c3ec6418ad174298327419c2191da2e5ec1f0be6dbb4196571dd30800e96c03f6f63742f6097 SHA512 abe36167ad2f80b2d020269a89e30a51729eb61e6cb1218c4cd87f8041e87f4c8c506b239b58cc23f14818f7a5a0e423d06334d2fd3f11e216cd687db2d2ee3c
+EBUILD nghttp3-1.4.0.ebuild 959 BLAKE2B a26ab00b029278b1b4a051e73c6517e3c5b4bbbc75a757d1bd720c94bc1071783bb3d3cb0a82861fe2bd890d682d71462706e19c6f82ba1ae9f16a0255092f24 SHA512 7f172b588c44d4c5fcdc54e07b9297906c3fe79fc712a1cd19ce391a3c884863860ca34fc319306597244f352dd2de2158690453e80b47733f83d2976c5aa0c6
+EBUILD nghttp3-1.5.0.ebuild 953 BLAKE2B efa733d4f9ec270123b07cf28bf3b9782236ce06fa8924881e16c3ec6418ad174298327419c2191da2e5ec1f0be6dbb4196571dd30800e96c03f6f63742f6097 SHA512 abe36167ad2f80b2d020269a89e30a51729eb61e6cb1218c4cd87f8041e87f4c8c506b239b58cc23f14818f7a5a0e423d06334d2fd3f11e216cd687db2d2ee3c
EBUILD nghttp3-9999.ebuild 909 BLAKE2B 14396d1539dc8928be4fc495a2247a7db21ef43a9731da1a7c5f80891e3a314d23f8fd7dd707e063eb743b8e786335952e154f343830b5c09f25623ba0e0dc4b SHA512 f90acf3706b335d20b9b93d10a0fe747ff6cc2b077a230e2aa3195b5ac7fbf8e8387756bc099a38b6de5705097b9a1e53becd3a7ad52fd8a42a19b0595bf0bb7
MISC metadata.xml 328 BLAKE2B 6f0147cead329ef6b779485417ff33e5814b0cd86e99b571b0dc5653a7ca8f80f65fddb8b1b58fe249b7b86c0aecd32a446d415065fc70a0c72bf69651b19d25 SHA512 54e49a9c82c6a7f7a50daf557416845fa5c548f11ca243ff236105ad97903ea983436e94067c831b93ca95da154dd2561e314e96e8bde6d4678efd1adaf02f11
diff --git a/net-libs/nghttp3/nghttp3-1.4.0.ebuild b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
index 689f8a212cbe..c543c530dd7e 100644
--- a/net-libs/nghttp3/nghttp3-1.4.0.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
DESCRIPTION="HTTP/3 library written in C"
diff --git a/net-libs/nghttp3/nghttp3-1.5.0.ebuild b/net-libs/nghttp3/nghttp3-1.5.0.ebuild
new file mode 100644
index 000000000000..689f8a212cbe
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-1.5.0.ebuild
@@ -0,0 +1,42 @@
+# 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 ~ia64 ~loong ~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"
+
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ test? ( static-libs )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DENABLE_LIB_ONLY=ON
+ -DENABLE_STATIC_LIB=$(usex static-libs)
+ -DENABLE_EXAMPLES=OFF
+ )
+ use test && mycmakeargs+=( -DBUILD_TESTING=ON )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && cmake_build check
+}