2021-02-19 17:48:56 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-03-14 19:06:25 +00:00
|
|
|
LV2_REPO="https://github.com/lv2/lv2.git"
|
|
|
|
LV2_COMMIT="611759daacc377a2dba97723097338fceffd6ef8"
|
2021-02-19 17:48:56 +00:00
|
|
|
|
|
|
|
ffbuild_enabled() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerstage() {
|
|
|
|
to_df "ADD $SELF /stage.sh"
|
|
|
|
to_df "RUN run_stage"
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
rm -rf lv2
|
|
|
|
}
|