forked from jengelh/SDL3
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
45b2e11bb2 | |||
7a6daf8e2f | |||
0fe0392eae | |||
2dec95c732 |
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99a9e84b4d5afd68d423d364fdd03592efa7658208cddf3f846dbeb707569ecc
|
||||
size 4751864
|
BIN
SDL3-3.1.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
SDL3-3.1.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
SDL3.changes
28
SDL3.changes
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
10
SDL3.spec
10
SDL3.spec
@ -19,18 +19,16 @@
|
||||
%define sle_version 0
|
||||
Name: SDL3
|
||||
%define lname libSDL3-0
|
||||
Version: 3.1.2
|
||||
Version: 3.1.6
|
||||
Release: 0
|
||||
Summary: Simple DirectMedia Layer Library
|
||||
License: Zlib
|
||||
Group: Development/Libraries/X11
|
||||
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: https://github.com/libsdl-org/SDL/releases/download/prerelease-%version/%name-%version.tar.xz
|
||||
Source: https://github.com/libsdl-org/SDL/releases/download/preview-%version/SDL3-%version.tar.gz
|
||||
Source3: %name.keyring
|
||||
Patch1: gcc14.patch
|
||||
Source4: baselibs.conf
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdecor-devel
|
||||
@ -129,7 +127,7 @@ SDL3 C API.
|
||||
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
|
||||
-DSDL_KMSDRM_SHARED: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_DISABLE_INSTALL_DOCS:BOOL=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libSDL3-0
|
46
gcc14.patch
46
gcc14.patch
@ -1,46 +0,0 @@
|
||||
From fb02d9949459e7660195e7d98c06b29297be5ee8 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Mon, 19 Aug 2024 22:47:45 +0200
|
||||
Subject: [PATCH] Resolve build failures in pipewire code
|
||||
References: https://github.com/libsdl-org/SDL/pull/10568
|
||||
|
||||
g++-13 complains:
|
||||
|
||||
```
|
||||
SDL_pipewire.c:129:42: warning: assignment to "struct pw_main_loop *
|
||||
(*)(struct pw_main_loop *)" from incompatible pointer type "struct
|
||||
pw_main_loop * (*)(const struct spa_dict *)"
|
||||
[-Wincompatible-pointer-types]
|
||||
129 | #define SDL_PIPEWIRE_SYM(x) PIPEWIRE_##x = x
|
||||
SDL_pipewire.c:148:5: note: in expansion of macro "SDL_PIPEWIRE_SYM"
|
||||
148 | SDL_PIPEWIRE_SYM(pw_main_loop_new);
|
||||
```
|
||||
|
||||
g++-14 complains:
|
||||
|
||||
```
|
||||
SDL_pipewire.c:129:42: error: assignment to "struct pw_main_loop *
|
||||
(*)(const struct pw_main_loop *)" from incompatible pointer type
|
||||
"struct pw_main_loop * (*)(const struct spa_dict *)"
|
||||
[-Wincompatible-pointer-types]
|
||||
```
|
||||
---
|
||||
src/audio/pipewire/SDL_pipewire.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c
|
||||
index 251b324a3..ad8d1ef52 100644
|
||||
--- a/src/audio/pipewire/SDL_pipewire.c
|
||||
+++ b/src/audio/pipewire/SDL_pipewire.c
|
||||
@@ -56,7 +56,7 @@ static SDL_bool pipewire_initialized = SDL_FALSE;
|
||||
static const char *(*PIPEWIRE_pw_get_library_version)(void);
|
||||
static void (*PIPEWIRE_pw_init)(int *, char ***);
|
||||
static void (*PIPEWIRE_pw_deinit)(void);
|
||||
-static struct pw_main_loop *(*PIPEWIRE_pw_main_loop_new)(struct pw_main_loop *loop);
|
||||
+static struct pw_main_loop *(*PIPEWIRE_pw_main_loop_new)(const struct spa_dict *loop);
|
||||
static struct pw_loop *(*PIPEWIRE_pw_main_loop_get_loop)(struct pw_main_loop *loop);
|
||||
static int (*PIPEWIRE_pw_main_loop_run)(struct pw_main_loop *loop);
|
||||
static int (*PIPEWIRE_pw_main_loop_quit)(struct pw_main_loop *loop);
|
||||
--
|
||||
2.46.0
|
||||
|
Loading…
Reference in New Issue
Block a user