diff options
author | 2021-08-05 22:23:45 +0100 | |
---|---|---|
committer | 2021-08-05 22:31:15 +0100 | |
commit | d038fa25e5a315da2409d2af8a427849df316c9e (patch) | |
tree | 6a2e3dec15220a10673222200e578f2c3a503d4f /x11-misc/xdotool/xdotool-3.20210804.2.ebuild | |
parent | dev-perl/Safe-Isa: Version bump 1.000010 (diff) | |
download | gentoo-d038fa25e5a315da2409d2af8a427849df316c9e.tar.gz gentoo-d038fa25e5a315da2409d2af8a427849df316c9e.tar.bz2 gentoo-d038fa25e5a315da2409d2af8a427849df316c9e.zip |
x11-misc/xdotool: add 3.20210804.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'x11-misc/xdotool/xdotool-3.20210804.2.ebuild')
-rw-r--r-- | x11-misc/xdotool/xdotool-3.20210804.2.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/x11-misc/xdotool/xdotool-3.20210804.2.ebuild b/x11-misc/xdotool/xdotool-3.20210804.2.ebuild new file mode 100644 index 000000000000..63cc8018aa42 --- /dev/null +++ b/x11-misc/xdotool/xdotool-3.20210804.2.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 +} |