blob: 19858a2ae1d032d3f2843f2700d09b2077af3442 (
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
|
# 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
inherit distutils-r1 desktop pypi
DESCRIPTION="Free and open source real-time stenography engine."
HOMEPAGE="https://www.openstenoproject.org/plover/"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/hidapi[${PYTHON_USEDEP}]
dev-python/plover-stroke[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/pyside:6[gui,widgets,tools,${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}]
"
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
echo "StartupWMClass=org.openstenoproject.python3" >> linux/${PN}.desktop
}
src_install() {
distutils-r1_src_install
domenu linux/${PN}.desktop
doicon plover/assets/${PN}.png
newicon plover/assets/${PN}-icon.svg ${PN}.svg
}
|