Files
RedBear-OS/local/recipes/kde/kf6-kcmutils/source/KF6KCMUtilsConfig.cmake.in
T
vasilito 705d15ec1f kf6-kcmutils: update local fork to 6.27.0 and restore QML/Quick/kcmshell
The tracked source tree was stuck at KF6 6.10.0 with QML/Quick/kcmshell
stripped out and kcmoduleloader/kcmultidialog gutted by sed/python hacks.

Replace the local source with the upstream 6.27.0 tarball content, keeping
only the .clang-format and docs/ extras. This restores:
- add_subdirectory(qml) / (quick) / (kcmshell)
- kcmoduleqml.cpp/h, KF6KCMUtilsQuick, Qt6::Qml/Quick/QuickWidgets links
- kcmoduleloader.cpp and kcmultidialog.cpp QML code paths
- ECMQmlModule and KF6KIO find_package in top-level CMakeLists.txt
- Qt6Qml find_dependency in KF6KCMUtilsConfig.cmake.in

Shrink the recipe build script to use cookbook_apply_patches of the
external 01-initial-migration.patch and remove all sed/python hacks.
Shrink the migration patch to only disable ki18n_install(po) (translations
remain deferred until lupdate/lrelease is built for target).
2026-07-10 17:11:44 +03:00

36 lines
1.2 KiB
CMake

# SPDX-FileCopyrightText: 2022 Alexander Lohnau <alexander.lohnau@gmx.de>
# SPDX-License-Identifier: BSD-3-Clause
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(KF6ConfigWidgets "@KF_DEP_VERSION@")
find_dependency(KF6CoreAddons "@KF_DEP_VERSION@")
find_dependency(Qt6Qml "@REQUIRED_QT_VERSION@")
if (NOT @BUILD_SHARED_LIBS@)
find_dependency(Qt6Quick "@REQUIRED_QT_VERSION@")
find_dependency(Qt6QuickWidgets "@REQUIRED_QT_VERSION@")
find_dependency(KF6GuiAddons "@KF_DEP_VERSION@")
find_dependency(KF6I18n "@KF_DEP_VERSION@")
find_dependency(KF6ItemViews "@KF_DEP_VERSION@")
find_dependency(KF6XmlGui "@KF_DEP_VERSION@")
endif()
@PACKAGE_SETUP_AUTOMOC_VARIABLES@
include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsMacros.cmake")
if(CMAKE_CROSSCOMPILING AND KF6_HOST_TOOLING)
find_file(KCMUTILS_TARGETSFILE KF6KCMUtils/KF6KCMUtilsToolingTargets.cmake
PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR}
NO_DEFAULT_PATH
NO_CMAKE_FIND_ROOT_PATH)
include("${KCMUTILS_TARGETSFILE}")
else()
include("${CMAKE_CURRENT_LIST_DIR}/KF6KCMUtilsToolingTargets.cmake")
endif()