summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2021-01-11 14:18:46 +0100
committerhaarp <main.haarp@gmail.com>2021-01-11 14:43:48 +0100
commite66f749f22170ac8be0aaebec8a6f58dc39ae181 (patch)
treea49b30adf49bd556ece0f4974770a412ef5429db /x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild
parentcgal not needed anymore, newer one in Gentoo tree (diff)
downloadhaarp-e66f749f22170ac8be0aaebec8a6f58dc39ae181.tar.gz
haarp-e66f749f22170ac8be0aaebec8a6f58dc39ae181.tar.bz2
haarp-e66f749f22170ac8be0aaebec8a6f58dc39ae181.zip
Remove broken "gestures", replace with Gesture-Manager-X
Signed-off-by: haarp <main.haarp@gmail.com>
Diffstat (limited to 'x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild')
-rw-r--r--x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild b/x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild
new file mode 100644
index 0000000..0f17851
--- /dev/null
+++ b/x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_7,3_8} )
+
+inherit desktop git-r3
+
+DESCRIPTION="Graphical manager for setting libinput-gestures touchpad gestures"
+HOMEPAGE="https://github.com/RitwickVerma/Gesture-Manager-X"
+EGIT_REPO_URI="https://github.com/RitwickVerma/${PN}.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-3.18
+ x11-misc/libinput-gestures"
+
+src_prepare(){
+ sed -i -e 's:os.path.realpath(os.path.dirname(__file__)):os.path.dirname(os.path.realpath(__file__)):' main.py
+ mv gesture-manager-x.desktop{.in,}
+
+ eapply_user
+}
+
+src_install() {
+ exeinto /usr/share/gesture-manager-x
+ doexe main.py
+ insinto /usr/share/gesture-manager-x
+ doins *Helper.py *.glade icon.svg
+ dodoc README.md
+ domenu gesture-manager-x.desktop
+ dosym /usr/share/gesture-manager-x/main.py /usr/bin/gesture-manager-x
+}