Selaa lähdekoodia

Auto-update libsdl to 2.28.4 (#2679)

* Update libsdl to 2.28.4

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua

* Try to update emscripten

* try without ldflags

---------

Co-authored-by: ruki <[email protected]>
Jérôme Leclercq 1 vuosi sitten
vanhempi
commit
55ba237265
2 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 1 1
      .github/workflows/wasm_ubuntu.yml
  2. 3 2
      packages/l/libsdl/xmake.lua

+ 1 - 1
.github/workflows/wasm_ubuntu.yml

@@ -28,7 +28,7 @@ jobs:
         uses: mymindstorm/setup-emsdk@v11
         with:
           # Make sure to set a version number!
-          version: 3.1.28
+          version: 3.1.35
           # This is the name of the cache folder.
           # The cache folder will be placed in the build directory,
           #  so make sure it doesn't conflict with anything!

+ 3 - 2
packages/l/libsdl/xmake.lua

@@ -34,6 +34,7 @@ package("libsdl")
     add_versions("archive:2.28.1", "b34b6f5a4d38191491724698a62241f0264c8a56c7d550fd49d1daf49261ae46")
     add_versions("archive:2.28.2", "22383a6b242bac072f949d2b3854cf04c6856cae7a87eaa78c60dd733b71e41e")
     add_versions("archive:2.28.3", "2308d4e4cd5852b3b81934dcc94603454834c14bef49de1cb1230c37ea6dc15c")
+    add_versions("archive:2.28.4", "b53b9b42e731a33552d0a533316a88009b423c16a8a3a418df9ffe498c37da3d")
     add_versions("github:2.0.8",  "release-2.0.8")
     add_versions("github:2.0.12", "release-2.0.12")
     add_versions("github:2.0.14", "release-2.0.14")
@@ -53,6 +54,7 @@ package("libsdl")
     add_versions("github:2.28.1", "release-2.28.1")
     add_versions("github:2.28.2", "release-2.28.2")
     add_versions("github:2.28.3", "release-2.28.3")
+    add_versions("github:2.28.4", "release-2.28.4")
 
     add_deps("cmake")
 
@@ -212,6 +214,5 @@ package("libsdl")
     end)
 
     on_test(function (package)
-        assert(package:has_cfuncs("SDL_Init",
-            {includes = "SDL2/SDL.h", configs = {defines = "SDL_MAIN_HANDLED"}}))
+        assert(package:has_cfuncs("SDL_Init", {includes = "SDL2/SDL.h", configs = {defines = "SDL_MAIN_HANDLED"}}))
     end)