summaryrefslogtreecommitdiff
blob: 10c20cc5d12e5e585b8115a6b58c0d8e49e75298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
PYTHON_COMPAT=( python3_{7,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(){
	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
}