summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-08-25 10:16:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-08-25 10:28:50 +0200
commit1190d7fd7ef4a08c581a21ddadcd2ac1b0c8b887 (patch)
tree9587202ba2ec2969715bd92ba4d9381287d79874 /kde-apps/lokalize
parentkde-apps/libkomparediff2: 23.08.0 version bump (diff)
downloadgentoo-1190d7fd7ef4a08c581a21ddadcd2ac1b0c8b887.tar.gz
gentoo-1190d7fd7ef4a08c581a21ddadcd2ac1b0c8b887.tar.bz2
gentoo-1190d7fd7ef4a08c581a21ddadcd2ac1b0c8b887.zip
kde-apps/lokalize: 23.08.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-23.08.0.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest
index 634199dc1896..61dc84deb1a1 100644
--- a/kde-apps/lokalize/Manifest
+++ b/kde-apps/lokalize/Manifest
@@ -1 +1,2 @@
DIST lokalize-23.04.3.tar.xz 2117060 BLAKE2B 804bef2b3019f115526e80c7ffb65c4b835f00fbafe4849fb4893c9b2ad50d4c487dd5c975fb85c865d35b717a7dc2f351a0146a0d0b0e7d2acaf006c011b4c3 SHA512 89af001666dc903b057a03aeae4a01106aaa9c59060eb522d1d36909c6fb7f2e293ed8e222a24a1bb5087f551960c061b9852a9f47ab7fc36da30ba9152354c3
+DIST lokalize-23.08.0.tar.xz 2140612 BLAKE2B 0064e3954930647c78eebbe781e500a51a1c9efafb68b1ca71c615a95e257065758a6c57b41219cbe7e93ae1998c8d1601915902e13fc8e7eb76cfda9872cbe3 SHA512 195915a4e35b56a410567d06893054a1f34cfb441cfc966ac0cfb3c63d5e0df265b1c2d408af1c076e2101abea451a0f49054dad881055e3706ceb7dc9dbc3a8
diff --git a/kde-apps/lokalize/lokalize-23.08.0.ebuild b/kde-apps/lokalize/lokalize-23.08.0.ebuild
new file mode 100644
index 000000000000..374b637d3bf8
--- /dev/null
+++ b/kde-apps/lokalize/lokalize-23.08.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 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..11} )
+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
+}