diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-15 10:44:21 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-15 13:24:02 +0100 |
commit | 792ff613e0b3f80725b346c1a9c75a0dcb2b85f6 (patch) | |
tree | 6faf57d02f4e93c42baf018046800876e028f0f6 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 23.08.5 version bump (diff) | |
download | gentoo-792ff613e0b3f80725b346c1a9c75a0dcb2b85f6.tar.gz gentoo-792ff613e0b3f80725b346c1a9c75a0dcb2b85f6.tar.bz2 gentoo-792ff613e0b3f80725b346c1a9c75a0dcb2b85f6.zip |
kde-apps/lokalize: 23.08.5 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-23.08.5.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index b72c0492b08a..f95cdf836ca2 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1 +1,2 @@ DIST lokalize-23.08.4.tar.xz 2142760 BLAKE2B 505086c412ef69ec94977f40bd1fee493c301f1d26ef8c2b6e516aa535133d245f3761c2dc46b25e0eeca919398bdec92a843f2068bb01d36d84a637f1d0cf92 SHA512 03e64933d09512e1210178045978f4e870205ab2c82befbca1446f11009bb24c5296ba17ee63f4b84a9c1baebf25b7d853c44ce264918f230ab7984c3c4ce0f3 +DIST lokalize-23.08.5.tar.xz 2142784 BLAKE2B 907825b24df33c17f696be771141fa0054f15ae4f3575c7f1aa816f0a0120a874dffa44b326f270c519142b70f948c4de78ac0749c5518a45af5129a37808e1c SHA512 37639cb714d0dea7e10088a1e790624cef82b3f9bd1d0c2a4a71ab131d88d077951496f87a12d0d16df22801042e7104244ee8ac28d0fc5b928cf1392bf787d4 diff --git a/kde-apps/lokalize/lokalize-23.08.5.ebuild b/kde-apps/lokalize/lokalize-23.08.5.ebuild new file mode 100644 index 000000000000..b75cdc285776 --- /dev/null +++ b/kde-apps/lokalize/lokalize-23.08.5.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +PYTHON_COMPAT=( python3_{10..12} ) +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit python-single-r1 ecm gear.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 +} |