commit:     0823413aaf4e4859861eaab79da4b4f28acec3a9
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp 
<DOT> ua>
AuthorDate: Thu Dec 29 17:38:31 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 23:13:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0823413a

x11-misc/libinput-gestures: new package.

Libinput-gestures is a utility which reads libinput gestures from your touchpad
and maps them to gestures you configure in a configuration file. Each gesture
can be configured to activate a shell command which is typically an xdotool
command to action desktop/window/application keyboard combinations and
commands.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/3204

 x11-misc/libinput-gestures/Manifest                |  1 +
 .../libinput-gestures-2.15.ebuild                  | 33 +++++++++++++++++++++
 .../libinput-gestures-9999.ebuild                  | 34 ++++++++++++++++++++++
 x11-misc/libinput-gestures/metadata.xml            | 22 ++++++++++++++
 4 files changed, 90 insertions(+)

diff --git a/x11-misc/libinput-gestures/Manifest 
b/x11-misc/libinput-gestures/Manifest
new file mode 100644
index 00000000..347915a
--- /dev/null
+++ b/x11-misc/libinput-gestures/Manifest
@@ -0,0 +1 @@
+DIST libinput-gestures-2.15.tar.gz 11468 SHA256 
95a91a2c7c4c9f91c035f7defb6868a92f6c61218d0fcb0a87b0fa63527c2912 SHA512 
b0449ce3355e700655cf450b62e239566f2a49127bb4afeda659e04026657d86f13dbfd101399428771b92323e6c55cf40f75bad79025ff80eb9003d85345c23
 WHIRLPOOL 
9ff81290ecadc17bf2fbfeeb0a5ce1ff0adb059c1675f111a18144f13ac058f5efda445f139fb6158b17ec81a0b6014400d9c54fa8c393f206f4e4c71382b310

diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild 
b/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild
new file mode 100644
index 00000000..d586bab
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}";
+SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="kde gtk"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-libs/libinput
+       x11-misc/xdotool
+       x11-misc/wmctrl"
+DEPEND="dev-libs/libinput
+       dev-util/desktop-file-utils
+       gtk? ( x11-libs/gtk+:3 )
+       kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+       elog "You must be in the input group to read the touchpad device."
+}

diff --git a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild 
b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
new file mode 100644
index 00000000..247b67f
--- /dev/null
+++ b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit git-r3 python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/${PN}";
+EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git";
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="kde gtk"
+
+RDEPEND="${PYTHON_DEPS}
+       dev-libs/libinput
+       x11-misc/xdotool
+       x11-misc/wmctrl"
+DEPEND="dev-libs/libinput
+       dev-util/desktop-file-utils
+       gtk? ( x11-libs/gtk+:3 )
+       kde? ( kde-plasma/kde-cli-tools:5 )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_postinst() {
+       elog "You must be in the input group to read the touchpad device."
+}

diff --git a/x11-misc/libinput-gestures/metadata.xml 
b/x11-misc/libinput-gestures/metadata.xml
new file mode 100644
index 00000000..60f4aae
--- /dev/null
+++ b/x11-misc/libinput-gestures/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Vladimir Pavljuchenkov</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+       This is a utility which reads libinput gestures from your touchpad
+       and maps them to gestures you configure in a configuration file.
+       Each gesture can be configured to activate a shell command which is
+       typically an xdotool command to action desktop/window/application
+       keyboard combinations and commands.
+       </longdescription>
+       <upstream>
+               <remote-id 
type="github">bulletmark/libinput-gestures</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to