SHA256
1
0
forked from pool/SDL2

- Update to release 2.0.20

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=115
This commit is contained in:
Jan Engelhardt 2022-01-11 19:48:57 +00:00 committed by Git OBS Bridge
parent bca5155ce6
commit 1c9ee0a094
6 changed files with 20 additions and 6 deletions

View File

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

Binary file not shown.

3
SDL2-2.0.20.tar.gz Normal file
View File

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

BIN
SDL2-2.0.20.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jan 11 19:47:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.20
* SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not
int. You can cast color data in SDL_PIXELFORMAT_RGBA32 format
(SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this
parameter.
* Improved accuracy of horizontal and vertical line drawing
when using OpenGL or OpenGLES.
* Added the hint SDL_HINT_RENDER_LINE_METHOD to control the
method of line drawing used, to select speed, correctness,
and compatibility.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 17 10:40:12 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Fri Dec 17 10:40:12 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL2 # spec file for package SDL2
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 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,7 +19,7 @@
%define sle_version 0 %define sle_version 0
Name: SDL2 Name: SDL2
%define lname libSDL2-2_0-0 %define lname libSDL2-2_0-0
Version: 2.0.18 Version: 2.0.20
Release: 0 Release: 0
Summary: Simple DirectMedia Layer Library Summary: Simple DirectMedia Layer Library
License: Zlib License: Zlib
@ -111,7 +111,7 @@ library.
perl -i -pe 's{\r\n}{\n}g' *.txt perl -i -pe 's{\r\n}{\n}g' *.txt
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %_lto_cflags -ffat-lto-objects
# In this instance, we do want --with-pic because of libSDL2main.a. # In this instance, we do want --with-pic because of libSDL2main.a.
%configure --with-pic --disable-alsa-shared --disable-video-directfb \ %configure --with-pic --disable-alsa-shared --disable-video-directfb \
--enable-video-kmsdrm --enable-video-wayland \ --enable-video-kmsdrm --enable-video-wayland \