Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdotool/
Date: Thu, 09 Sep 2021 11:20:37
Message-Id: 1631186423.f62c37bdc700a7e7e830ccf3460bdc410d644767.marecki@gentoo
1 commit: f62c37bdc700a7e7e830ccf3460bdc410d644767
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 9 11:07:54 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 9 11:20:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f62c37bd
7
8 x11-misc/xdotool: add 3.20210903.1
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 x11-misc/xdotool/Manifest | 1 +
13 x11-misc/xdotool/xdotool-3.20210903.1.ebuild | 50 ++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/x11-misc/xdotool/Manifest b/x11-misc/xdotool/Manifest
17 index f293c7a345b..1bb17c24e58 100644
18 --- a/x11-misc/xdotool/Manifest
19 +++ b/x11-misc/xdotool/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xdotool-3.20160805.1.tar.gz 105388 BLAKE2B b836bd9c408bc4f7de562a1dd1fe18142155dc486b01912462b6d1cebc5f3f4094a407556c9f50cafb4ca3a17149e6f69303706730aabdaf94abc6d4b817d351 SHA512 e27b1029ee954ea17643ed489a00a1856e5687b03772c0f10a8e50cde3c3c957b57a3ba9890005474a744a228ef4827a83770d6890479c37a1f98f4fd7b1ff6c
22 DIST xdotool-3.20210804.2.tar.gz 114644 BLAKE2B 7002f87061bae21968ba5bd37e0974ca0f2000d6d54c400da491ecdf37110e0990fc7eb6d2500a3838b5bb969c7ea2394b2f65194bc64ece32f8fb65feead257 SHA512 45eaa0a2bdff0bdbd8bbe1374e72d58beccdc908581d40867dbacb4209a6273b040b332a6b95ddc8e7fa8d018734c016c1687f1d6963395da3f100799ffa079d
23 +DIST xdotool-3.20210903.1.tar.gz 115051 BLAKE2B d1be4fc2f5c86991804b63b85c95748dc04098f85a515b3427d980dac3d355133da0408d3e91a39e5363ae6242b02d268a8b5bc014fdd5faf51e43e24fb54176 SHA512 446ba8d354031df6a21957df92220c7dcaae5bacbb8878568a57f31097db72a88701717ec8bcd35cca3f5356bfaf47eb3ed65d2159f03b0c7a7ae5550a9b1dce
24
25 diff --git a/x11-misc/xdotool/xdotool-3.20210903.1.ebuild b/x11-misc/xdotool/xdotool-3.20210903.1.ebuild
26 new file mode 100644
27 index 00000000000..63cc8018aa4
28 --- /dev/null
29 +++ b/x11-misc/xdotool/xdotool-3.20210903.1.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows"
39 +HOMEPAGE="https://www.semicomplete.com/projects/xdotool/"
40 +SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
45 +IUSE="examples"
46 +
47 +# Many the tests want to manually start Xvfb regardless of whether there
48 +# is an X server running or not (i.e. does not play nicely with virtualx),
49 +# some tests require x11-wm/openbox, some try to run a complete Gnome
50 +# session. All of them require a Ruby interpreter with dev-ruby/minitest
51 +# installed. In short, supporting tests here will need MUCH work.
52 +RESTRICT="test"
53 +
54 +RDEPEND="x11-libs/libX11
55 + x11-libs/libXi
56 + x11-libs/libXinerama
57 + x11-libs/libXtst
58 + x11-libs/libxkbcommon"
59 +DEPEND="${RDEPEND}"
60 +BDEPEND="virtual/pkgconfig
61 + x11-base/xorg-proto"
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-3.20210804.2-no_hardcoded_pkg-config.patch
65 + "${FILESDIR}"/${PN}-3.20210804.2-no_ldconfig.patch
66 +)
67 +
68 +DOCS=( CHANGELIST README.md )
69 +
70 +src_compile() {
71 + tc-export CC LD PKG_CONFIG
72 + emake PREFIX="${EPREFIX}/usr"
73 +}
74 +
75 +src_install() {
76 + emake PREFIX="${ED}/usr" INSTALLMAN="${ED}/usr/share/man" INSTALLLIB="${ED}/usr/$(get_libdir)" install
77 +
78 + use examples && DOCS+=( examples )
79 + einstalldocs
80 +}