diff options
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r-- | kde-apps/lokalize/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/lokalize/lokalize-22.08.0.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index a8b90da64a0f..cd1dde08d7b3 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,3 +1,5 @@ DIST lokalize-22.04.3.tar.xz 2070640 BLAKE2B 82c37cac87740190cddb0ee1a7878c31daa268e7470c5ce67809274d0b594aaafa507a428d5b119b52b2e103347a27afbea36d7711ed9b27d210b631a65fd16e SHA512 06ba8d440a17b2ab1c64d3bb07f5ba7f7b9f5abc8aa29b0925b4356b20ffbb08271f6b00d35e04b3566d808607c6469fb6af32f4950066620af20c7313e6230b +DIST lokalize-22.08.0.tar.xz 2070052 BLAKE2B 364ca5c5d658e3e90d899e77e714bfb460f2bf4f48da1697642671091649285ebdbd370192b8b9f6fad820407fe5e741e80cd3e044b073ce23fb9754e180c216 SHA512 146b2efd2f94f65bb7132f034cb2c04118219f7690bc055418dbdfb3a488a44f2e7c865cbce7d66ce6a708976df8d63d61505dcd8346fc0663df79f6b7eaf9ed EBUILD lokalize-22.04.3.ebuild 1904 BLAKE2B 3f56191423ee200741fc7e55e2c7b8f400cfbc799501eed3887eba9bf0bbe5d714c5ef28de5966f810851a0ac8ec153c6f785dc35d8c95277e86abc34dbb78a6 SHA512 b42b779971ae8e641e5f905cf413f6353f752620775d21e4208f149a6f23f8014dee25c62bacee3e1cae652b3331985013c2a03df2921840076c448a49ea4749 +EBUILD lokalize-22.08.0.ebuild 1907 BLAKE2B 9f2d2f5371e765ab06b440d98e23146b5b0fc6c3e0b30fa566cb61baa7fe6c3e54e8addc79e5c53c8d0095474b802752c899819102fe13228751c14dd443119e SHA512 33ab2461a56b67895243af384117526fcb6c957713169eda6cff7314e9d544c8fc653e004135ddea2f14629130d28be2613ba400068068adc0c8b7eaebaf6bbc MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/kde-apps/lokalize/lokalize-22.08.0.ebuild b/kde-apps/lokalize/lokalize-22.08.0.ebuild new file mode 100644 index 000000000000..5b3452c908bf --- /dev/null +++ b/kde-apps/lokalize/lokalize-22.08.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python3_{8..10} ) +KFMIN=5.96.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 +} |