Consolidate lilv dependencies into single layer
This commit is contained in:
parent
c419c549b9
commit
487c68037b
5 changed files with 0 additions and 0 deletions
24
scripts.d/50-lilv/96-lv2.sh
Executable file
24
scripts.d/50-lilv/96-lv2.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/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
|
||||
}
|
29
scripts.d/50-lilv/96-serd.sh
Executable file
29
scripts.d/50-lilv/96-serd.sh
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
|
||||
SERD_REPO="https://github.com/drobilla/serd.git"
|
||||
SERD_COMMIT="36f1cecc1fdb803bf04d2ab60bd13dd257a9e525"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
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
|
||||
}
|
27
scripts.d/50-lilv/97-sord.sh
Executable file
27
scripts.d/50-lilv/97-sord.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
|
||||
SORD_REPO="https://github.com/drobilla/sord.git"
|
||||
SORD_COMMIT="d2efdb2d026216449599350b55c2c85c0d3efb89"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
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
|
||||
}
|
26
scripts.d/50-lilv/98-sratom.sh
Executable file
26
scripts.d/50-lilv/98-sratom.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
SRATOM_REPO="https://github.com/lv2/sratom.git"
|
||||
SRATOM_COMMIT="c46452c83d442de137fa6470ba544e3ba142e923"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
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
|
||||
}
|
37
scripts.d/50-lilv/99-lilv.sh
Executable file
37
scripts.d/50-lilv/99-lilv.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/bash
|
||||
|
||||
LILV_REPO="https://github.com/lv2/lilv.git"
|
||||
LILV_COMMIT="71a2ff5170caaa052814cce19b3de927d10d0e24"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
git-mini-clone "$LILV_REPO" "$LILV_COMMIT" lilv
|
||||
cd lilv
|
||||
git submodule update --init --recursive --depth 1
|
||||
|
||||
local mywaf=(
|
||||
--prefix="$FFBUILD_PREFIX"
|
||||
--static
|
||||
--no-shared
|
||||
--no-bindings
|
||||
--no-utils
|
||||
--no-bash-completion
|
||||
)
|
||||
|
||||
CC="${FFBUILD_CROSS_PREFIX}gcc" CXX="${FFBUILD_CROSS_PREFIX}g++" ./waf configure "${mywaf[@]}"
|
||||
./waf -j$(nproc)
|
||||
./waf install
|
||||
|
||||
sed -i 's/Cflags:/Cflags: -DLILV_STATIC/' "$FFBUILD_PREFIX"/lib/pkgconfig/lilv-0.pc
|
||||
}
|
||||
|
||||
ffbuild_configure() {
|
||||
echo --enable-lv2
|
||||
}
|
||||
|
||||
ffbuild_unconfigure() {
|
||||
echo --disable-lv2
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue