diff --git a/local/recipes/kde/kde-cli-tools/recipe.toml b/local/recipes/kde/kde-cli-tools/recipe.toml index d33b9fc47e..b26737052a 100644 --- a/local/recipes/kde/kde-cli-tools/recipe.toml +++ b/local/recipes/kde/kde-cli-tools/recipe.toml @@ -22,6 +22,8 @@ dependencies = [ "kf6-kwindowsystem", "kf6-kdbusaddons", "kf6-kio", + "kf6-kcmutils", + "kf6-parts", ] script = """ DYNAMIC_INIT @@ -51,6 +53,7 @@ cmake "${COOKBOOK_SOURCE}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" \ -DBUILD_TESTING=OFF \ + -DBUILD_DOC=OFF \ -DBUILD_QCH=OFF \ -DUSE_DBUS=OFF \ -Wno-dev diff --git a/local/recipes/kde/kf6-kcmutils/recipe.toml b/local/recipes/kde/kf6-kcmutils/recipe.toml index 703b4e61ee..ccfdb11656 100644 --- a/local/recipes/kde/kf6-kcmutils/recipe.toml +++ b/local/recipes/kde/kf6-kcmutils/recipe.toml @@ -22,14 +22,21 @@ dependencies = [ "kf6-kxmlgui", "kf6-kio", "kf6-kdeclarative", + "kirigami", ] script = """ DYNAMIC_INIT HOST_BUILD="${COOKBOOK_ROOT}/build/qt-host-build" +source "${COOKBOOK_ROOT}/local/scripts/lib/qt-sysroot.sh" redbear_qt_link_sysroot_dirs "${COOKBOOK_SYSROOT}" plugins mkspecs metatypes modules qml +# Qt6::Test is not built for the cross target (qtbase FEATURE_testlib=OFF) and is +# only used by autotests (BUILD_TESTING=OFF). Drop it from the REQUIRED list. +sed -i 's/NO_MODULE REQUIRED Widgets Qml Quick QuickWidgets Test)/NO_MODULE REQUIRED Widgets Qml Quick QuickWidgets)/' \ + "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true + rm -f CMakeCache.txt rm -rf CMakeFiles