1 |
commit: 4acd90b9963d4edff8c213cc99cd3e395a47e883 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 07:06:12 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 07:06:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4acd90b9 |
7 |
|
8 |
kde-apps/lokalize: 20.08.2 version bump |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-apps/lokalize/lokalize-20.08.2.ebuild | 74 +++++++++++++++++++++++++++++++ |
13 |
1 file changed, 74 insertions(+) |
14 |
|
15 |
diff --git a/kde-apps/lokalize/lokalize-20.08.2.ebuild b/kde-apps/lokalize/lokalize-20.08.2.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..75ad7f645d |
18 |
--- /dev/null |
19 |
+++ b/kde-apps/lokalize/lokalize-20.08.2.ebuild |
20 |
@@ -0,0 +1,74 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+ECM_HANDBOOK="forceoptional" |
27 |
+PYTHON_COMPAT=( python3_{7,8} ) |
28 |
+KFMIN=5.72.0 |
29 |
+QTMIN=5.14.2 |
30 |
+inherit python-single-r1 ecm kde.org optfeature |
31 |
+ |
32 |
+DESCRIPTION="KDE Applications 5 translation tool" |
33 |
+HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize |
34 |
+https://l10n.kde.org/tools/" |
35 |
+ |
36 |
+LICENSE="GPL-2" # TODO: CHECK |
37 |
+SLOT="5" |
38 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
39 |
+IUSE="" |
40 |
+ |
41 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
42 |
+ |
43 |
+RESTRICT+=" test" # tests are broken, bug 739734 |
44 |
+ |
45 |
+DEPEND="${PYTHON_DEPS} |
46 |
+ >=app-text/hunspell-1.2.8:= |
47 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
48 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
49 |
+ >=dev-qt/qtscript-${QTMIN}:5 |
50 |
+ >=dev-qt/qtsql-${QTMIN}:5[sqlite] |
51 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
52 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
53 |
+ >=kde-frameworks/kcompletion-${KFMIN}:5 |
54 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
55 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
56 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
57 |
+ >=kde-frameworks/kcrash-${KFMIN}:5 |
58 |
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
59 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
60 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
61 |
+ >=kde-frameworks/kitemviews-${KFMIN}:5 |
62 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
63 |
+ >=kde-frameworks/kparts-${KFMIN}:5 |
64 |
+ >=kde-frameworks/kross-${KFMIN}:5 |
65 |
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
66 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
67 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
68 |
+ >=kde-frameworks/sonnet-${KFMIN}:5 |
69 |
+" |
70 |
+RDEPEND="${DEPEND} |
71 |
+ $(python_gen_cond_dep ' |
72 |
+ dev-python/translate-toolkit[${PYTHON_MULTI_USEDEP}] |
73 |
+ ') |
74 |
+" |
75 |
+ |
76 |
+pkg_setup() { |
77 |
+ python-single-r1_pkg_setup |
78 |
+ ecm_pkg_setup |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ ecm_src_install |
83 |
+ python_fix_shebang "${ED}/usr/share/${PN}" |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
88 |
+ elog "Optional dependencies:" |
89 |
+ optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion |
90 |
+ optfeature "msgmerge tool" "kde-apps/kross-interpreters:${SLOT}[python]" |
91 |
+ optfeature "Spell and grammar checking" app-text/languagetool |
92 |
+ fi |
93 |
+ ecm_pkg_postinst |
94 |
+} |