Consolidate lilv dependencies into single layer
This commit is contained in:
parent
c419c549b9
commit
487c68037b
5 changed files with 0 additions and 0 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue