summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 51eeb57bad5..826e0abf10c 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -228,10 +228,9 @@ case ${KDE_DESIGNERPLUGIN} in
false) ;;
*)
IUSE+=" designer"
- DEPEND+=" designer? (
- $(add_frameworks_dep kdesignerplugin)
- $(add_qt_dep designer)
- )"
+ DEPEND+=" designer? ( $(add_frameworks_dep kdesignerplugin) )"
+ [[ ${PV} = 17.08* ]] && \
+ DEPEND+=" designer? ( $(add_qt_dep designer) )"
;;
esac
@@ -636,7 +635,11 @@ kde5_src_configure() {
fi
if ! use_if_iuse designer && [[ ${KDE_DESIGNERPLUGIN} != false ]] ; then
- cmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON )
+ if [[ ${PV} = 17.08* ]]; then
+ cmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON )
+ else
+ cmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5DesignerPlugin=ON )
+ fi
fi
if [[ ${KDE_QTHELP} != false ]]; then