diff options
Diffstat (limited to 'kde-apps/lokalize')
-rw-r--r-- | kde-apps/lokalize/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/lokalize/lokalize-20.12.0.ebuild | 73 |
2 files changed, 75 insertions, 0 deletions
diff --git a/kde-apps/lokalize/Manifest b/kde-apps/lokalize/Manifest index ca6f01d2e777..da8c838be5d3 100644 --- a/kde-apps/lokalize/Manifest +++ b/kde-apps/lokalize/Manifest @@ -1,3 +1,5 @@ DIST lokalize-20.08.3.tar.xz 1987496 BLAKE2B 7928bd191443d517722fbd6753e71c9c74b105b9645d51a97787f6f4b62d93dbbcef2cd2304fba5a942bc4c876bee0eb5a0dea3e8480856d4d3fb50ca8f34660 SHA512 20b102b262f5fb595476ef0dd226b362cc16ec7cc3e5935f9a993fe01ac8f959baf788feaa6fd040c23a73cb64edfda667b3d03b1eb079c022797064ebef1ced +DIST lokalize-20.12.0.tar.xz 1994172 BLAKE2B f1c8a6034559249986afbdc9eb3ea34be20246df2b0b3c7f1eab33710ae359b339c66ecc4149c3f32f959f2132015de7d42f85ffe916237ac53b1acfc9dd5028 SHA512 3fc8c9ce7b34495b689114a67ce0a61d0860a456eb75c1759295eb05e49d8f045dc1f17223fdd21a74c8610afb20eeeabd03c1d6a82f5b700d5da054e2c396af EBUILD lokalize-20.08.3.ebuild 2007 BLAKE2B cc9298b121a139a9ce5df3f2daa02e129589f10a134e4fdea63ce1bc9ab554bfa47618a865662426d4397c6fb1a0631defea2b512dc6fcd858123cfc860c26ea SHA512 fd950b9175eaed51c9c7be4580c6c0e8cabc8c287ae50b038c9cb4d9f555ff1c2fcb78a81452fd6a4fbe90b7260934e08320bae3d8118af2de117ed01a4db5ca +EBUILD lokalize-20.12.0.ebuild 2010 BLAKE2B d35727a54dee86a134870601af1428539c9c9a7d2483d2033192b066de2116c50ecf259c8796a5e2728793d1f2cabaae54fd28f78a4ba03878dd877a78c0300a SHA512 cdb9dfee0dc400da4339c2d23c9e125dc13c7dc80f24a5ab5b067273fcf74435c7451ecf0c7bc013ad32cf225a65296cf854e72fac4da595f98da0e0be1bbd74 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/lokalize/lokalize-20.12.0.ebuild b/kde-apps/lokalize/lokalize-20.12.0.ebuild new file mode 100644 index 000000000000..55f0d3f35599 --- /dev/null +++ b/kde-apps/lokalize/lokalize-20.12.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 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 +} |