Skip to content

Commit

Permalink
[sdl3] Update to 3.1.8-preview (microsoft#43207)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Schäfer <[email protected]>
  • Loading branch information
Agorath and Agorath authored Jan 14, 2025
1 parent a1e6673 commit 14f6f66
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
12 changes: 3 additions & 9 deletions ports/sdl3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libsdl-org/SDL
REF "preview-3.1.6"
SHA512 a0ca7263cd2f1b883829c39ae0ee2ea18d814f8dde768c8be9a49487193bc856bb45870764fd70169e75d2ec80457e5b45811c07a926479f1ac4f9d3157f40a4
REF "preview-3.1.8"
SHA512 5a40cf838fce3a0ddd895269c5ad51fc4ca63bf9919f23c45b04218ae55096708b8f24027056256e69f9b4ae730b967c8ba3b77a24f7771a0770cf45fddaeb34
HEAD_REF main
)

Expand Down Expand Up @@ -48,13 +48,7 @@ vcpkg_cmake_configure(
)

vcpkg_cmake_install()

# Subject to https://github.com/libsdl-org/SDL/pull/11492
set(config_path "share/${PORT}/SDL3")
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(config_path "share/${PORT}")
endif()
vcpkg_cmake_config_fixup(CONFIG_PATH "${config_path}")
vcpkg_cmake_config_fixup()

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
Expand Down
3 changes: 1 addition & 2 deletions ports/sdl3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "sdl3",
"version": "3.1.6-preview",
"port-version": 2,
"version": "3.1.8-preview",
"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",
"license": "Zlib AND MIT AND Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -8289,8 +8289,8 @@
"port-version": 11
},
"sdl3": {
"baseline": "3.1.6-preview",
"port-version": 2
"baseline": "3.1.8-preview",
"port-version": 0
},
"seacas": {
"baseline": "2022-11-22",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/sdl3.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "31c0ca3780c2a32d05a4820441e62c7cfcc780d6",
"version": "3.1.8-preview",
"port-version": 0
},
{
"git-tree": "696763312883c589e3a9b07f42b7293de4dcf2b1",
"version": "3.1.6-preview",
Expand Down

0 comments on commit 14f6f66

Please sign in to comment.