Name: plasma-touchpad Version: 0.1.2 Release: 1%{?dist} Summary: On-screen touchpad daemon for Lenovo Yoga Book 9 License: GPL-2.0-or-later URL: https://github.com/carvsdriver/kde-plasma-touchpad # GitHub tag archive. Packit replaces this with a git archive of the commit # being built; scripts/build-rpm.sh produces the same layout locally. Source0: kde-plasma-touchpad-0.1.2.tar.gz # Hardware-specific: the Yoga Book 9 is an x86_64-only machine. ExclusiveArch: x86_64 BuildRequires: cmake >= 3.20 BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtbase-private-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: kf6-kconfig-devel BuildRequires: kf6-kcoreaddons-devel BuildRequires: kf6-kcmutils-devel BuildRequires: kf6-ki18n-devel BuildRequires: kf6-kwindowsystem-devel BuildRequires: layer-shell-qt-devel BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: systemd-rpm-macros Requires: qt6-qtbase Requires: qt6-qtdeclarative Requires: kf6-kconfig Requires: kf6-kwindowsystem Requires: layer-shell-qt Requires: plasma-workspace %description Daemon and KDE System Settings module for the Lenovo Yoga Book 9 14IAH10 on-screen touchpad (INGENIC 17EF:6161). Displays a touchpad overlay on the bottom eDP-2 screen and translates raw touch events into pointer movement, scrolling, and gestures via uinput. %prep %autosetup -n kde-plasma-touchpad-0.1.2 %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF %cmake_build %install %cmake_install # Enable the user service for every user by default. mkdir -p %{buildroot}%{_userpresetdir} echo 'enable plasma-touchpad.service' \ > %{buildroot}%{_userpresetdir}/90-plasma-touchpad.preset %post %systemd_user_post plasma-touchpad.service %preun %systemd_user_preun plasma-touchpad.service %postun %systemd_user_postun plasma-touchpad.service %files %license LICENSE %doc README.md %{_libdir}/libexec/plasma-touchpad-daemon %{_userunitdir}/plasma-touchpad.service %{_userpresetdir}/90-plasma-touchpad.preset %{_libdir}/qt6/plugins/plasma/kcms/systemsettings/kcm_yoga9_onscreen_touchpad.so %{_datadir}/plasma/kcms/kcm_yoga9_onscreen_touchpad.json %{_datadir}/applications/kcm_yoga9_onscreen_touchpad.desktop %changelog * Fri Oct 16 2026 Dave Carey - 0.1.2-1 - Add velocity based pointer accelleration. - Bug fixes. * Tue Oct 13 2026 Dave Carey - 0.1.1-1 - Fix daemon crash shortly after resume from suspend: keep overlay windows alive across hide/show instead of recreating them * Thu May 14 2026 Dave Carey - 0.1.0-1 - Initial package