Сравнение nghttp3-1.8.0 с nghttp3-1.15.0

/usr/portage/net-libs/nghttp3/nghttp3-1.15.0.ebuild 2026-02-19 11:18:08.231303338 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake-multilib
6
# Built with autotools rather than cmake to avoid circular dep (bug #951524)
7

  
8
inherit multilib-minimal
7 9

  
8 10
if [[ ${PV} == 9999 ]] ; then
9 11
	EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git"
10
	inherit git-r3
12
	inherit autotools git-r3
11 13
else
12
	SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz"
13
	KEYWORDS="amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
14
	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp3.asc
15
	inherit libtool verify-sig
16
	SRC_URI="
17
		https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz
18
		verify-sig? ( https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz.asc )
19
	"
20

  
21
	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
22
	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-nghttp3 )"
14 23
fi
15 24

  
16 25
DESCRIPTION="HTTP/3 library written in C"
17
HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
26
HOMEPAGE="https://nghttp2.org/nghttp3/ https://github.com/ngtcp2/nghttp3"
18 27

  
19 28
LICENSE="MIT"
20 29
SLOT="0/0"
21
IUSE="static-libs test"
22
RESTRICT="!test? ( test )"
23
# Without static-libs, src_test just won't run any tests and "pass".
24
REQUIRED_USE="
25
	test? ( static-libs )
26
"
27 30

  
28
BDEPEND="virtual/pkgconfig"
31
src_prepare() {
32
	default
33
	if [[ ${PV} == 9999 ]]; then
34
		eautoreconf
35
	else
36
		elibtoolize
37
	fi
38
}
29 39

  
30 40
multilib_src_configure() {
31
	local mycmakeargs=(
32
		-DENABLE_LIB_ONLY=ON
33
		-DENABLE_STATIC_LIB=$(usex static-libs)
34
		-DENABLE_EXAMPLES=OFF
35
		-DBUILD_TESTING=$(usex test)
41
	local myeconfargs=(
42
		--disable-werror
43
		--disable-debug
44
		--enable-lib-only
36 45
	)
37
	cmake_src_configure
46

  
47
	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
38 48
}
39 49

  
40
multilib_src_test() {
41
	cmake_build check
50
multilib_src_install_all() {
51
	einstalldocs
52
	find "${ED}"/usr -type f -name '*.la' -delete || die
42 53
}
Спасибо!