From 7b014fad815b9e0dd27c01bcae3895eddc5f08f7 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 14 Sep 2019 19:04:22 +0200 Subject: [PATCH] kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDs Signed-off-by: Andreas Sturmlechner --- eclass/kde5.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2