diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-07 09:01:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-07 12:53:44 +0200 |
commit | d20c47f1f1d54ff2f0e6b444451c375d0d626bf3 (patch) | |
tree | e7742a84ca17b58bd63d34f35e8d8164f562dc14 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 22.04.3 version bump (diff) | |
download | gentoo-d20c47f1f1d54ff2f0e6b444451c375d0d626bf3.tar.gz gentoo-d20c47f1f1d54ff2f0e6b444451c375d0d626bf3.tar.bz2 gentoo-d20c47f1f1d54ff2f0e6b444451c375d0d626bf3.zip |
kde-apps/lokalize: 22.04.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r-- | kde-apps/lokalize/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/lokalize/lokalize-22.04.3.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index 2dd96c585539..fd5b931b31dc 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,2 +1,3 @@ DIST lokalize-21.12.3.tar.xz 2062092 BLAKE2B 2f5d635198d5b9e926afb90bfb89b80df5f18b1afae6eb3d83cf17d50e097b1c8e9ef0555922573ad34a044fa9e8fe4992957462dadb622437d24f07561f8b0a SHA512 f7564cfd726cb925d329223a46b9fa54f11cc86e420c70eda05ed2563f6bc44e39e682861eb9748c625833be1a1c6efd2e17c79f87a0ff90e000f2ae5af8304a DIST lokalize-22.04.2.tar.xz 2065060 BLAKE2B a31e6dd3efc36be0781abd0c25305d6bbee32774d343da654f2dda4ba7891eac6e204ba4120c7d61424d78a410300a432b2515332fa217bae7bd806fd06100fb SHA512 f6a5da60e5d6155f2decab11a887fb3e13720857cafd54d435298c642c3bbc097e63389ebe5c031987ceb70f413f88abe66caa6213576abce9a48a73a4b00140 +DIST lokalize-22.04.3.tar.xz 2070640 BLAKE2B 82c37cac87740190cddb0ee1a7878c31daa268e7470c5ce67809274d0b594aaafa507a428d5b119b52b2e103347a27afbea36d7711ed9b27d210b631a65fd16e SHA512 06ba8d440a17b2ab1c64d3bb07f5ba7f7b9f5abc8aa29b0925b4356b20ffbb08271f6b00d35e04b3566d808607c6469fb6af32f4950066620af20c7313e6230b diff --git a/kde-apps/lokalize/lokalize-22.04.3.ebuild b/kde-apps/lokalize/lokalize-22.04.3.ebuild new file mode 100644 index 000000000000..35208900e42a --- /dev/null +++ b/kde-apps/lokalize/lokalize-22.04.3.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.92.0 +QTMIN=5.15.4 +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 +} |