From 911e40f1aa85fee526d6ec483595e569e7d8e2b5 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Wed, 7 Mar 2018 08:37:47 +0100 Subject: [PATCH] Fix Vala bindings: - Name the bindings the same as the pkgconfig file - Update the GIR bindings to include the appropriate header file which updates the Vala bindings --- libfwupd/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libfwupd/meson.build b/libfwupd/meson.build index ef8ef1a0b..d16bbb776 100644 --- a/libfwupd/meson.build +++ b/libfwupd/meson.build @@ -96,6 +96,7 @@ if get_option('introspection') symbol_prefix : 'fwupd', identifier_prefix : 'Fwupd', export_packages : 'fwupd', + extra_args : '--c-include=fwupd.h', # This can be replaced with header : 'fwupd.h' once can depend on Meson 0.43.0 dependencies : [ giounix, soup, @@ -108,8 +109,8 @@ if get_option('introspection') install : true ) - gnome.generate_vapi('libfwupd-2.0', - sources: gir[0], + gnome.generate_vapi('fwupd', + sources : gir[0], packages : ['gio-2.0', 'libsoup-2.4'], install : true, )