1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-23 08:03:19 +00:00

ci/msys2: create a wrap file for libplacebo

This is required because msys2's libplacebo is too outdated
This commit is contained in:
llyyr 2023-10-25 20:02:28 +05:30 committed by Dudemanguy
parent 486bb93dfa
commit 54223fc8e7

View File

@ -1,8 +1,19 @@
#!/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 \