Commit 432a2909 authored by Rasmus Thomsen's avatar Rasmus Thomsen

meson: ensure correct build order of VAPI

Without this commit spice-client-gtk-3.0.vapi may be built
before spice-client-glib-2.0.vapi if build_jobs > 1. This causes
the build to fail because the former depends on the latter
parent d0cbd961
Pipeline #15599 failed with stage
in 14 minutes and 1 second
if spice_gtk_has_vala
gnome.generate_vapi('spice-client-glib-2.0',
spice_glib_vapi = gnome.generate_vapi('spice-client-glib-2.0',
install : true,
packages : ['gio-2.0', 'gstreamer-1.0'],
sources : spice_client_glib_gir[0])
if spice_gtk_has_gtk
gnome.generate_vapi('spice-client-gtk-3.0',
install : true,
packages : ['gtk+-3.0', 'gstreamer-1.0', 'spice-client-glib-2.0'],
packages : ['gtk+-3.0', 'gstreamer-1.0', spice_glib_vapi],
gir_dirs : join_paths(meson.build_root(), 'src'),
vapi_dirs : meson.current_build_dir(),
sources : spice_client_gtk_gir[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment