From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 835EA1582EF for ; Fri, 21 Feb 2025 15:45:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A3A83430B3 for ; Fri, 21 Feb 2025 15:45:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 93CA0110470; Fri, 21 Feb 2025 15:45:46 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 85AD2110470 for ; Fri, 21 Feb 2025 15:45:46 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18BA73430B0 for ; Fri, 21 Feb 2025 15:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 763D420FB for ; Fri, 21 Feb 2025 15:45:44 +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: <1740152741.9a53672947fa27f1c7da51f5d17083a464bebe0a.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.8.0.ebuild X-VCS-Directories: net-libs/nghttp3/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 9a53672947fa27f1c7da51f5d17083a464bebe0a X-VCS-Branch: master Date: Fri, 21 Feb 2025 15:45:44 +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: 4dcc9387-d977-432f-858f-5a0b29427dfa X-Archives-Hash: d9c837f52faaaabc0357001b18ab9650 commit: 9a53672947fa27f1c7da51f5d17083a464bebe0a Author: Craig Andrews gentoo org> AuthorDate: Fri Feb 21 15:42:26 2025 +0000 Commit: Craig Andrews gentoo org> CommitDate: Fri Feb 21 15:45:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a536729 net-libs/nghttp3: add 1.8.0 Signed-off-by: Craig Andrews gentoo.org> net-libs/nghttp3/Manifest | 1 + net-libs/nghttp3/nghttp3-1.8.0.ebuild | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest index 384c60757774..031d62576125 100644 --- a/net-libs/nghttp3/Manifest +++ b/net-libs/nghttp3/Manifest @@ -1,2 +1,3 @@ DIST nghttp3-1.5.0.tar.xz 391668 BLAKE2B cbafd1e927bc39db78e238c0a7330170ec8e7a6fad96489fe754088cd40def9ddff7f7eef64bc9dc6efc729acbd4dfe2779bb5ac72092bfe91e3e6aab5b97456 SHA512 76a089fb0dd88b9aced41fccf36758c6504f8faf68c143ca81c260c017ac6dfd83fe678c401304de8bf65e859b0559dc5e8fcb37e88e547076d0ba9fd2c4a59c DIST nghttp3-1.7.0.tar.xz 395808 BLAKE2B 2a13747518883a0f11005ee1189dc6a32a73fdf390416f6e3c352a7be76cccd68522581c2148c6a86c24f14ba13fc21a7c6d6815ab3ad724c08a8088d1421d3b SHA512 77510e2056206e3e149bc3535a0e7e6095afb0a0358a9dda48c8be82199eaefd0dadbba7e027c5c14eb46572d2dbc929a99c3b9c6d27c83a1c80428263ccecab +DIST nghttp3-1.8.0.tar.xz 398640 BLAKE2B 14866d9efdfc847367dde782770f43374209bd4229fa621c3142bb6c8ac3b3db6feb34e7732365edaded49b6d27ca9c02b376d11a082c6f7ad2b3e8b4d799e01 SHA512 01b7a6e313e13ebfecd63afdfaed8c8518b49cff64d08359ec7fb7f05f2dc615c4d58a8338d789e54c2d85cb5fa8e2151c91df40ec39826283f7328fc86fc18b diff --git a/net-libs/nghttp3/nghttp3-1.8.0.ebuild b/net-libs/nghttp3/nghttp3-1.8.0.ebuild new file mode 100644 index 000000000000..6bcc7ff1a4c8 --- /dev/null +++ b/net-libs/nghttp3/nghttp3-1.8.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 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 ~loong ~m68k ~mips ~ppc64 ~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 )" +# Without static-libs, src_test just won't run any tests and "pass". +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 + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +}