aboutsummaryrefslogtreecommitdiff
path: root/app-text/plover/plover-5.3.0.ebuild
blob: a9d5739e6cfa5b9cccd0f43a0302c667c6c0e79c (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13,14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1

inherit desktop distutils-r1

DESCRIPTION="Free and open source real-time stenography engine."
HOMEPAGE="https://www.opensteno.org/plover/"
SRC_URI="https://github.com/opensteno/plover/releases/download/v${PV}/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64"

RDEPEND="$(python_gen_cond_dep '
	dev-python/appdirs[${PYTHON_USEDEP}]
	dev-python/babel[${PYTHON_USEDEP}]
	dev-python/evdev[${PYTHON_USEDEP}]
	dev-python/hidapi[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/pkginfo[${PYTHON_USEDEP}]
	dev-python/plover-stroke[${PYTHON_USEDEP}]
	dev-python/psutil[${PYTHON_USEDEP}]
	dev-python/pygments[${PYTHON_USEDEP}]
	dev-python/pyserial[${PYTHON_USEDEP}]
	dev-python/pyside[${PYTHON_USEDEP}]
	dev-python/python-xlib[${PYTHON_USEDEP}]
	dev-python/readme-renderer[${PYTHON_USEDEP}]
	dev-python/requests-cache[${PYTHON_USEDEP}]
	dev-python/requests-futures[${PYTHON_USEDEP}]
	dev-python/rtf-tokenize[${PYTHON_USEDEP}]
	dev-python/wcwidth[${PYTHON_USEDEP}]
	dev-python/xkbcommon[${PYTHON_USEDEP}]
')"
BDEPEND="
	dev-python/pyside[tools]
"

distutils_enable_tests pytest

python_install_all() {
	default
	newicon "${PN}/assets/plover.png" "plover.png"
	make_desktop_entry plover Plover plover Utility
}

pkg_postinst() {
	elog "Install plover-plugin/lapwing-aio for Lapwing system support."
	elog "Plover's built-in Plugins Manager will not work in this package."
}