mirror of
https://github.com/mpv-player/mpv
synced 2025-03-24 12:22:25 +00:00
Remove waf entirely in favor of meson as the only supported build system. Waf was officially deprecated in 0.36.0, and has not been preferred over meson since 0.35.0.
31 lines
855 B
Bash
Executable File
31 lines
855 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
python3.11 -m venv venv
|
|
source ./venv/bin/activate
|
|
python -m pip install meson
|
|
meson setup build \
|
|
-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 libplacebo=enabled \
|
|
-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 \
|
|
-D vulkan=enabled
|
|
meson compile -C build
|
|
cp ./build/generated/mpv.com ./build
|
|
./build/mpv.com -v --no-config
|