diff options
Diffstat (limited to 'net-libs/ngtcp2')
-rw-r--r-- | net-libs/ngtcp2/Manifest | 2 | ||||
-rw-r--r-- | net-libs/ngtcp2/ngtcp2-0.15.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 0016689478b8..d1a38bb2909b 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,4 +1,6 @@ DIST ngtcp2-0.14.1.tar.xz 585788 BLAKE2B 68574767c701432e7558fa85cbad0d49934d220e292ceb82cdf19a715f247c6ec9b3a2b87def1176ade067a78c84bd3495936847a9a53fcadaff7b66971eca8d SHA512 52c55bc322d979d020ab3124a7cc0033d0f3e5649e3c8ee5f00aa64dbad83c4f199d50685704cc9372821e7fc81c59eea79f33894260b5dca171712d5b3899a0 +DIST ngtcp2-0.15.0.tar.xz 589584 BLAKE2B af0d2e2263e9f23d07ad1c8637465ce78324f6f82614d14da55c50f64c35cbe972912de20a593c6f7483cf5db1ef4046618bb49639f0288a2fff8d82da06b4a6 SHA512 f57b0e8c88d2710fdee422c387b555d188197e54e97d99fae8b0beaa8eca2c6797e6a55efca34fb99ac65a86be1a224adfd17a0bcf314a27b5fcc24bb304f4bb EBUILD ngtcp2-0.14.1.ebuild 1204 BLAKE2B fd0b2a6e81d520ab8db695b0890e09f1af1bde5f983ca19a29f805e7b6ec3629d2cf5de336b02fb35227dda139ca5fa09c20f855eda573e9648e880bad08215f SHA512 cc407ada43fcc516e3d5fc77532c1fe29471ca9ebb9be94962887e4c51b120e16707070e449c253afbe2f5d4a1a16a1e1f8bcaa06ba922569b22524557158b13 +EBUILD ngtcp2-0.15.0.ebuild 1205 BLAKE2B a444ae2277c73772ce81d0b0c1e3555a90f3092930a474f0a947bf00e208e461bc64e04a7a9e05c5226ed9c8cbc847dd6fb8793a62a434f40e1e67308a57187c SHA512 9374dd426c1d95a812550b296d6054b4617e5a58e3b8e0dc1c00edb5c8684419ee696ce6e8a94adafd5ad47113e9f8bbce4dd81e5d68a1bc8d5f690372dcbb50 EBUILD ngtcp2-9999.ebuild 1205 BLAKE2B a444ae2277c73772ce81d0b0c1e3555a90f3092930a474f0a947bf00e208e461bc64e04a7a9e05c5226ed9c8cbc847dd6fb8793a62a434f40e1e67308a57187c SHA512 9374dd426c1d95a812550b296d6054b4617e5a58e3b8e0dc1c00edb5c8684419ee696ce6e8a94adafd5ad47113e9f8bbce4dd81e5d68a1bc8d5f690372dcbb50 MISC metadata.xml 445 BLAKE2B d27a34331ff5bd772b6228ff26ca20440a3bf932ccc88720a33409f329d41165d5fad6750221bae1fed3386d6e8244458c1c5073df8b36251156598e599bb15e SHA512 c09f5ac61f3c3b16bda0f12c2f31188aaaba469fbfde31e71d4f9834609b4c8d0cb7152a688934ba0b90c491da4e8b707e6ad5e54d5965b4109cbdc29ee0a4a2 diff --git a/net-libs/ngtcp2/ngtcp2-0.15.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.15.0.ebuild new file mode 100644 index 000000000000..4d3a4cbaa377 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.15.0.ebuild @@ -0,0 +1,52 @@ +# 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/ngtcp2.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~hppa ~riscv ~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 ) )" + +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 + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} |