blob: 8ac4e6dfa8bc60a09a1ba97ad27b65195c26d172 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools optfeature xdg-utils
DESCRIPTION="Another free touch typing tutor program"
HOMEPAGE="https://klavaro.sourceforge.io/"
SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
BDEPEND="
dev-util/intltool
>=sys-devel/gettext-0.18.3
"
RDEPEND="
dev-libs/glib:2
net-misc/curl
x11-libs/gtk+:3
>=x11-libs/gtkdatabox-1.0.0
x11-libs/pango
"
DEPEND="${RDEPEND}"
PATCHES=(
# https://sourceforge.net/p/klavaro/patches/16/
"${FILESDIR}"/${PN}-3.13-datadir.patch
# https://sourceforge.net/p/klavaro/patches/17/
"${FILESDIR}"/${PN}-3.13-desktop-keywords.patch
)
src_prepare() {
default
eautoreconf
}
pkg_postinst() {
xdg_icon_cache_update
optfeature "instructions via synthesized speech" app-accessibility/espeak-ng
}
pkg_postrm() {
xdg_icon_cache_update
}
|