diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-13 17:51:12 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-13 18:50:56 +0200 |
commit | a25015b378c5edc5aababcc18925b175d256c59c (patch) | |
tree | 3474061f078cbdab1d4b19db8e9f88985813bf24 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 24.05.1 version bump (diff) | |
download | gentoo-a25015b378c5edc5aababcc18925b175d256c59c.tar.gz gentoo-a25015b378c5edc5aababcc18925b175d256c59c.tar.bz2 gentoo-a25015b378c5edc5aababcc18925b175d256c59c.zip |
kde-apps/lokalize: 24.05.1 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-24.05.1.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index 9d0695777d13..a8a868df3207 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,2 +1,3 @@ DIST lokalize-24.02.2.tar.xz 2142872 BLAKE2B 7931e739593adf4bac0ef407f330143f01d48a49d339ad59ec393db7132e4312a499bd2c8316e9b27faeb15c481e81203c651d131957922b308f3bca6d4148fe SHA512 6cb0dff01139146968d56269494a64f35635a51c9ab4845e69502bf3d5a686feedd00755f4a015cbc035fcaba00e8d6d3cfbdb448963127357a35ef91e629ff4 DIST lokalize-24.05.0.tar.xz 2076136 BLAKE2B 49dd23abd3d0dfd58357f750ce9353d0511da8c4611f36e769a48a3dbf271a9b0e3a40901bc8440cdd4f79cad814b3bc46be6273e148dd16c7f17b82f1431e14 SHA512 f62f8fe3e7bdd9c4003880f1fdce90868e39e475f672f9a5c0301c1f747c48c06fd56730a76d3568cd4ea59da812fbe98fb7ef25c18abaa10ba79f7dda6de7c6 +DIST lokalize-24.05.1.tar.xz 2076220 BLAKE2B 18e5efbf1173edb11421fa9fa2a2755d39a111b5d1f9bc141425b33a6c819b76172d28c62c346f49032ceb23d2ab3d1a1a43e9e4c3043e7eb83683b747c47d55 SHA512 645f1ad5af860989d4d5b8014d24ff75d0f00f42648cc04a37c175b6da75159f400ecdde35febaca56aebe867ff84aa806ea3e3d7b15ebf70d10caa64a35bce1 diff --git a/kde-apps/lokalize/lokalize-24.05.1.ebuild b/kde-apps/lokalize/lokalize-24.05.1.ebuild new file mode 100644 index 000000000000..f713f1366b90 --- /dev/null +++ b/kde-apps/lokalize/lokalize-24.05.1.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.115.0 +QTMIN=5.15.12 +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 +} |