Browse Source

Use updated SDL2

eden-orbis-ps4
lizzie 2 weeks ago
parent
commit
6fbe8a9f99
  1. 1
      .ci/ps4/build.sh
  2. 6
      externals/CMakeLists.txt
  3. 8
      externals/cpmfile.json

1
.ci/ps4/build.sh

@ -53,5 +53,6 @@ cmake -S . -B build -G "Unix Makefiles" \
-DYUZU_USE_EXTERNAL_FFMPEG=ON \
-DYUZU_USE_CPM=ON \
-DDYNARMIC_TESTS=ON \
-DYUZU_USE_EXTERNAL_SDL2=ON \
"${EXTRA_CMAKE_FLAGS[@]}" || exit
cmake --build build -t yuzu-cmd_pkg -- -j$NPROC

6
externals/CMakeLists.txt

@ -167,6 +167,12 @@ if (ENABLE_SDL2)
if ("${YUZU_SYSTEM_PROFILE}" STREQUAL "steamdeck")
set(SDL_PIPEWIRE OFF) # build errors out with this on
AddJsonPackage("sdl2_steamdeck")
elseif (PLATFORM_PS4)
set(PS4 ON)
set(ORBIS ON)
AddJsonPackage("sdl2_ps4")
unset(ORBIS)
unset(PS4)
else()
AddJsonPackage("sdl2_generic")
endif()

8
externals/cpmfile.json

@ -211,6 +211,14 @@
"bundled": true,
"skip_updates": "true"
},
"sdl2_ps4": {
"package": "SDL2",
"repo": "xinitrcn1/SDL",
"sha": "f577141fc4",
"key": "ps4",
"bundled": true,
"skip_updates": true
},
"moltenvk": {
"repo": "V380-Ori/Ryujinx.MoltenVK",
"tag": "v%VERSION%-ryujinx",

Loading…
Cancel
Save