summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2016-12-29 19:38:31 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-01-04 00:13:21 +0100
commit0823413aaf4e4859861eaab79da4b4f28acec3a9 (patch)
tree7574082046239f6d9ddca55a5073493bdf3e6e72 /x11-misc/libinput-gestures
parentapp-text/flpsed: update SRC_URI and HOMEPAGE. (diff)
downloadgentoo-0823413aaf4e4859861eaab79da4b4f28acec3a9.tar.gz
gentoo-0823413aaf4e4859861eaab79da4b4f28acec3a9.tar.bz2
gentoo-0823413aaf4e4859861eaab79da4b4f28acec3a9.zip
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
Diffstat (limited to 'x11-misc/libinput-gestures')
-rw-r--r--x11-misc/libinput-gestures/Manifest1
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-2.15.ebuild33
-rw-r--r--x11-misc/libinput-gestures/libinput-gestures-9999.ebuild34
-rw-r--r--x11-misc/libinput-gestures/metadata.xml22
4 files changed, 90 insertions, 0 deletions
diff --git a/x11-misc/libinput-gestures/Manifest b/x11-misc/libinput-gestures/Manifest
new file mode 100644
index 000000000000..347915af5e54
--- /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 000000000000..d586babd724f
--- /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 000000000000..247b67f8e862
--- /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 000000000000..60f4aae4717f
--- /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>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</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>