Add new lilv dep
This commit is contained in:
parent
8dac144f1c
commit
6eab5153f5
1 changed files with 38 additions and 0 deletions
38
scripts.d/50-lilv/96-zix.sh
Executable file
38
scripts.d/50-lilv/96-zix.sh
Executable file
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT_REPO="https://github.com/drobilla/zix.git"
|
||||
SCRIPT_COMMIT="577356481bbcb12468bcf669ef7107dfb057b833"
|
||||
|
||||
ffbuild_enabled() {
|
||||
return 0
|
||||
}
|
||||
|
||||
ffbuild_dockerbuild() {
|
||||
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" zix
|
||||
cd zix
|
||||
|
||||
mkdir build && cd build
|
||||
|
||||
local myconf=(
|
||||
--prefix="$FFBUILD_PREFIX"
|
||||
--buildtype=release
|
||||
--default-library=static
|
||||
-Ddocs=disabled
|
||||
-Dbenchmarks=disabled
|
||||
-Dtests=disabled
|
||||
-Dtests_cpp=disabled
|
||||
)
|
||||
|
||||
if [[ $TARGET == win* || $TARGET == linux* ]]; then
|
||||
myconf+=(
|
||||
--cross-file=/cross.meson
|
||||
)
|
||||
else
|
||||
echo "Unknown target"
|
||||
return -1
|
||||
fi
|
||||
|
||||
meson "${myconf[@]}" ..
|
||||
ninja -j"$(nproc)"
|
||||
ninja install
|
||||
}
|
Loading…
Reference in a new issue