summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2023-10-23 17:39:33 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2024-01-08 10:38:05 +0000
commit7fdef970c441f4dc65c0c3a84c953d405a6413d3 (patch)
tree7c25aa63d5b17bc7a2f8f73f3c515e96f63c2853 /hw/xwin
parent515b240a2449c4afc99ef3f60af49ee42032f4dc (diff)
build: Switch to meson 0.56
And replace the deprecated meson API accordingly. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'hw/xwin')
-rw-r--r--hw/xwin/glx/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/glx/meson.build b/hw/xwin/glx/meson.build
index 95f248953..70f426ff1 100644
--- a/hw/xwin/glx/meson.build
+++ b/hw/xwin/glx/meson.build
@@ -2,11 +2,11 @@ python3 = import('python3')
# XWin requires OpenGL spec files in order to generate wrapper code for native GL functions
py3 = python3.find_python()
-if run_command(py3, '-c', 'import lxml;').returncode() != 0
+if run_command(py3, '-c', 'import lxml;', check: false).returncode() != 0
error('python3 lxml module not found')
endif
-khronos_spec_dir = dependency('khronos-opengl-registry').get_pkgconfig_variable('specdir')
+khronos_spec_dir = dependency('khronos-opengl-registry').get_variable(pkgconfig : 'specdir')
gen_gl_wrappers_opts= ['-nodebug']
gen_gl_wrappers_cmd = ['env', 'PYTHONPATH=' + khronos_spec_dir, py3, files('./gen_gl_wrappers.py'), gen_gl_wrappers_opts]