mirror-kde-plasma-desktop/kcms/touchpad/backends/x11.cmake
Nicolas Fella 12ac086128 [kcm/touchpad] Drop synaptics config
The synaptics touchpad driver has mostly been superseeded by libinput.

For libinput we have a completely different UI.

The KCM currently still supports both, making the code massively complex and
causing a huge maintanance burden.

Given the long-term focus is on Wayland and libinput drop the synaptic integration.

This doesn't prevent anyone from using Plasma X11 with Synaptics, but there will
not be a first-party config UI for it any more

See https://invent.kde.org/plasma/plasma-desktop/-/issues/79
2023-10-02 21:24:09 +00:00

44 lines
957 B
CMake

# // krazy:excludeall=copyright,license
SET(backend_SRCS
${backend_SRCS}
backends/x11/propertyinfo.cpp
backends/x11/xlibbackend.cpp
backends/x11/xlibtouchpad.cpp
backends/x11/xcbatom.cpp
backends/x11/xlibnotifications.cpp
backends/x11/xrecordkeyboardmonitor.cpp
)
if (XORGLIBINPUT_FOUND)
SET(backend_SRCS
${backend_SRCS}
backends/libinputcommon.cpp
backends/x11/libinputtouchpad.cpp
)
SET(backend_LIBS
${backend_LIBS}
PkgConfig::XORGLIBINPUT
)
endif()
SET(backend_LIBS
${backend_LIBS}
XCB::ATOM
XCB::RECORD
X11::X11
X11::Xi
X11::XCB
PkgConfig::XORGSERVER
)
add_executable(kcm-touchpad-list-devices backends/x11/listdevices.cpp)
target_link_libraries(kcm-touchpad-list-devices
X11::X11
X11::Xi
)
install(TARGETS kcm-touchpad-list-devices
DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}
)