ci/mingw: disable vulkan for 32-bit build

There's some cdecl / stdcall linking nonsense breaking the build
which I'm not inclined to debug this Sunday at all.
32-bit is not important anyway, so just disable it there.

On the plus side the new functional structure makes this very painless.
This commit is contained in:
sfan5 2023-08-20 17:12:35 +02:00
parent c936377e34
commit 76b1d282a5
1 changed files with 10 additions and 6 deletions

View File

@ -181,7 +181,7 @@ _libplacebo () {
[ -d libplacebo ] || $gitclone https://code.videolan.org/videolan/libplacebo.git
builddir libplacebo
meson setup .. --cross-file "$prefix_dir/crossfile" \
-Ddemos=false -D{opengl,d3d11,vulkan}=enabled
-Ddemos=false -D{opengl,d3d11}=enabled
makeplusinstall
popd
}
@ -243,10 +243,14 @@ _luajit () {
}
_luajit_mark=lib/libluajit-5.1.a
for x in \
iconv zlib ffmpeg shaderc spirv-cross vulkan-headers vulkan-loader \
libplacebo freetype fribidi harfbuzz libass luajit
do
for x in iconv zlib ffmpeg shaderc spirv-cross; do
build_if_missing $x
done
if [[ "$TARGET" != "i686-"* ]]; then
build_if_missing vulkan-headers
build_if_missing vulkan-loader
fi
for x in libplacebo freetype fribidi harfbuzz libass luajit; do
build_if_missing $x
done
@ -263,7 +267,7 @@ rm -rf $build
meson setup $build --cross-file "$prefix_dir/crossfile" \
--buildtype debugoptimized \
-Dlibmpv=true -Dlua=luajit \
-D{shaderc,spirv-cross,d3d11,vulkan,libplacebo}=enabled
-D{shaderc,spirv-cross,d3d11,libplacebo}=enabled
meson compile -C $build