parent
791b9eade1
commit
8e7b58f924
5 changed files with 112 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LV2_REPO="https://gitlab.com/lv2/lv2.git"
|
LV2_REPO="https://github.com/lv2/lv2.git"
|
||||||
LV2_COMMIT="ba34a58b32839491335b5bcbda46e11c4b209cbc"
|
LV2_COMMIT="611759daacc377a2dba97723097338fceffd6ef8"
|
||||||
|
|
||||||
ffbuild_enabled() {
|
ffbuild_enabled() {
|
||||||
return 0
|
return 0
|
||||||
|
|
37
scripts.d/45-serd.sh
Executable file
37
scripts.d/45-serd.sh
Executable file
|
@ -0,0 +1,37 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SERD_REPO="https://github.com/drobilla/serd.git"
|
||||||
|
SERD_COMMIT="36f1cecc1fdb803bf04d2ab60bd13dd257a9e525"
|
||||||
|
|
||||||
|
ffbuild_enabled() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerstage() {
|
||||||
|
to_df "ADD $SELF /stage.sh"
|
||||||
|
to_df "RUN run_stage"
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerbuild() {
|
||||||
|
git-mini-clone "$SERD_REPO" "$SERD_COMMIT" serd
|
||||||
|
cd serd
|
||||||
|
git submodule update --init --recursive --depth 1
|
||||||
|
|
||||||
|
local mywaf=(
|
||||||
|
--prefix="$FFBUILD_PREFIX"
|
||||||
|
--no-utils
|
||||||
|
--static
|
||||||
|
--no-shared
|
||||||
|
--largefile
|
||||||
|
--stack-check
|
||||||
|
)
|
||||||
|
|
||||||
|
CC="${FFBUILD_CROSS_PREFIX}gcc" CXX="${FFBUILD_CROSS_PREFIX}g++" ./waf configure "${mywaf[@]}"
|
||||||
|
./waf -j$(nproc)
|
||||||
|
./waf install
|
||||||
|
|
||||||
|
sed -i 's/Cflags:/Cflags: -DSERD_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/serd-0.pc
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf serd
|
||||||
|
}
|
35
scripts.d/46-sord.sh
Executable file
35
scripts.d/46-sord.sh
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SORD_REPO="https://github.com/drobilla/sord.git"
|
||||||
|
SORD_COMMIT="d2efdb2d026216449599350b55c2c85c0d3efb89"
|
||||||
|
|
||||||
|
ffbuild_enabled() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerstage() {
|
||||||
|
to_df "ADD $SELF /stage.sh"
|
||||||
|
to_df "RUN run_stage"
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerbuild() {
|
||||||
|
git-mini-clone "$SORD_REPO" "$SORD_COMMIT" sord
|
||||||
|
cd sord
|
||||||
|
git submodule update --init --recursive --depth 1
|
||||||
|
|
||||||
|
local mywaf=(
|
||||||
|
--prefix="$FFBUILD_PREFIX"
|
||||||
|
--no-utils
|
||||||
|
--static
|
||||||
|
--no-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
CC="${FFBUILD_CROSS_PREFIX}gcc" CXX="${FFBUILD_CROSS_PREFIX}g++" ./waf configure "${mywaf[@]}"
|
||||||
|
./waf -j$(nproc)
|
||||||
|
./waf install
|
||||||
|
|
||||||
|
sed -i 's/Cflags:/Cflags: -DSORD_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/sord-0.pc
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf sord
|
||||||
|
}
|
34
scripts.d/47-sratom.sh
Executable file
34
scripts.d/47-sratom.sh
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SRATOM_REPO="https://github.com/lv2/sratom.git"
|
||||||
|
SRATOM_COMMIT="c46452c83d442de137fa6470ba544e3ba142e923"
|
||||||
|
|
||||||
|
ffbuild_enabled() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerstage() {
|
||||||
|
to_df "ADD $SELF /stage.sh"
|
||||||
|
to_df "RUN run_stage"
|
||||||
|
}
|
||||||
|
|
||||||
|
ffbuild_dockerbuild() {
|
||||||
|
git-mini-clone "$SRATOM_REPO" "$SRATOM_COMMIT" sratom
|
||||||
|
cd sratom
|
||||||
|
git submodule update --init --recursive --depth 1
|
||||||
|
|
||||||
|
local mywaf=(
|
||||||
|
--prefix="$FFBUILD_PREFIX"
|
||||||
|
--static
|
||||||
|
--no-shared
|
||||||
|
)
|
||||||
|
|
||||||
|
CC="${FFBUILD_CROSS_PREFIX}gcc" CXX="${FFBUILD_CROSS_PREFIX}g++" ./waf configure "${mywaf[@]}"
|
||||||
|
./waf -j$(nproc)
|
||||||
|
./waf install
|
||||||
|
|
||||||
|
sed -i 's/Cflags:/Cflags: -DSRATOM_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/sratom-0.pc
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf sratom
|
||||||
|
}
|
|
@ -1,11 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LILV_REPO="https://gitlab.com/lv2/lilv.git"
|
LILV_REPO="https://github.com/lv2/lilv.git"
|
||||||
LILV_COMMIT="71a2ff5170caaa052814cce19b3de927d10d0e24"
|
LILV_COMMIT="71a2ff5170caaa052814cce19b3de927d10d0e24"
|
||||||
|
|
||||||
ffbuild_enabled() {
|
ffbuild_enabled() {
|
||||||
# Still has missing dependencies
|
return 0
|
||||||
return -1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ffbuild_dockerstage() {
|
ffbuild_dockerstage() {
|
||||||
|
@ -31,6 +30,8 @@ ffbuild_dockerbuild() {
|
||||||
./waf -j$(nproc)
|
./waf -j$(nproc)
|
||||||
./waf install
|
./waf install
|
||||||
|
|
||||||
|
sed -i 's/Cflags:/Cflags: -DLILV_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/lilv-0.pc
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf lilv
|
rm -rf lilv
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue