commit changes

This commit is contained in:
Anders da Silva Rytter Hansen 2026-03-19 09:00:00 -03:00
commit c7bc6c414b
6 changed files with 11839 additions and 4 deletions

View file

@ -3,7 +3,7 @@
Name: sonic-win
Version: 6.4.5
Release: 3%{?dist}
Release: 6%{?dist}
Summary: KWin window manager for SonicDE (fork of kwin)
%global plasma_version %{version}
@ -136,6 +136,9 @@ Conflicts: kwin-x11-devel
%description devel
Development files for sonic-win.
Provides: kwin-devel = %{version}-%{release}
Provides: kwin-x11-devel = %{version}-%{release}
Provides: cmake(KWinDBusInterface) = %{version}
%prep
%autosetup -p1
@ -146,6 +149,21 @@ Development files for sonic-win.
%install
%cmake_install
# Create compatibility CMake files for sonic-workspace
mkdir -p %{buildroot}%{_libdir}/cmake/KWinDBusInterface
cat <<EOF > %{buildroot}%{_libdir}/cmake/KWinDBusInterface/KWinDBusInterfaceConfig.cmake
find_package(KWinX11DBusInterface REQUIRED)
include(\${KWinX11DBusInterface_DIR}/KWinX11DBusInterfaceConfig.cmake)
EOF
# Create compatibility symlinks for DBus interfaces
pushd %{buildroot}%{_datadir}/dbus-1/interfaces/
for f in kwin_x11_*.xml; do
newname=$(echo $f | sed 's/kwin_x11_//')
ln -s $f $newname
done
popd
# The translation domain in the source is likely still 'kwin'
%find_lang kwin --all-name --with-html