diff --git a/ci/build-openbsd.sh b/ci/build-openbsd.sh index 8e9125cf3860f..960e07a545de0 100755 --- a/ci/build-openbsd.sh +++ b/ci/build-openbsd.sh @@ -1,12 +1,18 @@ #!/bin/sh set -e -# libplacebo on openBSD is too old; use a subproject +gitclone="git clone --depth=1 --recursive --shallow-submodules" rm -rf subprojects mkdir -p subprojects -git clone https://code.videolan.org/videolan/libplacebo.git \ - --recurse-submodules --shallow-submodules \ - --depth=1 --recurse-submodules subprojects/libplacebo + +# build libglvnd for libplacebo/glad +# not actually a subproject but just throw it in the directory +$gitclone https://gitlab.freedesktop.org/glvnd/libglvnd subprojects/libglvnd +meson setup subprojects/libglvnd/build -Dgles1=false +meson install -C subprojects/libglvnd/build + +# libplacebo on openBSD is too old; use a subproject +$gitclone https://code.videolan.org/videolan/libplacebo.git subprojects/libplacebo meson setup build \ -Dlibmpv=true \