mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
b9b58f122b
For better feedback on build status and to keep mpv warning free. Except for macos builds, there are more issue there that need fixing.
28 lines
819 B
Bash
Executable File
28 lines
819 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
meson setup build \
|
|
--werror \
|
|
-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
|