Skip to content

Commit

Permalink
Bump SDL to 2.28.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jorio committed Jun 23, 2023
1 parent def29be commit 90412b9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-appimage-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release AppImage aarch64
on: [workflow_dispatch, workflow_call]

env:
SDL2_VERSION: "2.26.3"
SDL2_VERSION: "2.28.1"
APPIMAGETOOL_VERSION: "13"
GAME_SHORTNAME: "candycrisis"
GAME_LONGNAME: "Candy Crisis"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-appimage-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release AppImage x86_64
on: [workflow_dispatch, workflow_call]

env:
SDL2_VERSION: "2.26.3"
SDL2_VERSION: "2.28.1"
APPIMAGETOOL_VERSION: "13"
GAME_SHORTNAME: "candycrisis"
GAME_LONGNAME: "Candy Crisis"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Mac
on: [workflow_dispatch, workflow_call]

env:
SDL2_VERSION: "2.26.3"
SDL2_VERSION: "2.28.1"
GAME_SHORTNAME: "CandyCrisis"
GAME_LONGNAME: "Candy Crisis"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Windows
on: [workflow_dispatch, workflow_call]

env:
SDL2_VERSION: "2.26.3"
SDL2_VERSION: "2.28.1"
GAME_SHORTNAME: "CandyCrisis"
GAME_LONGNAME: "Candy Crisis"

Expand Down
6 changes: 3 additions & 3 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Build recipe:
git clone https://github.com/jorio/CandyCrisis
cd CandyCrisis

curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.26.3/SDL2-2.26.3.dmg
curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.28.1/SDL2-2.28.1.dmg
hdiutil attach SDL2-*.dmg
cp -a /Volumes/SDL2/SDL2.framework SDL2.framework
hdiutil detach /Volumes/SDL2
Expand All @@ -28,7 +28,7 @@ Build recipe (to run in PowerShell):
git clone https://github.com/jorio/CandyCrisis
cd CandyCrisis

Invoke-WebRequest -OutFile SDL2-VC.zip -Uri https://github.com/libsdl-org/SDL/releases/download/release-2.26.3/SDL2-devel-2.26.3-VC.zip
Invoke-WebRequest -OutFile SDL2-VC.zip -Uri https://github.com/libsdl-org/SDL/releases/download/release-2.28.1/SDL2-devel-2.28.1-VC.zip
Expand-Archive SDL2-VC.zip
move SDL2-VC/SDL2-* SDL2

Expand All @@ -53,7 +53,7 @@ Or, if you want to build SDL from source and link it statically:
git clone https://github.com/jorio/CandyCrisis
cd CandyCrisis

git clone --depth 1 --branch release-2.26.3 https://github.com/libsdl-org/SDL
git clone --depth 1 --branch release-2.28.1 https://github.com/libsdl-org/SDL

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL_FROM_SOURCE=1 -DSTATIC_SDL=1
cmake --build build
Expand Down

0 comments on commit 90412b9

Please sign in to comment.