commit:     63de2489cdcd1fe39213897110ae2d3426e187d9
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  7 19:34:22 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Dec  7 21:27:38 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=63de2489

dev-libs/libinput: initial ebuild

As contributed by Valentin David with some updates wrt license and
dependencies.

Has problems with unittests.

---
 dev-libs/libinput/libinput-0.6.0.ebuild | 37 +++++++++++++++++++++++++++++++++
 dev-libs/libinput/metadata.xml          | 13 ++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-libs/libinput/libinput-0.6.0.ebuild 
b/dev-libs/libinput/libinput-0.6.0.ebuild
new file mode 100644
index 0000000..f3d48ef
--- /dev/null
+++ b/dev-libs/libinput/libinput-0.6.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+DESCRIPTION="Library to handle input devices in Wayland"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/libinput/";
+SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz";
+
+# License appears to be a variant of libtiff
+LICENSE="libtiff"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc gtk test"
+
+RDEPEND="
+       >=dev-libs/libevdev-0.4
+       >=sys-libs/mtdev-1.1
+       virtual/libudev
+       gtk? (
+               dev-libs/glib:2
+               x11-libs/cairo
+               x11-libs/gtk+:3 )
+"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )
+       test? ( >=dev-libs/check-0.9.10 )
+"
+# tests can even use: dev-util/valgrind
+
+src_configure() {
+       econf \
+               $(use_enable gtk event-gui) \
+               $(use_enable test tests) \
+               DOXYGEN=$(usex doc $(type -P doxygen) "")
+}

diff --git a/dev-libs/libinput/metadata.xml b/dev-libs/libinput/metadata.xml
new file mode 100644
index 0000000..fe065d7
--- /dev/null
+++ b/dev-libs/libinput/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>gnome</herd>
+  <longdescription lang="en">
+libinput is a library to handle input devices in Wayland compositors
+and to provide a generic X.Org input driver. It provides device
+detection, device handling, input device event processing and
+abstraction so minimize the amount of custom input code compositors
+need to provide the common set of functionality that users
+expect.
+  </longdescription>
+</pkgmetadata>

Reply via email to