From 8bdffdced9ee8ecb52be6246f89995704ad53fc13a589aaf071c4970743b8edd Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 11 Apr 2024 16:23:51 +0000 Subject: [PATCH] - Update to preview release 3.1.1 OBS-URL: https://build.opensuse.org/package/show/games/SDL3?expand=0&rev=2 --- SDL-3.0~git251.1a890808a.tar.xz | 3 --- SDL3-3.1.1.tar.xz | 3 +++ SDL3.changes | 15 +++++++++++++++ SDL3.spec | 21 ++++++++++++++++----- _service | 14 -------------- 5 files changed, 34 insertions(+), 22 deletions(-) delete mode 100644 SDL-3.0~git251.1a890808a.tar.xz create mode 100644 SDL3-3.1.1.tar.xz delete mode 100644 _service diff --git a/SDL-3.0~git251.1a890808a.tar.xz b/SDL-3.0~git251.1a890808a.tar.xz deleted file mode 100644 index f1a8f2a..0000000 --- a/SDL-3.0~git251.1a890808a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d1cd3a85ccc2e8aeaf6e5382f4c68f97314b818fb8e7debae8eb0b0a44f325e -size 9197264 diff --git a/SDL3-3.1.1.tar.xz b/SDL3-3.1.1.tar.xz new file mode 100644 index 0000000..b47ee3a --- /dev/null +++ b/SDL3-3.1.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddfe67d0e1d3f729337672b30f58c4c41586a1516d9878de0141574852caa23c +size 4722412 diff --git a/SDL3.changes b/SDL3.changes index 8e7a4d7..ad06750 100644 --- a/SDL3.changes +++ b/SDL3.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Apr 11 16:15:42 UTC 2024 - Jan Engelhardt + +- Update to preview release 3.1.1 + * Fixed a crash when rendering lots of content using the Vulkan + renderer + * Fixed text input being delivered when SDL_StartTextInput() + has not been called + * Fixed a performance regression initializing controllers on Linux + * Separated the joystick power state into battery status and + percentage + * Added an optional user parameter to main callback entry points + * Case insensitive string comparison functions are no longer + affected by locale + ------------------------------------------------------------------- Fri Dec 2 21:18:51 UTC 2022 - Jan Engelhardt diff --git a/SDL3.spec b/SDL3.spec index 6e91f84..960f9be 100644 --- a/SDL3.spec +++ b/SDL3.spec @@ -1,7 +1,7 @@ # # spec file for package SDL3 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sle_version 0 Name: SDL3 %define lname libSDL3-0 -Version: 3.0~git251.1a890808a +Version: 3.1.1 Release: 0 Summary: Simple DirectMedia Layer Library License: Zlib @@ -28,7 +28,7 @@ URL: https://libsdl.org/ #Git-Clone: https://github.com/libsdl-org/SDL #Source: https://libsdl.org/release/%name-%version.tar.gz #Source2: https://libsdl.org/release/%name-%version.tar.gz.sig -Source: SDL-%version.tar.xz +Source: https://github.com/libsdl-org/SDL/releases/download/prerelease-%version/%name-%version.tar.xz Source3: %name.keyring BuildRequires: cmake BuildRequires: gcc-c++ @@ -103,8 +103,17 @@ Requires: pkgconfig(xproto) This package contains files needed for development with the SDL library. +%package devel-doc +Summary: Manual pages for the SDL3 API +Group: Documentation/Man +BuildArch: noarch + +%description devel-doc +This package contains manual pages (in troff format) for the +SDL3 C API. + %prep -%autosetup -p1 -n SDL-%version +%autosetup -p1 %build %global _lto_cflags %_lto_cflags -ffat-lto-objects @@ -143,7 +152,9 @@ rm -Rf "%buildroot/%_datadir/licenses" # we use %%license %_includedir/SDL3/ %_libdir/pkgconfig/sdl3.pc %_libdir/cmake/SDL3/ -%_libdir/libSDL3_main.a %_libdir/libSDL3_test.a +%files devel-doc +%_mandir/man3/*.3* + %changelog diff --git a/_service b/_service deleted file mode 100644 index ef1da11..0000000 --- a/_service +++ /dev/null @@ -1,14 +0,0 @@ - - - git - https://github.com/libsdl-org/SDL - main - release-2.26.0 - 3.0~git@TAG_OFFSET@.%h - - - *.tar - xz - - -