x11-misc/xdotool: add 4.20260303.1

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-03-07 02:17:27 -05:00
parent eb28185b10
commit fbf05b289c
2 changed files with 61 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST xdotool-3.20211022.1.tar.gz 115237 BLAKE2B 1269775848905253936b113ac45e2a5126f1414eeacb5dd91aea6dc0cb6993f9fa0da969f30c83e0e03d435894a31ba633dc02269b38f9056772b513f0c86889 SHA512 f11d7b079f19d1650adfb549ecc96e840805935bf4925beefc3238154ad0afbff36b134c78bfc73a9dc07fc869ab75676575d6de50cfd54484d2c35d6913ea27
DIST xdotool-4.20251130.1.tar.gz 117349 BLAKE2B 6495a6cd172213a668ca5072676b1969c35f5ee4bf927ad89eac323d878cb25fa85ab56e7079d562c1915277b6196a5286000fb51ceb2603f710c3d65a2ab524 SHA512 f3434d933685d796622aaa6a886b355dffe14782d7ee7a75fbf59a58d1312215d080bcc9531e92e4a27a1043ebb2c7af22425a00da789e743ac507ff80fd0700
DIST xdotool-4.20260303.1.tar.gz 115029 BLAKE2B 2ce3e01a196bde842a82279aeae02c347b25f3bff88a27000be7e7fc283294ccc19b4c76856471c4afda432224d4af663f6b43dabc179b99b5738c75886e9a26 SHA512 2ec84a0856797d24c3fe7aa75cb643e37d1b2a2ff7dc332a11f9e88321592c4f0e2aa7a7e981ca98ca624fc120d1abb0021d97537555c43be77afc1b9a72803c

View File

@@ -0,0 +1,60 @@
# Copyright 1999-2026 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/"
# TODO: try old SRC_URI next bump in case the missing assets was not permanent,
# albeit the GH archive is usable as-is given nothing is generated
#SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz"
SRC_URI="
https://github.com/jordansissel/xdotool/archive/refs/tags/v${PV}.tar.gz
-> ${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
}