summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-10-25 20:02:28 +0530
committerDudemanguy <random342@airmail.cc>2023-10-25 16:40:02 +0000
commit54223fc8e7bd0e9bddf7c080a5a5ac07ac818af5 (patch)
treed7258a0cf65d323577ecb60de4b710aaa0adcc36 /ci
parent486bb93dfa90bf948cff8d77ad685f54d0928531 (diff)
downloadmpv-54223fc8e7bd0e9bddf7c080a5a5ac07ac818af5.tar.bz2
mpv-54223fc8e7bd0e9bddf7c080a5a5ac07ac818af5.tar.xz
ci/msys2: create a wrap file for libplacebo
This is required because msys2's libplacebo is too outdated
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-msys2.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/ci/build-msys2.sh b/ci/build-msys2.sh
index 498ea2b226..d3e1ce9fe6 100755
--- a/ci/build-msys2.sh
+++ b/ci/build-msys2.sh
@@ -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 \