build: Switch to meson 0.56

And replace the deprecated meson API accordingly.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
Olivier Fourdan
2023-10-23 17:39:33 +02:00
committed by Peter Hutterer
parent 515b240a24
commit 7fdef970c4
6 changed files with 32 additions and 34 deletions

View File

@@ -5,12 +5,12 @@ simple_xinit = executable(
)
piglit_env = environment()
piglit_env.set('XSERVER_DIR', meson.source_root())
piglit_env.set('XSERVER_BUILDDIR', meson.build_root())
piglit_env.set('XSERVER_DIR', meson.project_source_root())
piglit_env.set('XSERVER_BUILDDIR', meson.project_build_root())
gles20_env = environment()
gles20_env.set('XSERVER_DIR', meson.source_root())
gles20_env.set('XSERVER_BUILDDIR', meson.build_root())
gles20_env.set('XSERVER_DIR', meson.project_source_root())
gles20_env.set('XSERVER_BUILDDIR', meson.project_build_root())
gles20_env.set('MESA_GLES_VERSION_OVERRIDE', '2.0')
some_ops = ' -o clear,src,dst,over,xor,disjointover'