diff options
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/lokalize/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/lokalize/lokalize-23.08.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index eeb668c18893..4b8cc997b278 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,2 +1,3 @@ DIST lokalize-23.04.3.tar.xz 2117060 BLAKE2B 804bef2b3019f115526e80c7ffb65c4b835f00fbafe4849fb4893c9b2ad50d4c487dd5c975fb85c865d35b717a7dc2f351a0146a0d0b0e7d2acaf006c011b4c3 SHA512 89af001666dc903b057a03aeae4a01106aaa9c59060eb522d1d36909c6fb7f2e293ed8e222a24a1bb5087f551960c061b9852a9f47ab7fc36da30ba9152354c3 DIST lokalize-23.08.3.tar.xz 2142504 BLAKE2B 9428d0fe01708b769a4889a5a7b6a8ddeda061aaae883f0432676bb93765d5c5faf960cf0d49e8e8f68bf1870f7a1cc7ed7766f710587cdf9dcadb0e51530edf SHA512 e7fcdfdbb9713a3a34ad296e9dbc863cd9b76c29069fdb95ba83c58459fe543dcea990bcc410beffe645543c52a052cfdfa0a28e2eb7650565d8bb0da4b77980 +DIST lokalize-23.08.4.tar.xz 2142760 BLAKE2B 505086c412ef69ec94977f40bd1fee493c301f1d26ef8c2b6e516aa535133d245f3761c2dc46b25e0eeca919398bdec92a843f2068bb01d36d84a637f1d0cf92 SHA512 03e64933d09512e1210178045978f4e870205ab2c82befbca1446f11009bb24c5296ba17ee63f4b84a9c1baebf25b7d853c44ce264918f230ab7984c3c4ce0f3 diff --git a/kde-apps/lokalize/lokalize-23.08.4.ebuild b/kde-apps/lokalize/lokalize-23.08.4.ebuild new file mode 100644 index 000000000000..374b637d3bf8 --- /dev/null +++ b/kde-apps/lokalize/lokalize-23.08.4.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 +} |