update SDL2 for more controller support

This commit is contained in:
Samutz
2023-05-01 10:37:48 -05:00
committed by root
parent 229e5e3efe
commit 85291a5bc3
+7 -5
View File
@@ -1,12 +1,14 @@
#!/bin/bash
SDL2_VERSION="2.26.5"
pushd SDL
wget https://www.libsdl.org/release/SDL2-2.0.12.zip
unzip -q SDL2-2.0.12.zip
mv SDL2-2.0.12/include include
wget https://www.libsdl.org/release/SDL2-${SDL2_VERSION}.zip
unzip -q SDL2-${SDL2_VERSION}.zip
mv SDL2-${SDL2_VERSION}/include include
ln -s . include/SDL2
rm SDL2-2.0.12.zip
rm -r SDL2-2.0.12
rm SDL2-${SDL2_VERSION}.zip
rm -r SDL2-${SDL2_VERSION}
popd