mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-libs/ngtcp2: add 1.20.0
Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -8,3 +8,4 @@ DIST ngtcp2-1.16.0.tar.xz 674160 BLAKE2B 68986cc5203b18f6b8ab793a4f80c969c095f83
|
||||
DIST ngtcp2-1.17.0.tar.xz 679244 BLAKE2B 4c0201d1f5a42f6aa7bcd93960289cb3277a4fe3158922c7be40c265cc610802d749b164f9bded81082e4325348430e1826dbb900ee7a0c1cbc2c90822f95bda SHA512 612fb2a55c95717e38ad7792261ac34372b344addc9437674425acfcbcf1faec6572affab430ab818afa275cbf8f9bb1e2a6b3876adcd6c5538f221736066a35
|
||||
DIST ngtcp2-1.18.0.tar.xz 688432 BLAKE2B 911ea1e0424093e8892deef6571f67138bdb9d308c23b14577f11915633a373fe3db172b4f318b89077d04f3e8cc34b0a032a21385329915c177f4c82a2a479d SHA512 4fa236927bbc9c1fe6f920d131e4655c4143c256eb001a7a80add65a9024c2039be64d8bb9606567fb6dcddb7dc6f3a11e08f9196714a60fd55c6cf10be8aa35
|
||||
DIST ngtcp2-1.19.0.tar.xz 686448 BLAKE2B 4db7b7a55d4138612a40a4a0288b5ab229e77d30614918e9c7dbbc3f3d50b85eaa5f26a9683b6834b61e28ed775ec1431486fb1e75e30a6d5f240d72e35e5714 SHA512 db6b69fa627297e37d804cae8ea04aacef2f666f3696ab347297a1a39c48073aedea128885c974e13ebaa52c112e23c12fcee93846f11c0b5c9d1cdb354d6f0e
|
||||
DIST ngtcp2-1.20.0.tar.xz 684060 BLAKE2B 1666c711688674eca1aba86dfca68f421557bf0c49f14ef915b9103b30a5c26b977d74a8cbdfa1466fe80148fdcb6d6f4061c402c5bca8201c071e57684d4132 SHA512 2366b6ae29664617776c901b05976a5cbd5443da8051854ce6c6e7b7779f5630bc2638a97144f4090a0e140a1a7607460b0b738cf55128d9e3bf31f872db26a8
|
||||
|
||||
60
net-libs/ngtcp2/ngtcp2-1.20.0.ebuild
Normal file
60
net-libs/ngtcp2/ngtcp2-1.20.0.ebuild
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Built with autotools rather than cmake to avoid circular dep (bug #951524
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~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"
|
||||
REQUIRED_USE="ssl? ( || ( gnutls openssl ) )"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-3.7.2:=[${MULTILIB_USEDEP}] )
|
||||
openssl? ( >=dev-libs/openssl-1.1.1:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-werror
|
||||
--enable-lib-only
|
||||
$(use_with openssl)
|
||||
$(use_with gnutls)
|
||||
--without-boringssl
|
||||
--without-picotls
|
||||
--without-wolfssl
|
||||
--without-libev
|
||||
--without-libnghttp3
|
||||
--without-jemalloc
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
find "${ED}"/usr -type f -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user