summaryrefslogtreecommitdiff
path: root/net-libs/nghttp3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-08 12:25:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-08 12:25:04 +0100
commita5442e2318cb4df55867389654e322dbac82067e (patch)
tree6ee33490658219395df804dbba0ea77f8b0d8c3b /net-libs/nghttp3
parent5d8ffbc273ca664e15618d557ced3e02de1a884b (diff)
gentoo auto-resync : 08:07:2024 - 12:25:03
Diffstat (limited to 'net-libs/nghttp3')
-rw-r--r--net-libs/nghttp3/Manifest8
-rw-r--r--net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild37
-rw-r--r--net-libs/nghttp3/nghttp3-1.3.0.ebuild1
-rw-r--r--net-libs/nghttp3/nghttp3-1.4.0.ebuild11
-rw-r--r--net-libs/nghttp3/nghttp3-9999.ebuild13
5 files changed, 20 insertions, 50 deletions
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
index 05b018d81518..0769ce820e22 100644
--- a/net-libs/nghttp3/Manifest
+++ b/net-libs/nghttp3/Manifest
@@ -1,8 +1,6 @@
-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
-EBUILD nghttp3-1.2.0-r2.ebuild 742 BLAKE2B e279425fed0370a7b99265a40b05f88ee0fb26a92d6b2fcb34be2b89d501d53db508a58cffdd12e40450cc74d73a27540504119c7225d583f7ea335822eab0c8 SHA512 23a87ea01d7396498e8a5ddd9b7106451fcbd693b3670e1db1d99d9ff69d67711dbe105450ada8e6caf32f622ae392a31c74fe7807f379c89545f456f56f7dc1
-EBUILD nghttp3-1.3.0.ebuild 757 BLAKE2B 47f7189cceacc6e8c745a5f3d7e99bfea2096e57767e0c256f48fd87b95793743cd6f937b796310d5457c0a8f50906ca1f0c1d30d5e5615e0e8ee05590b4606f SHA512 b4b8d39ad767f52d34e778b92866049036e482de4533da52a5d29fdf51555e95db7befb1087354365d32648f13914c6fde6a983205ce22d26c520d3f218dbc57
-EBUILD nghttp3-1.4.0.ebuild 765 BLAKE2B 862651712201949094aa91ca90bd669e96e087a6c54ad46f93f006b0733bc64c6db37ff6e7d90051f3d791b308e11d27436cf86c71282216265c1aa430846fa0 SHA512 313b0e4b30b22c71b3c78207cf1858ac2a3adad342774cb88ff2c2df9d462f3bf7fe1e495f72844d84d1bb83fa992a9129f3d94f9a8546f94aa3e83fb757f1af
-EBUILD nghttp3-9999.ebuild 742 BLAKE2B e279425fed0370a7b99265a40b05f88ee0fb26a92d6b2fcb34be2b89d501d53db508a58cffdd12e40450cc74d73a27540504119c7225d583f7ea335822eab0c8 SHA512 23a87ea01d7396498e8a5ddd9b7106451fcbd693b3670e1db1d99d9ff69d67711dbe105450ada8e6caf32f622ae392a31c74fe7807f379c89545f456f56f7dc1
+EBUILD nghttp3-1.3.0.ebuild 746 BLAKE2B 7e8bf9eb00e1fb789ba685bc09b4c8a6939489968f6594c5cc67c8dc27c3612610d49d39c320ee846f855fe28ee80432d563a4c3a23bd942bb982eaa78e72b09 SHA512 c42cc1142c47a08b34c6be7c7a5d621358582c0b1535496437d210e4b4b2b0dba2c63b1b84619bd113a6e945d9f7bfa3485736788127a13c845f926d8744323a
+EBUILD nghttp3-1.4.0.ebuild 902 BLAKE2B 5f14f88242e36ec9060f5ff52ab8390428d6c7f01b2dad642c4d051f4a048386312d3097c7d89b2c26acf8bb99965ced72be956c6a01a1c0013b074a37ea663f SHA512 37a5f8ccc8ee93a2ad06006ea0a2c1833e5ef5f92cea9db088e655811ea4a306b2c1e690779517538c668768c781eb0feec328c63c1e9655e47356a2834c7a6a
+EBUILD nghttp3-9999.ebuild 902 BLAKE2B 5f14f88242e36ec9060f5ff52ab8390428d6c7f01b2dad642c4d051f4a048386312d3097c7d89b2c26acf8bb99965ced72be956c6a01a1c0013b074a37ea663f SHA512 37a5f8ccc8ee93a2ad06006ea0a2c1833e5ef5f92cea9db088e655811ea4a306b2c1e690779517538c668768c781eb0feec328c63c1e9655e47356a2834c7a6a
MISC metadata.xml 328 BLAKE2B 6f0147cead329ef6b779485417ff33e5814b0cd86e99b571b0dc5653a7ca8f80f65fddb8b1b58fe249b7b86c0aecd32a446d415065fc70a0c72bf69651b19d25 SHA512 54e49a9c82c6a7f7a50daf557416845fa5c548f11ca243ff236105ad97903ea983436e94067c831b93ca95da154dd2561e314e96e8bde6d4678efd1adaf02f11
diff --git a/net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild b/net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild
deleted file mode 100644
index 6715be902969..000000000000
--- a/net-libs/nghttp3/nghttp3-1.2.0-r2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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 ~arm64 ~hppa"
-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
-}
diff --git a/net-libs/nghttp3/nghttp3-1.3.0.ebuild b/net-libs/nghttp3/nghttp3-1.3.0.ebuild
index 3e88aaed40b1..610121890c67 100644
--- a/net-libs/nghttp3/nghttp3-1.3.0.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.3.0.ebuild
@@ -21,7 +21,6 @@ SLOT="0/0"
IUSE="static-libs"
BDEPEND="virtual/pkgconfig"
-RDEPEND=""
multilib_src_configure() {
local mycmakeargs=(
diff --git a/net-libs/nghttp3/nghttp3-1.4.0.ebuild b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
index 0d2dcc6e27ff..b342674b4fa5 100644
--- a/net-libs/nghttp3/nghttp3-1.4.0.ebuild
+++ b/net-libs/nghttp3/nghttp3-1.4.0.ebuild
@@ -18,10 +18,14 @@ HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
LICENSE="MIT"
SLOT="0/0"
-IUSE="static-libs"
+
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ test? ( static-libs )
+"
BDEPEND="virtual/pkgconfig"
-RDEPEND=""
multilib_src_configure() {
local mycmakeargs=(
@@ -29,9 +33,10 @@ multilib_src_configure() {
-DENABLE_STATIC_LIB=$(usex static-libs)
-DENABLE_EXAMPLES=OFF
)
+ use test && mycmakeargs+=( -DBUILD_TESTING=ON )
cmake_src_configure
}
multilib_src_test() {
- cmake_build check
+ multilib_is_native_abi && cmake_build check
}
diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild
index 6715be902969..b342674b4fa5 100644
--- a/net-libs/nghttp3/nghttp3-9999.ebuild
+++ b/net-libs/nghttp3/nghttp3-9999.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 ~arm64 ~hppa"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~riscv ~x86"
fi
DESCRIPTION="HTTP/3 library written in C"
@@ -18,10 +18,14 @@ HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
LICENSE="MIT"
SLOT="0/0"
-IUSE="static-libs"
+
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ test? ( static-libs )
+"
BDEPEND="virtual/pkgconfig"
-RDEPEND=""
multilib_src_configure() {
local mycmakeargs=(
@@ -29,9 +33,10 @@ multilib_src_configure() {
-DENABLE_STATIC_LIB=$(usex static-libs)
-DENABLE_EXAMPLES=OFF
)
+ use test && mycmakeargs+=( -DBUILD_TESTING=ON )
cmake_src_configure
}
multilib_src_test() {
- cmake_build check
+ multilib_is_native_abi && cmake_build check
}