diff options
author | Craig Andrews <candrews@gentoo.org> | 2022-11-15 12:43:48 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2022-11-15 12:44:30 -0500 |
commit | 8f2b1e3f3ba6e25fe50e9e5f22395026ce4c9886 (patch) | |
tree | 21d3c6432b6b3891b2b69e974695d138991cd1ed /net-libs | |
parent | www-apps/prowlarr: drop 0.4.8.2072 (diff) | |
download | gentoo-8f2b1e3f3ba6e25fe50e9e5f22395026ce4c9886.tar.gz gentoo-8f2b1e3f3ba6e25fe50e9e5f22395026ce4c9886.tar.bz2 gentoo-8f2b1e3f3ba6e25fe50e9e5f22395026ce4c9886.zip |
net-libs/ngtcp2: add 0.11.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-0.11.0.ebuild | 51 | ||||
-rw-r--r-- | net-libs/ngtcp2/ngtcp2-9999.ebuild | 2 |
3 files changed, 53 insertions, 1 deletions
diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 1109f3761556..f57dd640d849 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1 +1,2 @@ DIST ngtcp2-0.10.0.tar.xz 582248 BLAKE2B 11c7153742657afc2df3b339e95e66e1ebc657ac251e6f1c742fb091277a4f3364e57322994f7a947e97cb0fdaa786fb48635e35b33346f1c04ef3f73d9a8128 SHA512 40ace3188ad53293df80a0f3fb144ced21897089026a18f90f45fe2aaa0d0f18ad184666a08d96263942573ed96ffa65b5f1837a008bd348a9c68c82e7508310 +DIST ngtcp2-0.11.0.tar.xz 583024 BLAKE2B 761f248a4f5e12f75d018f5285b894d8294edf102547306cb44498f97533b3e8929192c6c3a36671a4543536881b1471dd788aafe976da2efce191901af14923 SHA512 f652cb0189c485d3d007dda93f8441ea6d9a4f95d658ab763bd6d3e2e46985c0800e7fc3291c6fb4e07a0e5e0d4117d19631214a53f687f40913485182202057 diff --git a/net-libs/ngtcp2/ngtcp2-0.11.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.11.0.ebuild new file mode 100644 index 000000000000..707656ab86a7 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.11.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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 ~hppa ~riscv" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="+gnutls openssl +ssl test" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +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_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 + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild index 24ec2747596c..707656ab86a7 100644 --- a/net-libs/ngtcp2/ngtcp2-9999.ebuild +++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~hppa" + KEYWORDS="~amd64 ~hppa ~riscv" fi DESCRIPTION="Implementation of the IETF QUIC Protocol" |