mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
18 lines
492 B
Bash
Executable File
18 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/libsndfile/libsamplerate.git"
|
|
SCRIPT_COMMIT="15c392d47e71b9395a759544b3818a1235fe1a1d"
|
|
|
|
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" -DBUILD_SHARED_LIBS=NO -DBUILD_TESTING=NO -DLIBSAMPLERATE_EXAMPLES=OFF -DLIBSAMPLERATE_INSTALL=YES ..
|
|
make -j$(nproc)
|
|
make install
|
|
}
|