From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- net-libs/ngtcp2/Manifest | 2 ++ net-libs/ngtcp2/ngtcp2-0.1.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 net-libs/ngtcp2/ngtcp2-0.1.0.ebuild (limited to 'net-libs/ngtcp2') diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 40e3e34dce66..d94f5ead2d32 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,4 +1,6 @@ +DIST ngtcp2-0.1.0.tar.xz 540132 BLAKE2B df59b4632110f118e0ae27c709fee24be65216d5461ad73901fb7f7450afe17a255acda10473a39ac45a34c2810728c50e39dcde9a71c48eb843d5d628b70b8c SHA512 935c37fe08bb625b39d4355322df54cedc180584c46b7816a84b2715f777a49590cd0434ed062fabec55df1a2c5332e7edf6335bd071599b053d6f404ce260b8 DIST ngtcp2-0_pre20190912.tar.gz 302984 BLAKE2B 906b248b0c19395288ed2c5ad55c8d42a9df9d76458104785c1013b9ebfaf1b92a4b87ced8755377fcb627018cf8854be0e4687e4c8a23ae994e5a21f466f739 SHA512 91b93575143960af421e8bd37d686602905fa3093750cfbbe3af1b20d743318281d22162676dc451562768ca08b6d0767b1dc28f3f8f6733235ebd76015a05bb +EBUILD ngtcp2-0.1.0.ebuild 985 BLAKE2B e83228de5823731072be11d4de5aa10e007d671d8bfd6eff5861c451ccc47f5709d4cbb155a69ed66e9adcbf7d19fc0a63b7fe13d59ab7a3898854215d46e654 SHA512 80965c2cd89c9bff4d7c430cabd5854fc12a2e3ac8f1e7400e980508bae649dae6f8d0ece7c6d2100b17b86509c4986aa3d7a3248587d25a634056be331513b5 EBUILD ngtcp2-0_pre20190912.ebuild 1083 BLAKE2B 285f80c7ebf4cb3fa9ab7b74a39894f09ce0a54f89463082b2923858ed1b2c41fb6a35bf4cd0cce78e793acd28d8a46ae8d4e71c36a2ebdab76f57870129c717 SHA512 de01dfbf633ff6ee98407924c27ec4d655d3549305978faa4b22fbe5028bd08ea354489679decf12c75c2188559b8eab21e04166c42865a881c79a9fb807fe59 EBUILD ngtcp2-9999.ebuild 985 BLAKE2B e17250a0c0c02ad53500ec3e73420e878530f37b6f5364a260da37ffa7f3fcaa2f45ca820971c2c71075e40247350efd3d57a55556a876810ef4c9100c34a3a3 SHA512 13dac2bda9f4eb281f50bdf008c095f6b3de6e5fa0772bc553993525259ddac9909ff15e7080b7ab1d0a7162e2569a6862a80bc2b0f761259e7a622f3c85aa25 MISC metadata.xml 327 BLAKE2B 57c198cb15bb8a8982d7c93149b595e0fd03fb0b63cde2d49349dc3dcefa7873f310a4c6accf7089320c6a38376aef8bf6d98afe689d743c96636eebc53a2365 SHA512 580f5c33715cac0b138070349342d4d2e62c179e05aa1e66fc801001fa8dbb064d1291f8c38ff3b0e68cb392bc2f339c28afeab1d9a77d786497968fae2505a8 diff --git a/net-libs/ngtcp2/ngtcp2-0.1.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.1.0.ebuild new file mode 100644 index 000000000000..7e8e166f726a --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_ECLASS=cmake +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" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://github.com/ngtcp2/ngtcp2/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="ssl test" + +BDEPEND="virtual/pkgconfig" +DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= ) + test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RDEPEND="" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=$(usex !ssl) + -DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test) + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} -- cgit v1.2.3