[json-glib] Remove dependency on json-version.h



commit 3e28eebd47125fea6c749d9434ba1c638af53441
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Mar 13 15:03:19 2017 +0000

    Remove dependency on json-version.h
    
    The file is generated at configuration time.

 json-glib/meson.build |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/json-glib/meson.build b/json-glib/meson.build
index 11190c6..294daed 100644
--- a/json-glib/meson.build
+++ b/json-glib/meson.build
@@ -93,18 +93,18 @@ pkgg.generate(libraries: [ json_lib ],
               description: 'JSON Parser for GLib.',
               requires: 'glib-2.0 gio-2.0')
 
-json_gen_sources = [ json_glib_enums, version_h ]
+json_gen_sources = [ json_glib_enums ]
 if build_gir
-    json_gen_sources += gnome.generate_gir(json_lib,
-                                           sources: source_c + source_h,
-                                           namespace: 'Json',
-                                           nsversion: apiversion,
-                                           identifier_prefix: 'Json',
-                                           symbol_prefix: 'json',
-                                           export_packages: 'json-glib-1.0',
-                                           includes: [ 'GObject-2.0', 'Gio-2.0', ],
-                                           install: true,
-                                           extra_args: ['-DJSON_COMPILATION'])
+    gnome.generate_gir(json_lib,
+                       sources: source_c + source_h,
+                       namespace: 'Json',
+                       nsversion: apiversion,
+                       identifier_prefix: 'Json',
+                       symbol_prefix: 'json',
+                       export_packages: 'json-glib-1.0',
+                       includes: [ 'GObject-2.0', 'Gio-2.0', ],
+                       install: true,
+                       extra_args: ['-DJSON_COMPILATION'])
 endif
 
 json_glib_dep = declare_dependency(link_with: json_lib,


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