50-gme.sh 571 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. SCRIPT_REPO="https://github.com/libgme/game-music-emu.git"
  3. SCRIPT_COMMIT="cb2c1ccc7563ed58321cc3b6b8507b9015192b80"
  4. ffbuild_enabled() {
  5. return 0
  6. }
  7. ffbuild_dockerbuild() {
  8. mkdir build && cd build
  9. cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=1 -DBUILD_SHARED_LIBS=OFF -DENABLE_UBSAN=OFF ..
  10. make -j$(nproc)
  11. make install
  12. }
  13. ffbuild_configure() {
  14. echo --enable-libgme
  15. }
  16. ffbuild_unconfigure() {
  17. echo --disable-libgme
  18. }