diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 15:48:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-24 15:48:26 +0000 |
commit | c18398e8c10c222f0daed55f7d69339e3c7885bd (patch) | |
tree | 0e6eccd09b11586b73b18bbf3d6c606f86719d1f /net-libs/nghttp3 | |
parent | 4003c614d3c4b320c45ab1f4b817459d4709443b (diff) |
gentoo auto-resync : 24:02:2023 - 15:48:26
Diffstat (limited to 'net-libs/nghttp3')
-rw-r--r-- | net-libs/nghttp3/Manifest | 2 | ||||
-rw-r--r-- | net-libs/nghttp3/nghttp3-0.9.0.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 91a4d419f4f2..bb4274b2b043 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -1,4 +1,6 @@ DIST nghttp3-0.8.0.tar.xz 365072 BLAKE2B 132332f785f015a5e62e751ad6fe6d1dae49911837ef26cb24453245ca2cd5a80c92092db4b712f1fb515caa900ac190c2fa586fbf7314df9e60928595791679 SHA512 dab545aff7f85ee10c0f43985cb7f937e33a793c4bb0ca8e7878652f8d0b2500497cdd435256f401bf35a0c7af21aec08cd821beddff3e96b4810efb4c798591 +DIST nghttp3-0.9.0.tar.xz 365884 BLAKE2B 92365e268d7644154f9a400ff0de9e153bdc4acad3a23d2c70936dc4c1105edb2866b81aaad35806ab25992f22501afdb7ddf5d41fa17963183e92c2548c72cb SHA512 68b57f62128dca0d4ced1c63c2c8cdda65a62fdca7bacc2aa3e8826863dad8c7e0d6d715df2bcb09da737fad8ae24c9365e01c07e066d6fd33f4b94190d252ed EBUILD nghttp3-0.8.0-r1.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050 +EBUILD nghttp3-0.9.0.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050 EBUILD nghttp3-9999.ebuild 878 BLAKE2B 49d670331582f6d8c895b3bceab220312346e8988b728c6912f480f141ea14a097d63dba4b7e1decacb42b1b26871d63ce69565003fa9230b339498bbdce0339 SHA512 0e2a1cc0513f808cb8cbf1777fb1d45f1f69972da89bd7b80502ee59c2e03741a6a096d6050567f2c1d2aff8227df05c0163582d1920749fe60c7ba772bb4050 MISC metadata.xml 327 BLAKE2B 57c198cb15bb8a8982d7c93149b595e0fd03fb0b63cde2d49349dc3dcefa7873f310a4c6accf7089320c6a38376aef8bf6d98afe689d743c96636eebc53a2365 SHA512 580f5c33715cac0b138070349342d4d2e62c179e05aa1e66fc801001fa8dbb064d1291f8c38ff3b0e68cb392bc2f339c28afeab1d9a77d786497968fae2505a8 diff --git a/net-libs/nghttp3/nghttp3-0.9.0.ebuild b/net-libs/nghttp3/nghttp3-0.9.0.ebuild new file mode 100644 index 000000000000..719966f4eab6 --- /dev/null +++ b/net-libs/nghttp3/nghttp3-0.9.0.ebuild @@ -0,0 +1,40 @@ +# 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/nghttp3.git" + inherit git-r3 +else + SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~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 +} |