summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-03-01 12:29:08 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-03-02 12:57:33 +0100
commit9cf7dc3d319cfb5de19ed838ca4a9d08c8ab9e8d (patch)
treed812e58ef4e95a3a23cda850d729e58a73801889 /kde-apps/lokalize
parentkde-apps/libkomparediff2: 22.12.3 version bump (diff)
downloadgentoo-9cf7dc3d319cfb5de19ed838ca4a9d08c8ab9e8d.tar.gz
gentoo-9cf7dc3d319cfb5de19ed838ca4a9d08c8ab9e8d.tar.bz2
gentoo-9cf7dc3d319cfb5de19ed838ca4a9d08c8ab9e8d.zip
kde-apps/lokalize: 22.12.3 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-22.12.3.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest
index b7a56083798e..428a2dd35d1a 100644
--- a/kde-apps/lokalize/Manifest
+++ b/kde-apps/lokalize/Manifest
@@ -1,2 +1,3 @@
DIST lokalize-22.08.3.tar.xz 2070908 BLAKE2B 74ba6cb6c8f7ba739fa8da54b29017988b28844dc0fb798fa894a32b19e4d402bae2e61192aa721024a0d09224ba46a0fa7cbf49ccf69651f5ecf93e32b94865 SHA512 6b27064b493f5117df8fffdad7e306758f9b7eb2c3000c9247107b299f69d1e43a8d765eb18c97afaeb486d694cf563a1b9c6da8f6df3899b7a69087756709ad
DIST lokalize-22.12.2.tar.xz 2114748 BLAKE2B 9ed2deea80cc02d985ba831ca31bd585e80fe21f6eb531de2750f1b50df3cedb609e81e4cbb494d38895f9307a4e1c76c59a627ebb95c58b8d74566c7385984f SHA512 b79f20258e21b511a41719a6248a32bc194d53b6d241d998de304c100d050009c5c18d0b97e36fcc73f0445b3fc02c2ecf481e69ca0fcc206ab531d540030480
+DIST lokalize-22.12.3.tar.xz 2115776 BLAKE2B 658482145e9a0dd8e6192542a1431d50091877ae2f2dc346f3894c0ad8700d2df3517103fe41a679773c560feda65fe319145211c5af443764b37166369a1f37 SHA512 4c6e3cdb8b04eede20412d682925b781a4578c97811e38b964bef31bf1c42a2c19cc070394366d1af85febff049cf446349b7b6548538dacb0399acefef0c1d3
diff --git a/kde-apps/lokalize/lokalize-22.12.3.ebuild b/kde-apps/lokalize/lokalize-22.12.3.ebuild
new file mode 100644
index 000000000000..65d15d56e78f
--- /dev/null
+++ b/kde-apps/lokalize/lokalize-22.12.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{9..11} )
+KFMIN=5.101.0
+QTMIN=5.15.5
+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
+}