[tracker/wip/carlosg/meson-fixes: 6/10] libtracker-control: Generate vapi file



commit f5e63657052559cba39f753061243c69f1f4838d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Sep 4 23:59:45 2018 +0200

    libtracker-control: Generate vapi file

 src/libtracker-control/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/libtracker-control/meson.build b/src/libtracker-control/meson.build
index f9386d6a6..438ddfa95 100644
--- a/src/libtracker-control/meson.build
+++ b/src/libtracker-control/meson.build
@@ -31,6 +31,13 @@ tracker_control_gir = gnome.generate_gir(libtracker_control,
     install: true,
     extra_args: '--c-include=libtracker-control/tracker-control.h')
 
+gnome.generate_vapi(
+      'tracker-control-' + tracker_api_version,
+      sources : tracker_control_gir[0],
+      packages : 'gio-2.0',
+      install : true,
+    )
+
 configure_file(
     input: 'tracker-control.pc.in',
     output: 'tracker-control-@0@.pc'.format(tracker_api_version),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]