diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-04 13:25:32 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-11-04 14:21:37 +0100 |
commit | 25f0b8186e7f54961023747325c044db2c2b24c7 (patch) | |
tree | d7c0700d948c9ac18edfb283e136deced9a19a71 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 21.08.3 version bump (diff) | |
download | gentoo-25f0b8186e7f54961023747325c044db2c2b24c7.tar.gz gentoo-25f0b8186e7f54961023747325c044db2c2b24c7.tar.bz2 gentoo-25f0b8186e7f54961023747325c044db2c2b24c7.zip |
kde-apps/lokalize: 21.08.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-21.08.3.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index 2c0cdac9aef1..67bf1eaab3a9 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,2 +1,3 @@ DIST lokalize-21.04.3.tar.xz 2023364 BLAKE2B 8b8790e72e1b4a6e7389adf9577ed1d392693ec14072d314d8c3d0e269a6d40c11acf22537bc328831de9a8e28a6b948fc02ac4956a325b887172e78fa56f9bd SHA512 b336fe464c123b60e4de4ba8bda0f34e2ba5eaf7708879179b9671bc33d8b031f81d595d089c24b4275ea56032e9867653cd98bf21c3d0c3db125564c057e21d DIST lokalize-21.08.2.tar.xz 2045608 BLAKE2B ed7782fe631a36198d7024599f1628cd434892f2fa98d7c367655e2e93011fd06235cc70021237df6756c49826418dace9b854c67d291e350103853200ea5cab SHA512 ba103f55b9eb1c148e7734c68894d6b31bcdd27761a65105dcd763b75767f0ca8bc7f3cb6ecbdd311bbdfaa61a9de7fc3fbf44bde881df8b5c221e2da2a7ac28 +DIST lokalize-21.08.3.tar.xz 2045936 BLAKE2B aa57ea5428db59d58352306b9aab2a79eb37e7d62a49132b440e23209f51e5c433d61282326e9d51e66f6770f609fcaa2322c57bcfaaed8183d90e8500705409 SHA512 d4368ccab3cbe3ea360fbd97f099dcbb46caaa4fe6595d7426ff94d34c2023b99dcee62e3634e54e0dc39e02768993b9c414982a2c6c061b230c33a5f337d6ff diff --git a/kde-apps/lokalize/lokalize-21.08.3.ebuild b/kde-apps/lokalize/lokalize-21.08.3.ebuild new file mode 100644 index 000000000000..cdbeea57ce8e --- /dev/null +++ b/kde-apps/lokalize/lokalize-21.08.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 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.84.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/kross-${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 +} |