[sdl2] update to 2.32.0 (#43705)

This commit is contained in:
Oleg Derevenetz 2025-02-20 23:03:47 +03:00 committed by GitHub
parent 3e3abce323
commit ca521321e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 12 deletions

View File

@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libsdl-org/SDL
REF "release-${VERSION}"
SHA512 0ce3aa0bd340465039c4dad8e562b4ac612932e23f011629522ceaf9cd3317b2a1905b30f190a5e6d79ac43a7a5db75dff712600570776e5bbef41fbedaab5c4
SHA512 16300440cd47d0ee35cde8a05acdc5987246e2812d844a6b94b18dda389a9e5b9377f1cbba7033ebd755226605e7cbad8f4e6a345eb7db7b1890d83a5f155333
HEAD_REF main
PATCHES
deps.patch
@ -108,15 +108,6 @@ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug" AND NOT VCP
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/sdl2.pc" "-lSDL2-static " "-lSDL2-staticd " IGNORE_UNCHANGED)
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic" AND VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/sdl2.pc" "-lSDL2-static " " ")
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/sdl2.pc" "-lSDL2-staticd " " ")
endif()
endif()
if(VCPKG_TARGET_IS_UWP)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/sdl2.pc" "$<$<CONFIG:Debug>:d>.lib" "")

View File

@ -1,6 +1,6 @@
{
"name": "sdl2",
"version": "2.30.12",
"version": "2.32.0",
"description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.",
"homepage": "https://www.libsdl.org/download-2.0.php",
"license": "Zlib",

View File

@ -8217,7 +8217,7 @@
"port-version": 6
},
"sdl2": {
"baseline": "2.30.12",
"baseline": "2.32.0",
"port-version": 0
},
"sdl2-gfx": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2643749d09cb11573fa0c19038cfd8b7d50de97f",
"version": "2.32.0",
"port-version": 0
},
{
"git-tree": "519decfc6f5bcc4be3b919c10e0792798f7c006f",
"version": "2.30.12",