From: Andreas Sturmlechner Date: Sat, 14 Sep 2019 17:04:22 +0000 (+0200) Subject: kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b014fad815b9e0dd27c01bcae3895eddc5f08f7;p=gentoo.git kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDs Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index e446e02592b1..ee1d3b35aa8c 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -203,10 +203,10 @@ case ${KDE_DESIGNERPLUGIN} in false) ;; *) IUSE+=" designer" - if [[ ${CATEGORY} = kde-frameworks ]]; then - BDEPEND+=" designer? ( $(add_qt_dep designer) )" - else + if [[ ${CATEGORY} = kde-apps && ${PV} = 19.0[48]* ]]; then BDEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )" + else + BDEPEND+=" designer? ( $(add_qt_dep designer) )" fi esac