# 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." }