Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/ports/sdl3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

from tools import diagnostics

VERSION = '3.2.30'
VERSION = '3.4.2'
TAG = f'release-{VERSION}'
HASH = '80ef7b2f257f43fe47c7ea8aa0a64f1c6f23720d91065d5e9b42f0205c62fc98bcf8dd1f1834fe09c66bea2598a18a658b82212cb29810be2d2175dece0aadce'
HASH = 'a17fe538993a3956e0b85fda21e7b431244e803a5facb35bb7a2bfd9ee23f1aac65838ed3225f526b81410cae7c23da7c40693c2e791385281f0764239116bce'
SUBDIR = f'SDL-{TAG}'

variants = {'sdl3-mt': {'PTHREADS': 1}}
Expand All @@ -29,7 +29,7 @@ def get(ports, settings, shared):
diagnostics.warning('experimental', 'sdl3 port is still experimental')

# get the port
ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/{TAG}.zip', sha512hash=HASH)
ports.fetch_project('sdl3', f'https://github.com/libsdl-org/SDL/archive/refs/tags/{TAG}.zip', sha512hash=HASH)
Comment thread
onesixromcom marked this conversation as resolved.
Outdated

def create(final):
root_dir = ports.get_dir('sdl3', SUBDIR)
Expand All @@ -53,7 +53,7 @@ def create(final):
'atomic/*.c',
'audio/*.c',
'camera/*.c',
'core/*.c',
'core/unix/*.c',
'cpuinfo/*.c',
'dynapi/*.c',
'events/*.c',
Expand Down
2 changes: 2 additions & 0 deletions tools/ports/sdl3/SDL_build_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
#define HAVE_STRING_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_WCHAR_H 1
#define HAVE_GETRESGID 1
#define HAVE_GETRESUID 1
/* #undef HAVE_PTHREAD_NP_H */

/* C library functions */
Expand Down