- Fix build with SDL2 versions older than 2.0.16

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/plasma6-desktop?expand=0&rev=7
This commit is contained in:
Christophe Marin 2024-02-29 12:54:45 +00:00 committed by Git OBS Bridge
parent 5524f23210
commit ab289adfd2
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 29 12:54:32 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Fix build with SDL2 versions older than 2.0.16
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 21 18:36:36 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de> Wed Feb 21 18:36:36 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -194,6 +194,10 @@ Conflicts: plasma5-desktop
Requires: (plasma6-kimpanel-ibus if ibus) Requires: (plasma6-kimpanel-ibus if ibus)
Requires: (plasma6-kimpanel-scim if scim) Requires: (plasma6-kimpanel-scim if scim)
%if %{pkg_vcmp cmake(sdl2) >= 2.0.16}
%bcond_without gamecontroller_kcm
%endif
%description %description
This package contains the basic packages for a Plasma workspace. This package contains the basic packages for a Plasma workspace.
@ -258,7 +262,9 @@ rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/
%{_kf6_applicationsdir}/kcm_clock.desktop %{_kf6_applicationsdir}/kcm_clock.desktop
%{_kf6_applicationsdir}/kcm_componentchooser.desktop %{_kf6_applicationsdir}/kcm_componentchooser.desktop
%{_kf6_applicationsdir}/kcm_desktoppaths.desktop %{_kf6_applicationsdir}/kcm_desktoppaths.desktop
%if %{with gamecontroller_kcm}
%{_kf6_applicationsdir}/kcm_gamecontroller.desktop %{_kf6_applicationsdir}/kcm_gamecontroller.desktop
%endif
%{_kf6_applicationsdir}/kcm_kded.desktop %{_kf6_applicationsdir}/kcm_kded.desktop
%{_kf6_applicationsdir}/kcm_keyboard.desktop %{_kf6_applicationsdir}/kcm_keyboard.desktop
%{_kf6_applicationsdir}/kcm_keys.desktop %{_kf6_applicationsdir}/kcm_keys.desktop
@ -303,7 +309,9 @@ rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_baloofile.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_baloofile.so
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_componentchooser.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_componentchooser.so
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_desktoppaths.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_desktoppaths.so
%if %{with gamecontroller_kcm}
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_gamecontroller.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_gamecontroller.so
%endif
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_kded.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_kded.so
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keyboard.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keyboard.so
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keys.so %{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_keys.so