mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-28 22:48:24 -05:00
Install SDL 2.0.18
*Install SDL 2.0.18 *Disable external SDL 2.0.18 *Cache files
This commit is contained in:
parent
8aea9f06f4
commit
024c001319
19
.github/workflows/docker.sh
vendored
19
.github/workflows/docker.sh
vendored
@ -14,6 +14,24 @@ find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror
|
|||||||
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
|
||||||
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} +
|
find . -name "CMakeLists.txt" ! -path "*/externals/*" -exec sed -i 's/-Werror/-W/g' {} +
|
||||||
|
|
||||||
|
###############################################
|
||||||
|
# Install SDL
|
||||||
|
SDL2VER=2.0.18
|
||||||
|
#SDL2
|
||||||
|
cd $CACHEDIR
|
||||||
|
if [[ ! -e SDL2-${SDL2VER} ]]; then
|
||||||
|
curl -sLO https://libsdl.org/release/SDL2-${SDL2VER}.tar.gz
|
||||||
|
tar -xzf SDL2-${SDL2VER}.tar.gz
|
||||||
|
cd SDL2-${SDL2VER}
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make && cd ../
|
||||||
|
rm SDL2-${SDL2VER}.tar.gz
|
||||||
|
fi
|
||||||
|
sudo make -C SDL2-${SDL2VER} install
|
||||||
|
sdl2-config --version
|
||||||
|
cd /yuzu
|
||||||
|
###############################################
|
||||||
|
|
||||||
pip3 install conan --upgrade
|
pip3 install conan --upgrade
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
@ -31,6 +49,7 @@ cmake .. \
|
|||||||
-DENABLE_QT_TRANSLATION=ON \
|
-DENABLE_QT_TRANSLATION=ON \
|
||||||
-DBUILD_DATE="$build_date" \
|
-DBUILD_DATE="$build_date" \
|
||||||
-DYUZU_USE_QT_WEB_ENGINE=OFF \
|
-DYUZU_USE_QT_WEB_ENGINE=OFF \
|
||||||
|
-DYUZU_USE_EXTERNAL_SDL2=OFF \
|
||||||
-G Ninja
|
-G Ninja
|
||||||
|
|
||||||
ninja
|
ninja
|
||||||
|
Loading…
Reference in New Issue
Block a user