commit:     30ebe2953f7c0d9a3e3fa40d6615c26aeef90f3b
Author:     Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Thu Nov 20 15:26:02 2014 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Nov 20 15:26:02 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=30ebe295

Initial import, ctrl+v broken.

Package-Manager: portage-2.2.14
Manifest-Sign-Key: 62EEF090

---
 x11-misc/xdotool/ChangeLog           |  5 ++++
 x11-misc/xdotool/metadata.xml        |  8 ++++++
 x11-misc/xdotool/xdotool-9999.ebuild | 50 ++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/x11-misc/xdotool/ChangeLog b/x11-misc/xdotool/ChangeLog
new file mode 100644
index 0000000..61c1b01
--- /dev/null
+++ b/x11-misc/xdotool/ChangeLog
@@ -0,0 +1,5 @@
+*xdotool-9999 (20 Nov 2014)
+
+  20 Nov 2014; Michael Weber <x...@gentoo.org> +metadata.xml,
+  +xdotool-9999.ebuild:
+  Initial import, ctrl+v broken.

diff --git a/x11-misc/xdotool/metadata.xml b/x11-misc/xdotool/metadata.xml
new file mode 100644
index 0000000..5b80fb9
--- /dev/null
+++ b/x11-misc/xdotool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer>
+<email>x...@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>

diff --git a/x11-misc/xdotool/xdotool-9999.ebuild 
b/x11-misc/xdotool/xdotool-9999.ebuild
new file mode 100644
index 0000000..cd10447
--- /dev/null
+++ b/x11-misc/xdotool/xdotool-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-r3
+
+DESCRIPTION="fake keyboard/mouse input, window management, and more "
+HOMEPAGE="http://www.semicomplete.com/projects/xdotool/#idp9392";
+EGIT_REPO_URI="https://github.com/jordansissel/${PN}.git";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+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\>:$(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
+}

Reply via email to