diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-01 21:15:25 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-01 22:19:15 +0100 |
commit | 567594b2e9f58bf9b2605400f2c3cab17151ff0f (patch) | |
tree | e1786a807b0dd8c5064ecf46a21a570b8fc7efd2 /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 24.01.95 version bump (diff) | |
download | kde-567594b2e9f58bf9b2605400f2c3cab17151ff0f.tar.gz kde-567594b2e9f58bf9b2605400f2c3cab17151ff0f.tar.bz2 kde-567594b2e9f58bf9b2605400f2c3cab17151ff0f.zip |
kde-apps/lokalize: 24.01.95 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.01.95.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index 90dc863d41..8c06a96d39 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1 +1,2 @@ DIST lokalize-24.01.90.tar.xz 2140920 BLAKE2B ba3b595fde93cec8677637a942159421e50e91244fee94d33860ebcb552a1fd5a76c9c46f9d9c114ec3b96fda8f3bd9018839c0528687f94d2573a63cdd89f36 SHA512 eb2967cecdc14fe080dbe4d8a94e5d88e37c14964a3a0db35669331faf963e85c8cdeae6548c529c4cfdcc004e243a3fd1cc1a983afbd15df2a3691e0ab08040 +DIST lokalize-24.01.95.tar.xz 2140944 BLAKE2B f8f8180c6fdcd7bdc9b33cf3bf49b71f837c95218c302bd999448d6dc53192b309ef6b0d9e4da24bda5c78124ad0cfebc1db751aea09dece1b5ed875612dbd3a SHA512 ca5c9f9e75fa1cfdb8cc8247d29b4a4db4b0985296b33821e16254c8bfbe86e1392575336aecd8ce8ddf8caa0c47ac29d7a81b3822bcb473e59d37649d7e51a5 diff --git a/kde-apps/lokalize/lokalize-24.01.95.ebuild b/kde-apps/lokalize/lokalize-24.01.95.ebuild new file mode 100644 index 0000000000..a19c8ea8ba --- /dev/null +++ b/kde-apps/lokalize/lokalize-24.01.95.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.113.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 +} |