mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
Mostly. It is annoying if we want to add some flag/option to all the cis and then have to do it manually. Things easily get missed that way. Skipped powershell because of course I'm not going to deal with that.
17 lines
399 B
Bash
Executable File
17 lines
399 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
. ./ci/build-common.sh
|
|
|
|
args=(
|
|
-D{cdda,d3d-hwaccel,d3d11,dvdnav,jpeg,lcms2,libarchive}=enabled
|
|
-D{libbluray,lua,shaderc,spirv-cross,uchardet,vapoursynth}=enabled
|
|
)
|
|
|
|
[[ "$SYS" != "mingw32" ]] && args+=(
|
|
-D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband,win32-smtc}=enabled
|
|
)
|
|
|
|
meson setup build $common_args "${args[@]}"
|
|
meson compile -C build
|
|
./build/mpv.com -v --no-config
|