From 4255aba16d04fa1791c32ca0dfafa090d8fce095 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 30 Nov 2025 23:20:30 -0500 Subject: [PATCH] x11-misc/xdotool: add 4.20251130.1 Add a subslot due to new soname, but I could only find one revdep that actually uses libxdo (gnome-extra/cinnamon-screensaver), everything else seems to be using the CLI xdotool and does not need := Signed-off-by: Ionen Wolkens --- x11-misc/xdotool/Manifest | 1 + x11-misc/xdotool/xdotool-4.20251130.1.ebuild | 54 ++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 x11-misc/xdotool/xdotool-4.20251130.1.ebuild diff --git a/x11-misc/xdotool/Manifest b/x11-misc/xdotool/Manifest index 675c2f3d49a4..8daf5c0e686f 100644 --- a/x11-misc/xdotool/Manifest +++ b/x11-misc/xdotool/Manifest @@ -1 +1,2 @@ DIST xdotool-3.20211022.1.tar.gz 115237 BLAKE2B 1269775848905253936b113ac45e2a5126f1414eeacb5dd91aea6dc0cb6993f9fa0da969f30c83e0e03d435894a31ba633dc02269b38f9056772b513f0c86889 SHA512 f11d7b079f19d1650adfb549ecc96e840805935bf4925beefc3238154ad0afbff36b134c78bfc73a9dc07fc869ab75676575d6de50cfd54484d2c35d6913ea27 +DIST xdotool-4.20251130.1.tar.gz 117349 BLAKE2B 6495a6cd172213a668ca5072676b1969c35f5ee4bf927ad89eac323d878cb25fa85ab56e7079d562c1915277b6196a5286000fb51ceb2603f710c3d65a2ab524 SHA512 f3434d933685d796622aaa6a886b355dffe14782d7ee7a75fbf59a58d1312215d080bcc9531e92e4a27a1043ebb2c7af22425a00da789e743ac507ff80fd0700 diff --git a/x11-misc/xdotool/xdotool-4.20251130.1.ebuild b/x11-misc/xdotool/xdotool-4.20251130.1.ebuild new file mode 100644 index 000000000000..688490a45d0a --- /dev/null +++ b/x11-misc/xdotool/xdotool-4.20251130.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +inherit docs toolchain-funcs + +DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows" +HOMEPAGE="https://www.semicomplete.com/projects/xdotool/" +SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples" + +# tests have various troublesome requirements +RESTRICT="test" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXinerama + x11-libs/libXtst + x11-libs/libxkbcommon +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + + sed -i 's/pkg-config/$(PKG_CONFIG)/' Makefile || die +} + +src_compile() { + tc-export CC LD PKG_CONFIG + + emake PREFIX="${EPREFIX}"/usr + docs_compile +} + +src_install() { + emake PREFIX="${ED}"/usr INSTALLMAN="${ED}"/usr/share/man \ + INSTALLLIB="${ED}"/usr/$(get_libdir) LDCONFIG=: install + + dodoc -r CHANGELIST $(usev examples) + einstalldocs +}