Skip to content

Instantly share code, notes, and snippets.

@tobylane
Created March 28, 2024 13:53
Show Gist options
  • Save tobylane/4305e960d4e526f2c517a7187f65ae8e to your computer and use it in GitHub Desktop.
Save tobylane/4305e960d4e526f2c517a7187f65ae8e to your computer and use it in GitHub Desktop.
#!/bin/env bash -x
(cd sdl2-*; ./configure --disable-joystick --disable-haptic --prefix=$PWD/../; make install)
(cd libxmp*; cmake -Bbuild . -DCMAKE_INSTALL_PREFIX=$PWD/../; cmake --build build/ --target install)
(cd wavpack*; ./configure --disable-apps --prefix=$PWD/../; make install)
(cd libogg-*; ./configure --prefix=$PWD/../; make install)
(cd opus-*; ./configure --disable-doc --disable-extra-programs --prefix=$PWD/../; make install)
(cd opusfile-*; ./configure --disable-doc --disable-examples --prefix=$PWD/../; make install)
(cd sdl2_mixer*; cmake -Bbuild . -DSDL2MIXER_MIDI_FLUIDSYNTH=OFF -DSDL2MIXER_MIDI_TIMIDITY=OFF \
-DSDL2MIXER_WAVPACK=ON -DSDL2MIXER_DEPS_SHARED=ON -DBUILD_SHARED_LIBS=ON -DSDL2MIXER_WAVE=ON \
-DSDL2MIXER_OPUS=ON -DCMAKE_INSTALL_PREFIX=$PWD/../ -DSDL2_INCLUDE_DIR=$PWD/../include/SDL2/"
cmake --build build/ --target install)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment