Diff xmlstarlet-1.6.1-r5 with a xmlstarlet-1.7.0

/usr/portage/app-text/xmlstarlet/xmlstarlet-1.7.0.ebuild 2026-09-22 20:03:04.771823514 +0300
6 6
inherit autotools flag-o-matic toolchain-funcs
7 7

  
8 8
DESCRIPTION="A set of tools to transform, query, validate, and edit XML documents"
9
HOMEPAGE="https://xmlstar.sourceforge.net/"
10
SRC_URI="https://downloads.sourceforge.net/xmlstar/${P}.tar.gz"
9
HOMEPAGE="https://xmlstarlet.github.io/"
10
SRC_URI="https://github.com/xmlstarlet/xmlstarlet/releases/download/${PV}/${P}.tar.gz -> ${P}.gh.tar.gz"
11 11

  
12 12
LICENSE="MIT"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ~s390 ~sparc x86"
14
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~s390 ~sparc ~x86"
15 15

  
16 16
RDEPEND="
17 17
	dev-libs/libxml2:=
......
21 21
DEPEND="${RDEPEND}"
22 22
BDEPEND="virtual/pkgconfig"
23 23

  
24
PATCHES=(
25
	"${FILESDIR}"/${PN}-1.6.1-clang16.patch
26
	"${FILESDIR}"/${PN}-1.6.1-clang17.patch
27
	"${FILESDIR}"/${PN}-1.6.1-libxml2-2.14.0-compile.patch
28
	"${FILESDIR}"/${PN}-1.6.1-libxml2-2.13-stdin.patch
29
)
30

  
31 24
src_prepare() {
32 25
	default
33 26

  
......
36 29
	# The grep sandwich acts as a regression test so that a future
37 30
	# version bump cannot break patching without noticing.
38 31
	if [[ $(get_libdir) != lib ]]; then
39
	    grep -wq _PREFIX/lib m4/xstar-check-libs.m4 || die
40
	    sed "s,_PREFIX/lib,_PREFIX/$(get_libdir)," -i m4/xstar-check-libs.m4 || die
41
	    grep -w _PREFIX/lib m4/xstar-check-libs.m4 && die
32
		grep -wq _PREFIX/lib m4/xstar-check-libs.m4 || die
33
		sed "s,_PREFIX/lib,_PREFIX/$(get_libdir)," -i m4/xstar-check-libs.m4 || die
34
		grep -w _PREFIX/lib m4/xstar-check-libs.m4 && die
42 35
	fi
43 36

  
44 37
	eautoreconf
......
51 44
	# - doc/xmlstarlet-ug.{pdf,ps,html}
52 45
	# - doc/xmlstarlet.txt
53 46
	# - doc/xmlstarlet.1
54
	econf \
55
		--disable-build-docs \
47
	local econf_args=(
48
		--disable-build-docs
56 49
		--disable-static-libs
50
	)
51
	econf "${econf_args[@]}"
57 52
}
58 53

  
59 54
src_install() {
Thank you!