File inputactions-kwin-git.spec of Package inputactions-kwin-git
#
# spec file for package inputactions-kwin
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: inputactions-kwin
Version: 0.6.1+git20250617.a5eb9f8
Release: 0
Summary: Custom touchpad gestures for Plasma 6
License: GPL-3.0-or-later
Group: System/GUI/KDE
URL: https://github.com/taj-ny/kwin-gestures
Source: InputActions-%{version}.tar.zst
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: kf6-kcmutils-devel
BuildRequires: kf6-kconfigwidgets-devel
BuildRequires: kf6-extra-cmake-modules
BuildRequires: kf6-kguiaddons-devel
BuildRequires: kf6-ki18n-devel
BuildRequires: kwin6-devel
BuildRequires: libepoxy-devel
BuildRequires: libevdev-devel
BuildRequires: libxkbcommon-devel
BuildRequires: yaml-cpp-devel
Requires: kwin6
%description
Custom touchpad gestures for Plasma 6.
X11 is currently not supported.
%prep
%autosetup -n InputActions-%{version}
%build
%cmake -DCMAKE_INSTALL_PREFIX=/usr -DINPUTACTIONS_BUILD_KWIN=ON
%cmake_build
%install
%cmake_install
# Strip debugging symbols from shared libraries
find %{buildroot} -type f -name "*.so" -exec strip --strip-unneeded {} +
%files
%dir %{_kf6_plugindir}/kwin
%dir %{_kf6_plugindir}/kwin/effects
%dir %{_kf6_plugindir}/kwin/effects/configs
%dir %{_kf6_plugindir}/kwin/effects/plugins
%{_kf6_plugindir}/kwin/effects/configs/*.so
%{_kf6_plugindir}/kwin/effects/plugins/*.so
%changelog