summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 12:15:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-01-07 14:50:34 +0100
commita54056b6f66f8a872cfdf3c654bb1ebd585f2429 (patch)
tree9537d506bb8e7c1c72086f8a47fd71c4114f2adc /kde-apps/lokalize
parentkde-apps/libkomparediff2: 21.12.1 version bump (diff)
downloadgentoo-a54056b6f66f8a872cfdf3c654bb1ebd585f2429.tar.gz
gentoo-a54056b6f66f8a872cfdf3c654bb1ebd585f2429.tar.bz2
gentoo-a54056b6f66f8a872cfdf3c654bb1ebd585f2429.zip
kde-apps/lokalize: 21.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r--kde-apps/lokalize/Manifest1
-rw-r--r--kde-apps/lokalize/lokalize-21.12.1.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest
index d8219b46ec95..2234db27046c 100644
--- a/kde-apps/lokalize/Manifest
+++ b/kde-apps/lokalize/Manifest
@@ -1,2 +1,3 @@
DIST lokalize-21.08.3.tar.xz 2045936 BLAKE2B aa57ea5428db59d58352306b9aab2a79eb37e7d62a49132b440e23209f51e5c433d61282326e9d51e66f6770f609fcaa2322c57bcfaaed8183d90e8500705409 SHA512 d4368ccab3cbe3ea360fbd97f099dcbb46caaa4fe6595d7426ff94d34c2023b99dcee62e3634e54e0dc39e02768993b9c414982a2c6c061b230c33a5f337d6ff
DIST lokalize-21.12.0.tar.xz 2054812 BLAKE2B fa1cc5890d98dc5be43b6bee2c0ef750f0dff6ec286a2f2391caf9e721c6785a842966a0ecba7506d23b29bef59589b7efc57eeb67002a37be2be0ac4397396b SHA512 439f8d7442790a86a5a4ea250a3f072cd71c7abb4635b24f68aaa6c69eb87978bf72523d6792beb98fd4e34c42c9a5f4e54289b7242309d66a062a164a601c9a
+DIST lokalize-21.12.1.tar.xz 2055388 BLAKE2B b7fad1c325fd59e2629e0165aef79ed1ed7e96e18691ede7031668e9201476b553b21d967071c6b2ba946c9bb0164982c5d3b35634a1faac0da209155825a8e1 SHA512 d4e6b657437504ff2a6537c32c36bad0765879e46ef6255a507aa4707b5bf1710a5de4b5558d11e1b64f2b9e5edac680788baf8fc0b4997bb6d894e920d09d13
diff --git a/kde-apps/lokalize/lokalize-21.12.1.ebuild b/kde-apps/lokalize/lokalize-21.12.1.ebuild
new file mode 100644
index 000000000000..c1a8d22cc4a9
--- /dev/null
+++ b/kde-apps/lokalize/lokalize-21.12.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{8..10} )
+KFMIN=5.88.0
+QTMIN=5.15.2
+inherit python-single-r1 ecm kde.org optfeature
+
+DESCRIPTION="Localization tool for KDE software and other free and open source software"
+HOMEPAGE="https://apps.kde.org/lokalize/ https://l10n.kde.org/tools/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="test" # tests are broken, bug 739734
+
+DEPEND="${PYTHON_DEPS}
+ >=app-text/hunspell-1.2.8:=
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5[sqlite]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+"
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/translate-toolkit[${PYTHON_USEDEP}]
+ ')
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_install() {
+ ecm_src_install
+ rm "${ED}"/usr/share/lokalize/scripts/msgmerge.{py,rc} || die
+ python_fix_shebang "${ED}"/usr/share/${PN}
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "autofetch kde.org translations in new project wizard" dev-vcs/subversion
+ optfeature "spell and grammar checking" app-text/languagetool
+ fi
+ ecm_pkg_postinst
+}