Diff wget2-2.3.0 with a wget2-9999

/usr/portage/net-misc/wget2/wget2-9999.ebuild 2026-10-20 20:01:06.388810865 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit flag-o-matic
6
inherit autotools git-r3
7 7

  
8 8
DESCRIPTION="GNU Wget2 is a file and recursive website downloader"
9 9
HOMEPAGE="https://gitlab.com/gnuwget/wget2"
10
SRC_URI="mirror://gnu/wget/${P}.tar.gz"
10
EGIT_REPO_URI="https://gitlab.com/gnuwget/wget2.git"
11 11

  
12 12
# LGPL for libwget
13 13
LICENSE="GPL-3+ LGPL-3+"
14 14
SLOT="0/0" # subslot = libwget.so version
15
KEYWORDS="~amd64 ~arm64 ~loong ~x86"
15
KEYWORDS=""
16 16
IUSE="brotli bzip2 doc +gnutls gpgme +http2 idn lzip lzma pcre psl +ssl test xattr zlib"
17 17

  
18 18
RDEPEND="
......
41 41
"
42 42
DEPEND="${RDEPEND}"
43 43
BDEPEND="
44
	app-alternatives/lzip
44 45
	virtual/pkgconfig
45
	doc? ( >=app-text/doxygen-1.13.2[dot] )
46
	doc? ( app-text/doxygen[dot] )
46 47
"
47 48

  
48 49
RESTRICT="!test? ( test )"
49 50

  
50
src_configure() {
51
	# -Werror=lto-type-mismatch
52
	# https://bugs.gentoo.org/969162
53
	# https://gitlab.com/gnuwget/wget2/-/work_items/727
54
	#
55
	# Fixed in git master, post-2.3.0.
56
	filter-lto
51
src_unpack() {
52
	git-r3_src_unpack
53

  
54
	# We need to mess with gnulib :-/
55
	EGIT_REPO_URI="https://git.savannah.gnu.org/r/gnulib.git" \
56
	EGIT_CHECKOUT_DIR="${WORKDIR}/gnulib" \
57
	git-r3_src_unpack
58
}
59

  
60
src_prepare() {
61
	default
62

  
63
	local bootstrap_opts=(
64
		--gnulib-srcdir=../gnulib
65
		--no-bootstrap-sync
66
		--copy
67
		--no-git
68
		--skip-po
69
	)
70
	AUTORECONF="/bin/true" \
71
	LIBTOOLIZE="/bin/true" \
72
	sh ./bootstrap "${bootstrap_opts[@]}" || die
73
	eautoreconf
74
}
57 75

  
76
src_configure() {
58 77
	local myeconfargs=(
59 78
		--disable-static
60 79
		--disable-valgrind-tests
Thank you!