diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-01-07 13:58:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-01-07 18:28:53 +0100 |
commit | a1e5825375905bfa18b93fcdb3c939c4c298f6c2 (patch) | |
tree | f2f162b797bf01b86e9ade93acbb976109e7a23f /kde-apps/lokalize | |
parent | kde-apps/libkomparediff2: 20.12.1 version bump (diff) | |
download | gentoo-a1e5825375905bfa18b93fcdb3c939c4c298f6c2.tar.gz gentoo-a1e5825375905bfa18b93fcdb3c939c4c298f6c2.tar.bz2 gentoo-a1e5825375905bfa18b93fcdb3c939c4c298f6c2.zip |
kde-apps/lokalize: 20.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r-- | kde-apps/lokalize/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/lokalize/lokalize-20.12.1.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index 5d2f95b496d1..3ca522b3d81f 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,2 +1,3 @@ DIST lokalize-20.08.3.tar.xz 1987496 BLAKE2B 7928bd191443d517722fbd6753e71c9c74b105b9645d51a97787f6f4b62d93dbbcef2cd2304fba5a942bc4c876bee0eb5a0dea3e8480856d4d3fb50ca8f34660 SHA512 20b102b262f5fb595476ef0dd226b362cc16ec7cc3e5935f9a993fe01ac8f959baf788feaa6fd040c23a73cb64edfda667b3d03b1eb079c022797064ebef1ced DIST lokalize-20.12.0.tar.xz 1994172 BLAKE2B f1c8a6034559249986afbdc9eb3ea34be20246df2b0b3c7f1eab33710ae359b339c66ecc4149c3f32f959f2132015de7d42f85ffe916237ac53b1acfc9dd5028 SHA512 3fc8c9ce7b34495b689114a67ce0a61d0860a456eb75c1759295eb05e49d8f045dc1f17223fdd21a74c8610afb20eeeabd03c1d6a82f5b700d5da054e2c396af +DIST lokalize-20.12.1.tar.xz 1994124 BLAKE2B 19e71c0d767e4226f1a65634fb4e7daf4e26ba3194b23ba2a0d5a8bbdc2f7651f769b9764fd8402866fa150243b2f21e7b4975362b1ff47f4d4f89d1dca5b0b4 SHA512 3233e242c1ffd707b1da53364b981928b2da8f0551034c0a269eeb336ed6071df26921b56a96745d4ac6ec57fc959df606abb0d57289f967aed84eeb59d33acf diff --git a/kde-apps/lokalize/lokalize-20.12.1.ebuild b/kde-apps/lokalize/lokalize-20.12.1.ebuild new file mode 100644 index 000000000000..aa18a55a1e98 --- /dev/null +++ b/kde-apps/lokalize/lokalize-20.12.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python3_{7,8,9} ) +KFMIN=5.75.0 +QTMIN=5.15.1 +inherit python-single-r1 ecm kde.org optfeature + +DESCRIPTION="Localization tool for KDE software and other free and open source software" +HOMEPAGE="https://apps.kde.org/en/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/qtscript-${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/kross-${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_MULTI_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 + elog "Optional dependencies:" + optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion + optfeature "Spell and grammar checking" app-text/languagetool + fi + ecm_pkg_postinst +} |