2024-02-25 16:37:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# clone exactly the oldest libplacebo we want to support
|
|
|
|
rm -rf subprojects
|
|
|
|
mkdir -p subprojects
|
|
|
|
git clone https://code.videolan.org/videolan/libplacebo.git \
|
2024-02-26 22:16:48 +00:00
|
|
|
--recurse-submodules --shallow-submodules \
|
|
|
|
--depth=1 --branch v6.338 subprojects/libplacebo \
|
2024-02-25 16:37:03 +00:00
|
|
|
|
|
|
|
meson setup build \
|
2024-04-28 18:06:05 +00:00
|
|
|
--werror \
|
2024-02-25 16:37:03 +00:00
|
|
|
-Dlibplacebo:vulkan=disabled \
|
|
|
|
-Dlibmpv=true \
|
|
|
|
-Dlua=enabled \
|
|
|
|
-Dtests=true
|
|
|
|
|
|
|
|
meson compile -C build
|
|
|
|
./build/mpv -v --no-config
|