1
0
forked from jengelh/SDL3

Compare commits

..

9 Commits

Author SHA256 Message Date
645725965e SDL 3.2.2 2025-02-02 13:06:55 +01:00
cdf2afe0be Disable fcitx 2025-01-23 11:12:05 +01:00
3174b12d4d SDL 3.2.0 2025-01-22 12:04:00 +01:00
2195f16dae SDL 3.1.8 2025-01-08 22:28:49 +01:00
45b2e11bb2 Add baselibs.conf 2024-12-15 23:04:15 +01:00
7a6daf8e2f SDL 3.1.6 2024-11-02 12:43:43 +01:00
0fe0392eae Add 3.1.3 changelog 2024-10-06 00:33:28 +02:00
2dec95c732 Update to 3.1.3 2024-10-06 00:22:40 +02:00
769f4ba86b Add gcc14.patch 2024-08-19 23:05:52 +02:00
6 changed files with 107 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99a9e84b4d5afd68d423d364fdd03592efa7658208cddf3f846dbeb707569ecc
size 4751864

BIN
SDL3-3.2.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
SDL3-3.2.2.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,92 @@
-------------------------------------------------------------------
Sun Feb 2 12:05:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.2
* Fixed mouse motion while the mouse is grabbed on Linux
* Fixed audio gain not applying in some cases
* Fixed a potential crash when applying audio gain
* Removed audio resampling frequency limit
* Fixed a crash on Windows if a tray is created without any menus
* Allow the window manager to position windows that do not
specify a position on Linux
-------------------------------------------------------------------
Thu Jan 23 10:11:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Cherry pick change 6cf087f53a05 from SDL2.spec:
Thu Aug 29 09:07:45 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
Don't build with fcitx support. fcitx support was just added
because of a bug (boo#1025413) that could be fixed by building
with fcitx support but upstream SDL2 developers fixed it
in 2.0.5 when building without fcitx support too. Also fcitx
support has always been disabled in SLE/Leap and in Factory
it's built against fcitx 4.2.9.9, not the newer fcitx5 so
let's disable it in order to reduce dependencies.
-------------------------------------------------------------------
Wed Jan 22 10:29:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.0
* audio: added ``SDL_AudioDeviceStreamPaused`` function
* x11/wl: added support for Mod3 and more esoteric Xkb
configurations
* keyboard: added some SDL keycodes for common Xkb keys
* Use XIM for IME input on X11
* Added support for displaying XIM composition strings
* Added SDL_ClickTrayEntry()
* audio: Allow streams to change the device-side channels maps
* Fix incorrect hotspot calculation for cursor positioning
* Added support for the 8BitDo Ultimate 2C Wireless in
Bluetooth mode
* Added Linux evdev mappings for the Wireless HORIPAD For Steam
* tray: renamed function ``SDL_HasNoActiveTrays`` to
``SDL_HasActiveTrays``
* vulkan: Fixes for swapchain resize crash on X11
* render: SDL_HINT_RENDER_DRIVER now accepts a comma-separated
list
-------------------------------------------------------------------
Wed Jan 8 20:52:55 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.1.8
* This update adds asynchronous I/O, main thread dispatching, a
desktop tray API, debug text rendering and other features.
-------------------------------------------------------------------
Sun Dec 15 22:03:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add baselibs.conf
-------------------------------------------------------------------
Sat Nov 2 11:30:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to preview release 3.1.6
* New functions ``SDL_CalculateGPUTextureFormatSize``,
``SDL_CancelGPUCommandBuffer``, ``SDL_DelayPrecise``,
``SDL_GetSandbox``, ``SDL_RenderDebugText``,
``SDL_StepBackUTF8``
- Delete gcc14.patch (merged)
-------------------------------------------------------------------
Sat Oct 5 21:04:22 UTC 2024 - Michael Pujos <pujos.michael@gmail.com>
- Update to preview release 3.1.3
* New GPU API for modern 3D rendering and GPU compute in a
cross-platform manner
* Various new cross-platform APIs around dialogs / filesystems /
storage / camera / pen access, new example programs, audio
streams, color-space support
* More HiDPI support
* Better keyboard input handling
* Prefer PipeWire over PulseAudio
-------------------------------------------------------------------
Mon Aug 19 21:05:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 1 19:06:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Wed May 1 19:06:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL3 # spec file for package SDL3
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,26 +19,23 @@
%define sle_version 0 %define sle_version 0
Name: SDL3 Name: SDL3
%define lname libSDL3-0 %define lname libSDL3-0
Version: 3.1.2 Version: 3.2.2
Release: 0 Release: 0
Summary: Simple DirectMedia Layer Library Summary: Simple DirectMedia Layer Library
License: Zlib License: Zlib
Group: Development/Libraries/X11 Group: Development/Libraries/X11
URL: https://libsdl.org/ URL: https://libsdl.org/
#Git-Clone: https://github.com/libsdl-org/SDL #Git-Clone: https://github.com/libsdl-org/SDL
#Source: https://libsdl.org/release/%name-%version.tar.gz Source: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz
#Source2: https://libsdl.org/release/%name-%version.tar.gz.sig Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
Source: https://github.com/libsdl-org/SDL/releases/download/prerelease-%version/%name-%version.tar.xz
Source3: %name.keyring Source3: %name.keyring
Source4: baselibs.conf
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libdecor-devel BuildRequires: libdecor-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa) >= 1.0.11 BuildRequires: pkgconfig(alsa) >= 1.0.11
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
%if !0%{?sle_version}
BuildRequires: pkgconfig(fcitx)
%endif
BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glesv2)
@ -70,18 +67,20 @@ BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(xxf86vm)
%description %description
This is the "Simple DirectMedia Layer" library. It provides a generic Simple DirectMedia Layer (SDL) is a cross-platform library for
API for access to audio, keyboard, mouse, and display framebuffer multi-media software, such as games and emulators. It provides a
across multiple platforms. generic API for access to audio, keyboard, mouse, and display
framebuffer.
%package -n %lname %package -n %lname
Summary: Simple DirectMedia Layer Library Summary: Simple DirectMedia Layer Library
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %lname
This is the "Simple DirectMedia Layer" library. It provides a generic Simple DirectMedia Layer (SDL) is a cross-platform library for
API for access to audio, keyboard, mouse, and display framebuffer multi-media software, such as games and emulators. It provides a
across multiple platforms. generic API for access to audio, keyboard, mouse, and display
framebuffer.
SDL uses dlopen, so if you experience problems under X11, check SDL uses dlopen, so if you experience problems under X11, check
again that libXrandr2 and libXi6 are in fact installed. again that libXrandr2 and libXi6 are in fact installed.
@ -128,7 +127,7 @@ SDL3 C API.
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \ -DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
-DSDL_KMSDRM_SHARED:BOOL=OFF \ -DSDL_KMSDRM_SHARED:BOOL=OFF \
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \ -DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \
-DSDL_TEST_LIBRARY:BOOL=OFF -DSDL_TEST_LIBRARY:BOOL=OFF -DSDL_INSTALL_DOCS:BOOL=ON
%cmake_build %cmake_build

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libSDL3-0