12345678910111213141516171819202122232425 |
- #!/bin/bash
- SCRIPT_REPO="https://github.com/libgme/game-music-emu.git"
- SCRIPT_COMMIT="cb2c1ccc7563ed58321cc3b6b8507b9015192b80"
- ffbuild_enabled() {
- return 0
- }
- ffbuild_dockerbuild() {
- mkdir build && cd build
- 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 ..
- make -j$(nproc)
- make install
- }
- ffbuild_configure() {
- echo --enable-libgme
- }
- ffbuild_unconfigure() {
- echo --disable-libgme
- }
|