diff options
author | Craig Andrews <candrews@gentoo.org> | 2024-08-25 18:18:36 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-08-25 18:19:59 -0400 |
commit | f76538c5e9223d1aa0bc552d776f85e92432927c (patch) | |
tree | 6fd5d42af4983a50689d5b80319f663c5b00299a /net-libs | |
parent | www-apps/radarr-bin: drop 5.9.1.9070 (diff) | |
download | gentoo-f76538c5e9223d1aa0bc552d776f85e92432927c.tar.gz gentoo-f76538c5e9223d1aa0bc552d776f85e92432927c.tar.bz2 gentoo-f76538c5e9223d1aa0bc552d776f85e92432927c.zip |
net-libs/ngtcp2: add 1.7.0
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ngtcp2/Manifest | 1 | ||||
-rw-r--r-- | net-libs/ngtcp2/ngtcp2-1.7.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index cc142af58628..9173031865e6 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -5,3 +5,4 @@ DIST ngtcp2-1.3.0.tar.xz 615620 BLAKE2B b8ec40c02979b0f25c1655c3c4a40c5a604d83f0 DIST ngtcp2-1.4.0.tar.xz 618480 BLAKE2B a04010fa227a4cbe4ddb2036034a4eb97d80a410d2aa3959e2af48248e9dfe754c05b2d6b4b2d157c850f3d018d71d6dec1830f51e318f62a00b8fb3aa295ea3 SHA512 6491f158cd3bd659d593810935ceedefea8ee4a77e0a1952c0300f83188d0af1ef8313b24f9dbd3e7a795b6ad9099d2681b70ff1bafd92eed429ee028b2f2dea DIST ngtcp2-1.5.0.tar.xz 627464 BLAKE2B 6a6fc91f2755d9cbccd6118b53b56b0b4fd3b445c9a491a2d7469ad59d7fe1983516eb79242196db009e7b0875c4db5305bd4c285d2437073b605033f812084d SHA512 6c05beccac5d53c575ceaa594ac6b1d91ae9f0be01394b3520e84b51a44d3c6a71612c2c6f613d3d1b9d2992a83a68696fedbfdc3842f02d4009c95b463ad97f DIST ngtcp2-1.6.0.tar.xz 623300 BLAKE2B 738b98d05a188c00d0bae45bbdac91daa9076476a81b696acd22b126bc2e5352c4aa486b8f469723a20ff59e8785b99aa7576b83820fd6312c5988b3a35adc95 SHA512 3afa23e05b7810cc4dd8b8b497ed47eff73fe97869d0a560a324d59491975209705a9dd0de4ab5833ed8e1c2507a621318be7dd18673ac9b07204598fecdffe8 +DIST ngtcp2-1.7.0.tar.xz 631072 BLAKE2B 1a1ce134c54974418c0cf0bacc09a770e29cd7c7bfc44a2b5420f3bef3e70502f610bee4e9bb5ed9b87024153aa9390d5a233d2d6e2689166e1079e0e4f52600 SHA512 6efa42d17772fde00d9d0a67f2cbcf0704a8462c7305a5e3f213d1e98c9302a1ceee847081ecef358c7a421db56236e571a1ad9ff7fa5f5037987c5cb14e517d diff --git a/net-libs/ngtcp2/ngtcp2-1.7.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.7.0.ebuild new file mode 100644 index 000000000000..08005ec0720b --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-1.7.0.ebuild @@ -0,0 +1,53 @@ +# 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/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl static-libs test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) ) test? ( static-libs )" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:0= ) + openssl? ( + >=dev-libs/openssl-1.1.1:0= + ) + )" +DEPEND="${RDEPEND} + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_STATIC_LIB=$(usex static-libs) + -DENABLE_GNUTLS=$(usex gnutls) + -DENABLE_OPENSSL=$(usex openssl) + -DENABLE_BORINGSSL=OFF + -DENABLE_PICOTLS=OFF + -DENABLE_WOLFSSL=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} |