[tracker/wip/carlosg/meson-fixes: 4/8] libtracker-control: Generate vapi file



commit 375eb69a365ee737422d967752d3111f5d70ea31
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]