Diff xdotool-3.20211022.1-r2 with a xdotool-4.20251130.1

/usr/portage/x11-misc/xdotool/xdotool-4.20251130.1.ebuild 2025-12-26 10:18:09.622841233 +0300
11 11
SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz"
12 12

  
13 13
LICENSE="BSD"
14
SLOT="0"
14
SLOT="0/4"
15 15
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
16 16
IUSE="examples"
17 17

  
18 18
# tests have various troublesome requirements
19 19
RESTRICT="test"
20 20

  
21
# libXi is "unused" but it still uses headers from it and relies on the
22
# compiler optimizing out a function to be dropped by as-needed, so keep
23
# until next release (not important to patch given libXtst pulls libXi
24
# anyway, so the dependency is not really avoidable either way)
25
# https://github.com/jordansissel/xdotool/pull/446
26 21
RDEPEND="
27 22
	x11-libs/libX11
28
	x11-libs/libXi
29 23
	x11-libs/libXinerama
30 24
	x11-libs/libXtst
31 25
	x11-libs/libxkbcommon
......
38 32
	virtual/pkgconfig
39 33
"
40 34

  
41
PATCHES=(
42
	"${FILESDIR}"/${PN}-3.20210804.2-no_hardcoded_pkg-config.patch
43
	"${FILESDIR}"/${P}-xkeyboard-config-2.46.patch
44
)
35
src_prepare() {
36
	default
37

  
38
	sed -i 's/pkg-config/$(PKG_CONFIG)/' Makefile || die
39
}
45 40

  
46 41
src_compile() {
47 42
	tc-export CC LD PKG_CONFIG
Thank you!