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}"
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) ;;
*)
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) ;;
*)
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) ;;
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}"
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