From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD3351581FB for ; Sun, 25 Aug 2024 22:20:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 181952BC014; Sun, 25 Aug 2024 22:20:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDBA72BC018 for ; Sun, 25 Aug 2024 22:20:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F3F9343008 for ; Sun, 25 Aug 2024 22:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34B381F20 for ; Sun, 25 Aug 2024 22:20:03 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1724624399.5f2dc7f0e02b0bf2f89b0e5e17c010dbeb4580e2.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nghttp3/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nghttp3/Manifest net-libs/nghttp3/nghttp3-1.5.0.ebuild X-VCS-Directories: net-libs/nghttp3/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 5f2dc7f0e02b0bf2f89b0e5e17c010dbeb4580e2 X-VCS-Branch: master Date: Sun, 25 Aug 2024 22:20:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4feb5ff9-1102-4b2d-8735-22051a42b3b5 X-Archives-Hash: 16282505e1c3ea83a028fb666d9edb0b commit: 5f2dc7f0e02b0bf2f89b0e5e17c010dbeb4580e2 Author: Craig Andrews gentoo org> AuthorDate: Sun Aug 25 22:19:34 2024 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sun Aug 25 22:19:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2dc7f0 net-libs/nghttp3: add 1.5.0 Signed-off-by: Craig Andrews gentoo.org> net-libs/nghttp3/Manifest | 1 + net-libs/nghttp3/nghttp3-1.5.0.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 02d07708fed4..26fda781349a 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -1,2 +1,3 @@ DIST nghttp3-1.3.0.tar.xz 390176 BLAKE2B 8ff17da3e53efb27b13e9ab17dba4ca27cc8fd948b160a36a0b0496f61a49c2729f1281f9a29cb8fecd4dd2c274696885a3c5e001be3dcfc30f5f1c9b6339467 SHA512 a862e7a3c3f6722b07d5437976850b2998032d1f7b9da7a49e6863d59c611ff7204c9923e8e570301a9bfbd91931a30f8f85e96cfb35481783adfc2f955a8b8c DIST nghttp3-1.4.0.tar.xz 389036 BLAKE2B f8292aded56c0778dc285cf7d8261494c89e70e1e2128b0196be97706b1ce45edfd885031d069990429ef82c56c4922e0fe07d7471d4851642ce5e8afaf02bb9 SHA512 39ff9418009dcf84ae58d8297f53427da91509a69ecc4fc78c4c00f0fe6bbe348f7afffeafe535ae4c02ff9f0413016b4f51de6a87d8e8c8f6b415bb7f2b0895 +DIST nghttp3-1.5.0.tar.xz 391668 BLAKE2B cbafd1e927bc39db78e238c0a7330170ec8e7a6fad96489fe754088cd40def9ddff7f7eef64bc9dc6efc729acbd4dfe2779bb5ac72092bfe91e3e6aab5b97456 SHA512 76a089fb0dd88b9aced41fccf36758c6504f8faf68c143ca81c260c017ac6dfd83fe678c401304de8bf65e859b0559dc5e8fcb37e88e547076d0ba9fd2c4a59c diff --git a/net-libs/nghttp3/nghttp3-1.5.0.ebuild b/net-libs/nghttp3/nghttp3-1.5.0.ebuild new file mode 100644 index 000000000000..689f8a212cbe --- /dev/null +++ b/net-libs/nghttp3/nghttp3-1.5.0.ebuild @@ -0,0 +1,42 @@ +# 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 ~arm ~arm64 ~hppa ~ia64 ~loong ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="HTTP/3 library written in C" +HOMEPAGE="https://github.com/ngtcp2/nghttp3/" + +LICENSE="MIT" +SLOT="0/0" + +IUSE="static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + test? ( static-libs ) +" + +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_LIB_ONLY=ON + -DENABLE_STATIC_LIB=$(usex static-libs) + -DENABLE_EXAMPLES=OFF + ) + use test && mycmakeargs+=( -DBUILD_TESTING=ON ) + cmake_src_configure +} + +multilib_src_test() { + multilib_is_native_abi && cmake_build check +}