diff options
author | Craig Andrews <candrews@gentoo.org> | 2024-02-16 23:14:52 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-02-16 23:16:02 -0500 |
commit | b2ae6054fdd15dc6220484ab0a1f1ff30c3b1995 (patch) | |
tree | 3a53afd9c09ad4b9d73b9d8a148ba33275899cbd /net-libs/nghttp3 | |
parent | net-libs/ngtcp2: add 1.3.0 (diff) | |
download | gentoo-b2ae6054fdd15dc6220484ab0a1f1ff30c3b1995.tar.gz gentoo-b2ae6054fdd15dc6220484ab0a1f1ff30c3b1995.tar.bz2 gentoo-b2ae6054fdd15dc6220484ab0a1f1ff30c3b1995.zip |
net-libs/nghttp3: add 1.2.0
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs/nghttp3')
-rw-r--r-- | net-libs/nghttp3/Manifest | 1 | ||||
-rw-r--r-- | net-libs/nghttp3/nghttp3-1.2.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 031a268d09b2..f328e6aa2949 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -1 +1,2 @@ DIST nghttp3-1.1.0.tar.xz 369832 BLAKE2B d6b5ddf7d5809159f4f4d4f8b1750009d05d686bdfdaa882d242cf729f6cc7a950d6095aa0ab22b18d2d9dd7132d0f493bacc635617b5c74f993052bcbb964ce SHA512 30330a8002a296be4441f88f444436baba5e989b8c07dc95c55b43c85de8c2f995b000e88c6d44dc98449c10d9648dd45f641b8b24c0577c3b93e90faeba78b4 +DIST nghttp3-1.2.0.tar.xz 387592 BLAKE2B b3ad897fda5d616a93f063bafde760eda6f597c90de6c81793abef3ff30de05bb2a06388fa868f95c0871a6592331d17a2d344c63817179ad21c6390bc0e499b SHA512 51ade6b17215eb15c92b18ad7a94b70e0a442d5968aee31ec734e5826d09ca34197e64407a1ac3f7bfb4ed1a0b3c3b58afc4a152542bacdcc4c71140931a7652 diff --git a/net-libs/nghttp3/nghttp3-1.2.0.ebuild b/net-libs/nghttp3/nghttp3-1.2.0.ebuild new file mode 100644 index 000000000000..c93630cc9fef --- /dev/null +++ b/net-libs/nghttp3/nghttp3-1.2.0.ebuild @@ -0,0 +1,40 @@ +# 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/nghttp3.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~hppa" +fi + +DESCRIPTION="HTTP/3 library written in C" +HOMEPAGE="https://github.com/ngtcp2/nghttp3/" + +LICENSE="MIT" +SLOT="0/0" +IUSE="static-libs test" + +BDEPEND="virtual/pkgconfig" +DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" +RDEPEND="" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_LIB_ONLY=ON + -DENABLE_STATIC_LIB=$(usex static-libs) + -DENABLE_EXAMPLES=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test) + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} |