1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 KDE_HANDBOOK="forceoptional"
7 PYTHON_COMPAT=( python2_7 python3_{4,5} )
8 inherit python-single-r1 kde5
10 DESCRIPTION="KDE Applications 5 translation tool"
11 HOMEPAGE="https://www.kde.org/applications/development/lokalize
12 https://l10n.kde.org/tools"
16 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
18 DEPEND="${PYTHON_DEPS}
19 $(add_frameworks_dep kcompletion)
20 $(add_frameworks_dep kconfig)
21 $(add_frameworks_dep kconfigwidgets)
22 $(add_frameworks_dep kcoreaddons)
23 $(add_frameworks_dep kcrash)
24 $(add_frameworks_dep kdbusaddons)
25 $(add_frameworks_dep ki18n)
26 $(add_frameworks_dep kio)
27 $(add_frameworks_dep kitemviews)
28 $(add_frameworks_dep knotifications)
29 $(add_frameworks_dep kparts)
30 $(add_frameworks_dep kross)
31 $(add_frameworks_dep ktextwidgets)
32 $(add_frameworks_dep kwidgetsaddons)
33 $(add_frameworks_dep kxmlgui)
34 $(add_frameworks_dep sonnet)
37 $(add_qt_dep qtscript)
38 $(add_qt_dep qtsql 'sqlite')
39 $(add_qt_dep qtwidgets)
41 >=app-text/hunspell-1.2.8:=
44 dev-python/translate-toolkit[${PYTHON_USEDEP}]
48 python-single-r1_pkg_setup
54 python_fix_shebang "${ED}usr/share/${PN}"
60 if ! has_version dev-vcs/subversion ; then
61 elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion."