SHA256
1
0
forked from pool/SDL3

- Update to preview release 3.1.1

OBS-URL: https://build.opensuse.org/package/show/games/SDL3?expand=0&rev=2
This commit is contained in:
Jan Engelhardt 2024-04-11 16:23:51 +00:00 committed by Git OBS Bridge
parent 6c8fa2b016
commit 8bdffdced9
5 changed files with 34 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d1cd3a85ccc2e8aeaf6e5382f4c68f97314b818fb8e7debae8eb0b0a44f325e
size 9197264

3
SDL3-3.1.1.tar.xz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Apr 11 16:15:42 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>

View File

@ -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

View File

@ -1,14 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/libsdl-org/SDL</param>
<param name="revision">main</param>
<param name="parent-tag">release-2.26.0</param>
<param name="versionformat">3.0~git@TAG_OFFSET@.%h</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>