aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-17 22:18:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-20 13:09:30 +0200
commit5f2db2e3b2fc4be884e06c2f24d017911637debe (patch)
tree41993883f7428c209678db1a8204baf46c5c16f6 /kde-apps/lokalize
parentkde-apps/libkomparediff2: 24.05.0 version bump (diff)
downloadkde-5f2db2e3b2fc4be884e06c2f24d017911637debe.tar.gz
kde-5f2db2e3b2fc4be884e06c2f24d017911637debe.tar.bz2
kde-5f2db2e3b2fc4be884e06c2f24d017911637debe.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/Manifest1
-rw-r--r--kde-apps/lokalize/lokalize-24.05.0.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest
index 2a3aa6ae82..63ec4a815b 100644
--- a/kde-apps/lokalize/Manifest
+++ b/kde-apps/lokalize/Manifest
@@ -1 +1,2 @@
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 0000000000..f713f1366b
--- /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
+}