Convert kwin to stub recipe with cmake configs

Real KWin build requires Qt6Quick/QML + Wayland compositor runtime.
Stub installs KWin/KWinEffects INTERFACE cmake targets, dummy
libkwin.a, and kwin_wayland wrapper script. Inspect CMakeLists
updated to remove Qml and Declarative from required components
for future real-build attempts.

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:36 +01:00
parent 8e4b8d6107
commit ae1cac1d64
3 changed files with 72 additions and 391 deletions
@@ -66,11 +66,10 @@ endif()
find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
Concurrent
Core
Qml
WaylandClient
Widgets
Svg
)
)
find_package(Qt6DBus ${QT_MIN_VERSION} CONFIG)
if (KWIN_BUILD_QTQUICK)
@@ -99,7 +98,6 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
ConfigWidgets
CoreAddons
Crash
Declarative
GlobalAccel
GuiAddons
I18n
@@ -108,7 +106,7 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
Service
WidgetsAddons
WindowSystem
)
)
find_package(KF6DBusAddons ${KF6_MIN_VERSION} CONFIG)
# required frameworks by config modules
if(KWIN_BUILD_KCMS)
@@ -233,7 +233,6 @@ target_link_libraries(kwin
PRIVATE
Qt::Concurrent
Qt::GuiPrivate
Qt::Qml
Qt::Svg
KF6::ColorScheme