FFmpeg-Builds/scripts.d/50-lilv/96-lv2.sh
2022-07-12 23:35:23 +02:00

24 lines
540 B
Bash
Executable file

#!/bin/bash
SCRIPT_REPO="https://github.com/lv2/lv2.git"
SCRIPT_COMMIT="d97a1a4daff228bdd62c68859959d13077e47026"
ffbuild_enabled() {
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" lv2
cd lv2
git submodule update --init --recursive --depth 1
local mywaf=(
--prefix="$FFBUILD_PREFIX"
--no-plugins
--no-coverage
)
CC="${FFBUILD_CROSS_PREFIX}gcc" CXX="${FFBUILD_CROSS_PREFIX}g++" ./waf configure "${mywaf[@]}"
./waf -j$(nproc)
./waf install
}