FFmpeg-Builds/scripts.d/45-lv2.sh

24 lines
528 B
Bash
Executable file

#!/bin/bash
LV2_REPO="https://github.com/lv2/lv2.git"
LV2_COMMIT="6cefc7df1a6158c79d23029df183c09b10b88cad"
ffbuild_enabled() {
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$LV2_REPO" "$LV2_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
}