From 5a231c20f9b2951a9ef3412c7f79d560c15f0960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 28 Apr 2015 14:12:40 +0200 Subject: xdotool-9999 --- x11-misc/xdotool/xdotool-9999.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 x11-misc/xdotool/xdotool-9999.ebuild diff --git a/x11-misc/xdotool/xdotool-9999.ebuild b/x11-misc/xdotool/xdotool-9999.ebuild new file mode 100644 index 0000000..8c58e18 --- /dev/null +++ b/x11-misc/xdotool/xdotool-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdotool/xdotool-2.20110530.1.ebuild,v 1.10 2014/01/07 16:56:09 vapier Exp $ + +EAPI=2 + +EGIT_REPO_URI="https://github.com/jordansissel/xdotool.git" + +inherit eutils toolchain-funcs flag-o-matic multilib git-r3 + +DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows" +HOMEPAGE="http://www.semicomplete.com/projects/xdotool/" +#SRC_URI="http://semicomplete.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="x11-libs/libXtst + x11-libs/libX11 + x11-libs/libXinerama + x11-libs/libxkbcommon" +DEPEND="${RDEPEND}" + +# The test wants to manualy start Xvfb, wont use VirtualX and it tries +# to run a full gnome-session. For such a tiny application i consider +# it overkill to rewrite the test scripts to not use it's own X server +# and add a full blown gnome just to run the tests. +RESTRICT="test" + +src_prepare() { + sed -i \ + -e "s/installheader post-install$/installheader/" \ + -e 's:\:$(PKG_CONFIG):' \ + Makefile || die "sed failed" +} + +src_compile() { + tc-export CC LD PKG_CONFIG + default +} + +src_install() { + emake PREFIX="${D}usr" INSTALLMAN="${D}usr/share/man" INSTALLLIB="${D}usr/$(get_libdir)" install || die + + dodoc CHANGELIST README + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} -- cgit v1.2.3