diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-11 16:30:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-16 01:02:40 +0200 |
commit | be44fda1967623dab91935799aab86dfa7c5c8ab (patch) | |
tree | a9c1496fa0faafa07e599aafafc2175e36efd0db /eclass/ecm.eclass | |
parent | kde.org.eclass: Allow to use SRC_URI in addition to live sources (diff) | |
download | gentoo-be44fda1967623dab91935799aab86dfa7c5c8ab.tar.gz gentoo-be44fda1967623dab91935799aab86dfa7c5c8ab.tar.bz2 gentoo-be44fda1967623dab91935799aab86dfa7c5c8ab.zip |
ecm.eclass: Drop kde5.eclass support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
(cherry picked from commit ed6084d902979c53477f2084f9c292e0553b97a5)
Diffstat (limited to 'eclass/ecm.eclass')
-rw-r--r-- | eclass/ecm.eclass | 53 |
1 files changed, 14 insertions, 39 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 0e3c64b0a2ad..dbb8cc7a8140 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -173,17 +173,10 @@ case ${ECM_NONGUI} in true) ;; false) # gui applications need breeze or oxygen for basic iconset, bug #564838 - if [[ -n ${_KDE5_ECLASS} ]] ; then - RDEPEND+=" || ( - >=kde-frameworks/breeze-icons-${KFMIN}:${KFSLOT} - kde-frameworks/oxygen-icons:* - )" - else - RDEPEND+=" || ( - kde-frameworks/breeze-icons:* - kde-frameworks/oxygen-icons:* - )" - fi + RDEPEND+=" || ( + kde-frameworks/breeze-icons:* + kde-frameworks/oxygen-icons:* + )" ;; *) eerror "Unknown value for \${ECM_NONGUI}" @@ -205,11 +198,7 @@ esac case ${ECM_DESIGNERPLUGIN} in true) IUSE+=" designer" - if [[ -n ${_KDE5_ECLASS} ]] ; then - BDEPEND+=" designer? ( >=dev-qt/designer-5.12.3:${KFSLOT} )" - else - BDEPEND+=" designer? ( dev-qt/designer:${KFSLOT} )" - fi + BDEPEND+=" designer? ( dev-qt/designer:${KFSLOT} )" ;; false) ;; *) @@ -244,14 +233,11 @@ esac case ${ECM_QTHELP} in true) IUSE+=" doc" - if [[ -n ${_KDE5_ECLASS} ]] ; then - COMMONDEPEND+=" doc? ( >=dev-qt/qt-docs-5.12.3:${KFSLOT} )" - BDEPEND+=" doc? ( >=dev-qt/qthelp-5.12.3:${KFSLOT} )" - else - COMMONDEPEND+=" doc? ( dev-qt/qt-docs:${KFSLOT} )" - BDEPEND+=" doc? ( dev-qt/qthelp:${KFSLOT} )" - fi - BDEPEND+=" doc? ( >=app-doc/doxygen-1.8.13-r1 )" + COMMONDEPEND+=" doc? ( dev-qt/qt-docs:${KFSLOT} )" + BDEPEND+=" doc? ( + >=app-doc/doxygen-1.8.13-r1 + dev-qt/qthelp:${KFSLOT} + )" ;; false) ;; *) @@ -263,11 +249,7 @@ esac case ${ECM_TEST} in true|optional|forceoptional|forceoptional-recursive) IUSE+=" test" - if [[ -n ${_KDE5_ECLASS} ]] ; then - DEPEND+=" test? ( >=dev-qt/qttest-5.12.3:${KFSLOT} )" - else - DEPEND+=" test? ( dev-qt/qttest:${KFSLOT} )" - fi + DEPEND+=" test? ( dev-qt/qttest:${KFSLOT} )" RESTRICT+=" !test? ( test )" ;; false) ;; @@ -279,11 +261,7 @@ esac BDEPEND+=" >=kde-frameworks/extra-cmake-modules-${KFMIN}:${KFSLOT}" RDEPEND+=" >=kde-frameworks/kf-env-4" -if [[ -n ${_KDE5_ECLASS} ]] ; then - COMMONDEPEND+=" >=dev-qt/qtcore-5.12.3:${KFSLOT}" -else - COMMONDEPEND+=" dev-qt/qtcore:${KFSLOT}" -fi +COMMONDEPEND+=" dev-qt/qtcore:${KFSLOT}" DEPEND+=" ${COMMONDEPEND}" RDEPEND+=" ${COMMONDEPEND}" @@ -445,11 +423,8 @@ ecm_src_prepare() { done fi - # don't change behaviour for kde5.eclass consumers - # for ported ebuilds, limit playing field of this to kde-*/ categories - if [[ -n ${_KDE5_ECLASS} ]] ; then - _ecm_strip_handbook_translations # TODO: kde5.eclass cleanup - elif [[ ${CATEGORY} = kde-* ]] ; then + # limit playing field of locale stripping to kde-*/ categories + if [[ ${CATEGORY} = kde-* ]] ; then # always install unconditionally for kconfigwidgets - if you use # language X as system language, and there is a combobox with language # names, the translated language name for language Y is taken from |