diff options
Diffstat (limited to '')
-rwxr-xr-x | ci/build-msys2.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ci/build-msys2.sh b/ci/build-msys2.sh new file mode 100755 index 0000000..d3e1ce9 --- /dev/null +++ b/ci/build-msys2.sh @@ -0,0 +1,39 @@ +#!/bin/sh -e + +mkdir subprojects +cat > subprojects/libplacebo.wrap <<EOF +[wrap-git] +url = https://code.videolan.org/videolan/libplacebo.git +revision = v6.338.1 +depth = 1 +clone-recursive = true +EOF + +meson setup build \ + --werror \ + -Dlibplacebo:werror=false \ + -Dlibplacebo:demos=false \ + -Dlibplacebo:default_library=static \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -D cdda=enabled \ + -D d3d-hwaccel=enabled \ + -D d3d11=enabled \ + -D dvdnav=enabled \ + -D egl-angle-lib=enabled \ + -D egl-angle-win32=enabled \ + -D jpeg=enabled \ + -D lcms2=enabled \ + -D libarchive=enabled \ + -D libbluray=enabled \ + -D libmpv=true \ + -D lua=enabled \ + -D pdf-build=enabled \ + -D rubberband=enabled \ + -D shaderc=enabled \ + -D spirv-cross=enabled \ + -D tests=true \ + -D uchardet=enabled \ + -D vapoursynth=enabled +meson compile -C build +cp ./build/player/mpv.com ./build +./build/mpv.com -v --no-config |