commit: b04a558a6a31c565d3fa758f06ae20e4cd87acc4 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Sep 14 17:04:22 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Sep 14 17:04:22 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b04a558a
kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDs Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/kde5.eclass | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 21ed9d2134..979044a83c 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -195,14 +195,10 @@ case ${KDE_DESIGNERPLUGIN} in false) ;; *) IUSE+=" designer" - if [[ ${CATEGORY} = kde-frameworks ]]; then - BDEPEND+=" designer? ( $(add_qt_dep designer) )" + if [[ ${CATEGORY} = kde-apps && ${PV} = 19.0[48]* ]]; then + BDEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )" else - if [[ ${KDE_BUILD_TYPE} = live && ${PV} != 19.08* ]]; then - BDEPEND+=" designer? ( $(add_qt_dep designer) )" - else - BDEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )" - fi + BDEPEND+=" designer? ( $(add_qt_dep designer) )" fi esac