summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/gesture-manager-x')
-rw-r--r--x11-misc/gesture-manager-x/Manifest1
-rw-r--r--x11-misc/gesture-manager-x/gesture-manager-x-9999.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/x11-misc/gesture-manager-x/Manifest b/x11-misc/gesture-manager-x/Manifest
new file mode 100644
index 0000000..07d0833
--- /dev/null
+++ b/x11-misc/gesture-manager-x/Manifest
@@ -0,0 +1 @@
+EBUILD gesture-manager-x-9999.ebuild 934 BLAKE2B e704a476b42dc77b3ae636c2fa9c5ab9cdd4757d1baae62bc64d597912a45d46c5ee81045e2038d080d36eb68fef4985fb8aada762aa1b5c42eb1b0ed1b460e1 SHA512 4ed5c3b05f372abce2859120047c401cb35996fb0b024c5fe81b258ccbb1993fda2c1c1627140cc7049a787bc2bde0410c52ab7c5df5007d707a904fad83e6c8
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
+}