From 5d4b074ef597e6d57858b6d27f6f55dc7e805325 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 16 Feb 2023 14:38:47 +0100 Subject: [PATCH] Drop dependency with PlasmaWaylandProtocols Now that we are using the RemoteDesktop XDP, we don't need FakeInput anymore. BUG: 465767 --- CMakeLists.txt | 1 - plugins/mousepad/CMakeLists.txt | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index faa92c667..34b7b7a01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,7 +83,6 @@ else() endif() find_package(Wayland 1.9 REQUIRED Client) find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS WaylandClient) - find_package(PlasmaWaylandProtocols REQUIRED) find_package(WaylandProtocols REQUIRED) pkg_check_modules(XkbCommon IMPORTED_TARGET xkbcommon) endif() diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt index 526949a70..614f157fc 100644 --- a/plugins/mousepad/CMakeLists.txt +++ b/plugins/mousepad/CMakeLists.txt @@ -16,16 +16,6 @@ if(UNIX AND NOT APPLE) PURPOSE "Needed for the remote mousepad plugin" ) - if (QT_MAJOR_VERSION EQUAL "5") - ecm_add_qtwayland_client_protocol(wayland_SRCS - PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml - BASENAME fake-input - ) - else() - qt6_generate_wayland_protocol_client_sources(kdeconnect_mousepad FILES - ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml) - endif() - target_sources(kdeconnect_mousepad PRIVATE ${wayland_SRCS}) target_link_libraries(kdeconnect_mousepad Wayland::Client Qt::WaylandClient PkgConfig::XkbCommon) target_sources(kdeconnect_mousepad PUBLIC waylandremoteinput.cpp)