kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDs
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 14 Sep 2019 17:04:22 +0000 (19:04 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 16 Oct 2019 09:23:42 +0000 (11:23 +0200)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde5.eclass

index e446e02592b1b68f9a72b311a963b50f5e5d114d..ee1d3b35aa8c659a03fb4ef47ae93aa0f74a0eee 100644 (file)
@@ -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