build: require meson 1.2

Update the requirement in meson.build and the CI runners to meson 1.2

This keeps things in line with glib and avoids unexpected suprises from
using meson versions that are way too old.
This commit is contained in:
Benjamin Otte
2024-10-16 01:16:30 +02:00
parent 68d74b380f
commit 84d4fbaa85
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliar
@echo on
:: FIXME: make warnings fatal
pip3 install --upgrade --user meson~=0.64 || goto :error
pip3 install --upgrade --user meson~=1.2 || goto :error
meson setup -Dbackend_max_links=1 -Ddebug=false -Dmedia-gstreamer=disabled -Dvulkan=disabled _build || goto :error
ninja -C _build || goto :error

View File

@@ -7,7 +7,7 @@ project('gtk', 'c',
# https://github.com/mesonbuild/meson/issues/2289
'c_std=gnu99',
],
meson_version : '>= 0.63.0',
meson_version : '>= 1.2.0',
license: 'LGPL-2.1-or-later')
# keep these numbers in sync with wrap files where there exist