diff --git a/README.md b/README.md index 2ef66a4..cc559c2 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,8 @@ The codebase includes its own: Requirements: - `clang` -- `cmake` - `libbacktrace` -- SDL3 (the build script can clone and install SDL when missing) +- `libsdl3` Build commands: diff --git a/build.sh b/build.sh index 198fb71..10269c8 100755 --- a/build.sh +++ b/build.sh @@ -9,18 +9,18 @@ if [ -v addr ]; then echo "[address sanitizer build]"; fi mkdir -p build -if [ ! -e "src/external/SDL" ]; then - cd src/external - git clone https://github.com/libsdl-org/SDL.git - cd SDL - git checkout release-3.2.30 - # We need older version of SDL3 because there is a bug on wayland that - # doubles click events and it's kind of unusable - cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr - cd build_linux - sudo make -j16 install - cd ../../../.. -fi +# if [ ! -e "src/external/SDL" ]; then +# cd src/external +# git clone https://github.com/libsdl-org/SDL.git +# cd SDL +# git checkout release-3.2.30 +# # We need older version of SDL3 because there is a bug on wayland that +# # doubles click events and it's kind of unusable +# cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr +# cd build_linux +# sudo make -j16 install +# cd ../../../.. +# fi cd build