commit:     f62c37bdc700a7e7e830ccf3460bdc410d644767
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 11:07:54 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 11:20:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62c37bd

x11-misc/xdotool: add 3.20210903.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 x11-misc/xdotool/Manifest                    |  1 +
 x11-misc/xdotool/xdotool-3.20210903.1.ebuild | 50 ++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/x11-misc/xdotool/Manifest b/x11-misc/xdotool/Manifest
index f293c7a345b..1bb17c24e58 100644
--- a/x11-misc/xdotool/Manifest
+++ b/x11-misc/xdotool/Manifest
@@ -1,2 +1,3 @@
 DIST xdotool-3.20160805.1.tar.gz 105388 BLAKE2B 
b836bd9c408bc4f7de562a1dd1fe18142155dc486b01912462b6d1cebc5f3f4094a407556c9f50cafb4ca3a17149e6f69303706730aabdaf94abc6d4b817d351
 SHA512 
e27b1029ee954ea17643ed489a00a1856e5687b03772c0f10a8e50cde3c3c957b57a3ba9890005474a744a228ef4827a83770d6890479c37a1f98f4fd7b1ff6c
 DIST xdotool-3.20210804.2.tar.gz 114644 BLAKE2B 
7002f87061bae21968ba5bd37e0974ca0f2000d6d54c400da491ecdf37110e0990fc7eb6d2500a3838b5bb969c7ea2394b2f65194bc64ece32f8fb65feead257
 SHA512 
45eaa0a2bdff0bdbd8bbe1374e72d58beccdc908581d40867dbacb4209a6273b040b332a6b95ddc8e7fa8d018734c016c1687f1d6963395da3f100799ffa079d
+DIST xdotool-3.20210903.1.tar.gz 115051 BLAKE2B 
d1be4fc2f5c86991804b63b85c95748dc04098f85a515b3427d980dac3d355133da0408d3e91a39e5363ae6242b02d268a8b5bc014fdd5faf51e43e24fb54176
 SHA512 
446ba8d354031df6a21957df92220c7dcaae5bacbb8878568a57f31097db72a88701717ec8bcd35cca3f5356bfaf47eb3ed65d2159f03b0c7a7ae5550a9b1dce

diff --git a/x11-misc/xdotool/xdotool-3.20210903.1.ebuild 
b/x11-misc/xdotool/xdotool-3.20210903.1.ebuild
new file mode 100644
index 00000000000..63cc8018aa4
--- /dev/null
+++ b/x11-misc/xdotool/xdotool-3.20210903.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="examples"
+
+# Many the tests want to manually start Xvfb regardless of whether there
+# is an X server running or not (i.e. does not play nicely with virtualx),
+# some tests require x11-wm/openbox, some try to run a complete Gnome
+# session. All of them require a Ruby interpreter with dev-ruby/minitest
+# installed. In short, supporting tests here will need MUCH work.
+RESTRICT="test"
+
+RDEPEND="x11-libs/libX11
+       x11-libs/libXi
+       x11-libs/libXinerama
+       x11-libs/libXtst
+       x11-libs/libxkbcommon"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+       x11-base/xorg-proto"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-3.20210804.2-no_hardcoded_pkg-config.patch
+       "${FILESDIR}"/${PN}-3.20210804.2-no_ldconfig.patch
+)
+
+DOCS=( CHANGELIST README.md )
+
+src_compile() {
+       tc-export CC LD PKG_CONFIG
+       emake PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+       emake PREFIX="${ED}/usr" INSTALLMAN="${ED}/usr/share/man" 
INSTALLLIB="${ED}/usr/$(get_libdir)" install
+
+       use examples && DOCS+=( examples )
+       einstalldocs
+}

Reply via email to