diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-21 22:43:49 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-23 17:59:07 +0200 |
commit | 20c0a8f36bcd99700c5a7cba41fd5cbc2a26ec60 (patch) | |
tree | b2103db5ab700d93ea0444f17dad73b7e00b9fc3 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 24.05.0 version bump (diff) | |
download | gentoo-20c0a8f36bcd99700c5a7cba41fd5cbc2a26ec60.tar.gz gentoo-20c0a8f36bcd99700c5a7cba41fd5cbc2a26ec60.tar.bz2 gentoo-20c0a8f36bcd99700c5a7cba41fd5cbc2a26ec60.zip |
kde-apps/lokalize: 24.05.0 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.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index d1434ec76de6..65f1707deed8 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.04.90.tar.xz 2076072 BLAKE2B 857593b162ea42b83a75e14215cb1a4620e4052ff5f334a9ceba70e05a5bfea424612bc1e17e4cb2a2689352e47d2c0e3c40625b529e0b0e3f9d0110f502208b SHA512 99bd15674f8e0e780b41d678e9ffd6db443da4ab035e4df2767f5def0a2601be7f5b5c7438770513425e5ba73ead7d54205802f51fe377c1ea66106f3cc027b4 +DIST lokalize-24.05.0.tar.xz 2076136 BLAKE2B 49dd23abd3d0dfd58357f750ce9353d0511da8c4611f36e769a48a3dbf271a9b0e3a40901bc8440cdd4f79cad814b3bc46be6273e148dd16c7f17b82f1431e14 SHA512 f62f8fe3e7bdd9c4003880f1fdce90868e39e475f672f9a5c0301c1f747c48c06fd56730a76d3568cd4ea59da812fbe98fb7ef25c18abaa10ba79f7dda6de7c6 diff --git a/kde-apps/lokalize/lokalize-24.05.0.ebuild b/kde-apps/lokalize/lokalize-24.05.0.ebuild new file mode 100644 index 000000000000..f713f1366b90 --- /dev/null +++ b/kde-apps/lokalize/lokalize-24.05.0.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 +} |