[Spice-commits] 2 commits - vapi/meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jan 20 07:47:27 UTC 2019


 vapi/meson.build |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 0beef9c7d1945ae2491b2614d98daa50290ca3d1
Merge: d0cbd96 432a290
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Sun Jan 20 07:47:26 2019 +0000

    Merge branch 'fix-vapi-build' into 'master'
    
    meson: ensure correct build order of VAPI
    
    See merge request spice/spice-gtk!3

commit 432a29090c061b8567d69c576f6761904c8d228b
Author: Rasmus Thomsen <rasmus.thomsen at protonmail.com>
Date:   Sun Jan 20 02:09:53 2019 +0100

    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

diff --git a/vapi/meson.build b/vapi/meson.build
index 2c4caa0..c9fef3d 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -1,12 +1,13 @@
 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])


More information about the Spice-commits mailing list