Skip to content

Commit 1740cee

Browse files
committed
fix: install libsdl in Version 2.28.5 to fix steam input masking bug
1 parent 2f44496 commit 1740cee

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,14 @@ jobs:
2929
sudo apt-get update
3030
sudo apt-get install -y librashader
3131
32-
- name: Install libsdl 2.28.5 in usr local and appdir
32+
- name: Install libsdl 2.28.5 in usr local
3333
run: |
3434
git clone https://github.com/libsdl-org/SDL.git -b release-2.28.5
3535
cd SDL
3636
mkdir build && cd build
3737
../configure
3838
make -j$(nproc)
3939
sudo make install
40-
mkdir -p /ares/AppDir/usr
41-
../configure --prefix /ares/AppDir/usr
42-
make -j$(nproc)
43-
make install
4440
4541
- name: Build ares
4642
run: |
@@ -52,6 +48,13 @@ jobs:
5248
cmake --build . -j$(nproc)
5349
cmake --install . --prefix ../AppDir/usr
5450
51+
- name: Install libsdl 2.28.5 in appdir
52+
run: |
53+
cd SDL/build
54+
cmake .. -DCMAKE_BUILD_TYPE=Release
55+
cmake --build . --config Release --parallel
56+
sudo cmake --install . --config Release --prefix ../../ares/AppDir/usr
57+
5558
- name: Build appimage
5659
run: |
5760
export LINUXDEPLOY_OUTPUT_VERSION="${MAJOR_VERSION}"

0 commit comments

Comments
 (0)