Skip to content

Commit

Permalink
Updated to version 2.30.51 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 29, 2025
1 parent 7081453 commit 0c526f1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# cmake -DSDL3_INCLUDE_DIRS=/opt/SDL3/include [other stuff ....]

cmake_minimum_required(VERSION 3.0...3.28)
project(sdl2_compat VERSION 2.30.50 LANGUAGES C)
project(sdl2_compat VERSION 2.30.51 LANGUAGES C)

if(POLICY CMP0074)
# CMP0074: find_package() uses <PackageName>_ROOT variables.
Expand Down
2 changes: 1 addition & 1 deletion include/SDL2/SDL_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ typedef struct SDL_version
*/
#define SDL_MAJOR_VERSION 2
#define SDL_MINOR_VERSION 30
#define SDL_PATCHLEVEL 50
#define SDL_PATCHLEVEL 51

/**
* Macro to determine SDL version program was compiled against.
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.darwin
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CFLAGS = -fPIC -fvisibility=hidden -O3 -Wall
LDFLAGS = -dynamiclib -Wl,-undefined,error -Wl,-single_module
#LDFLAGS+= -Wl,-headerpad_max_install_names
LDFLAGS+= -Wl,-install_name,"/usr/local/lib/$(DYLIB)"
LDFLAGS+= -Wl,-compatibility_version,3001.50 -Wl,-current_version,3001.50
LDFLAGS+= -Wl,-compatibility_version,3001.51 -Wl,-current_version,3001.51
LDLIBS = -Wl,-framework,AppKit
# this is needed for x86_64 - cross-gcc might not add it.
#LDLIBS += -Wl,-lbundle1.o
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LDFLAGS = -shared -Wl,-soname,libSDL2-2.0.so.0
LDFLAGS+= -Wl,--no-undefined
LDLIBS = -ldl

SHLIB = libSDL2-2.0.so.0.3000.50
SHLIB = libSDL2-2.0.so.0.3000.51

OBJ = sdl2_compat.o dynapi/SDL_dynapi.o

Expand Down
2 changes: 1 addition & 1 deletion src/sdl2_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This breaks the build when creating SDL_ ## DisableScreenSaver
* The number might increment past 90 if there are a ton of releases.
*/
#define SDL2_COMPAT_VERSION_MINOR 30
#define SDL2_COMPAT_VERSION_PATCH 50
#define SDL2_COMPAT_VERSION_PATCH 51

#ifndef SDL2COMPAT_REVISION
#define SDL2COMPAT_REVISION "SDL-2." STRINGIFY(SDL2_COMPAT_VERSION_MINOR) "." STRINGIFY(SDL2_COMPAT_VERSION_PATCH) "-no-vcs"
Expand Down
8 changes: 4 additions & 4 deletions src/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,30,50,0
PRODUCTVERSION 2,30,50,0
FILEVERSION 2,30,51,0
PRODUCTVERSION 2,30,51,0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0x0L
FILEOS 0x40004L
Expand All @@ -17,12 +17,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "SDL\0"
VALUE "FileVersion", "2, 30, 50, 0\0"
VALUE "FileVersion", "2, 30, 51, 0\0"
VALUE "InternalName", "SDL\0"
VALUE "LegalCopyright", "Copyright (C) 2025 Sam Lantinga\0"
VALUE "OriginalFilename", "SDL2.dll\0"
VALUE "ProductName", "Simple DirectMedia Layer 2.0 wrapper\0"
VALUE "ProductVersion", "2, 30, 50, 0\0"
VALUE "ProductVersion", "2, 30, 51, 0\0"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 0c526f1

Please sign in to comment.