Сравнение iputils-20221126-r1 с iputils-99999999

/usr/portage/net-misc/iputils/iputils-99999999.ebuild 2025-07-29 16:22:17.284467543 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
11 11
	EGIT_REPO_URI="https://github.com/iputils/iputils.git"
12 12
	inherit git-r3
13 13
else
14
	SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
14
	SRC_URI="https://github.com/iputils/iputils/releases/download/${PV}/${P}.tar.xz"
15
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
16 16
fi
17 17

  
18 18
DESCRIPTION="Network monitoring tools including ping and ping6"
......
40 40
	virtual/os-headers
41 41
"
42 42
BDEPEND="
43
	app-text/docbook-xml-dtd:4.2
44
	app-text/docbook-xml-dtd:4.5
45
	app-text/docbook-xsl-ns-stylesheets
46
	app-text/docbook-xsl-stylesheets
47
	dev-libs/libxslt
48 43
	virtual/pkgconfig
49 44
	test? ( sys-apps/iproute2 )
50 45
	nls? ( sys-devel/gettext )
51 46
"
52 47

  
48
if [[ ${PV} == 9999 ]] ; then
49
	BDEPEND+="
50
		app-text/docbook-xml-dtd:4.2
51
		app-text/docbook-xml-dtd:4.5
52
		app-text/docbook-xsl-ns-stylesheets
53
		app-text/docbook-xsl-stylesheets
54
		dev-libs/libxslt
55
	"
56
fi
57

  
58
PATCHES=(
59
	"${FILESDIR}/meson-build-strict-check-for-error-function.patch"
60
)
61

  
53 62
src_prepare() {
54 63
	default
55 64

  
......
68 77
		-Dsystemdunitdir=$(systemd_get_systemunitdir)
69 78
		-DUSE_GETTEXT=$(usex nls true false)
70 79
		$(meson_use !test SKIP_TESTS)
71
		-DBUILD_HTML_MANS=$(usex doc true false)
72
		-DBUILD_MANS=true
73 80
	)
74 81

  
82
	if use doc || [[ ${PV} == 9999 ]] ; then
83
		emesonargs+=(
84
			-DBUILD_HTML_MANS=true
85
			-DBUILD_MANS=true
86
		)
87
	fi
88

  
75 89
	meson_src_configure
76 90
}
77 91

  
Спасибо!