Fix kf6-kdeclarative sed pattern for v6.10.0 source

The sed pattern was stale — source v6.10.0 has 'REQUIRED Qml Quick Gui'
but the old pattern only matched the previous format. Fixed to remove
both Qml and Quick from find_package.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-25 21:43:13 +01:00
parent 752bceb3e9
commit 449ffcafe2
@@ -27,7 +27,7 @@ for qtdir in plugins mkspecs metatypes modules; do
done
sed -i '/^include(ECMQmlModule)$/s/^/#/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true
sed -i 's/REQUIRED Qml Quick Gui/REQUIRED Qml Gui/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true
sed -i 's/REQUIRED Qml Quick Gui/REQUIRED Gui/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true
sed -i '/^ki18n_install(po)/s/^/#/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true
sed -i '/^ecm_install_po_files_as_qm/s/^/#/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true
sed -i 's/NOT WIN32 AND NOT APPLE AND NOT ANDROID)/NOT WIN32 AND NOT APPLE AND NOT ANDROID AND NOT REDOX)/' "${COOKBOOK_SOURCE}/CMakeLists.txt" 2>/dev/null || true