[gexiv2] Remove VAPI override and meta-data



commit 53c08bf2e4eacd438e822c305541c0de0ee2f74a
Author: Corentin Noël <corentin elementary io>
Date:   Thu Jan 11 15:08:53 2018 +0100

    Remove VAPI override and meta-data
    
    Use native GObject introspection for Vala, also provide Vala .deps files
    automatically in meson

 gexiv2/meson.build        | 7 +++++++
 meson.build               | 4 ----
 vapi/GExiv2-0.10.metadata | 3 ---
 vapi/gexiv2-custom.vala   | 4 ----
 vapi/gexiv2.deps          | 2 --
 vapi/meson.build          | 4 ----
 6 files changed, 7 insertions(+), 17 deletions(-)
---
diff --git a/gexiv2/meson.build b/gexiv2/meson.build
index aeca227..a2c040a 100644
--- a/gexiv2/meson.build
+++ b/gexiv2/meson.build
@@ -99,4 +99,11 @@ if introspection_available
       includes : ['GObject-2.0'],
       header : 'gexiv2/gexiv2.h',
       install : true)
+
+    if vapi_available
+        vapi = gnome.generate_vapi('gexiv2',
+                               sources : gir.get(0),
+                               install : true,
+                               packages: pc_deps)
+    endif
 endif
diff --git a/meson.build b/meson.build
index 471e9d0..0a645c2 100644
--- a/meson.build
+++ b/meson.build
@@ -18,10 +18,6 @@ if get_option('docs')
   subdir('docs')
 endif
 
-if vapi_available
-  subdir('vapi')
-endif
-
 python2_available = false
 python3_available = false
 python_gi_test_args = ['-c', 'import gi; print(gi._overridesdir)']


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