mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
9f6fb161e2
GTK supports webm playback, which means a backend should always be compiled. The ffmpeg backend however is incomplete (no audio) and as such, we don't want people to end up with it accidentally. Since we don't want to drag an entire gstreamer build into our ci on MacOs or msvc, explicitly disable the gstreame media backend there.
15 lines
442 B
Batchfile
15 lines
442 B
Batchfile
@echo on
|
|
:: vcvarsall.bat sets various env vars like PATH, INCLUDE, LIB, LIBPATH for the
|
|
:: specified build architecture
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
@echo on
|
|
|
|
:: FIXME: make warnings fatal
|
|
pip3 install --upgrade --user meson==0.56.2 || goto :error
|
|
meson -Dmedia-gstreamer=disabled _build || goto :error
|
|
ninja -C _build || goto :error
|
|
|
|
goto :EOF
|
|
:error
|
|
exit /b 1
|