mpv/ci/build-msys2.sh

17 lines
399 B
Bash
Raw Normal View History

#!/bin/bash -e
. ./ci/build-common.sh
2024-06-07 18:39:32 +00:00
args=(
-D{cdda,d3d-hwaccel,d3d11,dvdnav,jpeg,lcms2,libarchive}=enabled
-D{libbluray,lua,shaderc,spirv-cross,uchardet,vapoursynth}=enabled
2024-06-07 18:39:32 +00:00
)
[[ "$SYS" != "mingw32" ]] && args+=(
-D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband,win32-smtc}=enabled
2024-06-07 18:39:32 +00:00
)
meson setup build $common_args "${args[@]}"
meson compile -C build
./build/mpv.com -v --no-config