[tracker/wip/carlosg/meson-fixes: 7/10] libtracker-miner: Generate vapi file



commit 75199488fd3c697e0442ff7c4562edc2446d1a3b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Sep 5 00:00:05 2018 +0200

    libtracker-miner: Generate vapi file

 src/libtracker-miner/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/libtracker-miner/meson.build b/src/libtracker-miner/meson.build
index 1d5c98285..9565c5418 100644
--- a/src/libtracker-miner/meson.build
+++ b/src/libtracker-miner/meson.build
@@ -86,6 +86,13 @@ tracker_miner_gir = gnome.generate_gir(libtracker_miner,
         '--c-include=libtracker-miner/tracker-miner.h',
     ])
 
+gnome.generate_vapi(
+      'tracker-miner-' + tracker_api_version,
+      sources : tracker_miner_gir[0],
+      packages : 'gio-2.0',
+      install : true,
+    )
+
 configure_file(
     input: 'tracker-miner.pc.in',
     output: 'tracker-miner-@0@.pc'.format(tracker_api_version),


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