[json-glib] build: Require the same modules for Meson and Autotools



commit 04a5298e6d9d862bed8567ac802f1aaa415f4ff4
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Mar 13 17:47:59 2017 +0000

    build: Require the same modules for Meson and Autotools
    
    We depend on gio-2.0, which strings along glib-2.0 and gobject-2.0.

 json-glib/json-glib.pc.in |    2 +-
 json-glib/meson.build     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/json-glib/json-glib.pc.in b/json-glib/json-glib.pc.in
index 1a86ead..8a6c8e5 100644
--- a/json-glib/json-glib.pc.in
+++ b/json-glib/json-glib.pc.in
@@ -8,4 +8,4 @@ Description: JSON Parser for GLib
 Version: @VERSION@
 Libs: -L${libdir} -ljson-glib-1.0
 Cflags: -I${includedir}/json-glib-1.0
-Requires: gobject-2.0 gio-2.0
+Requires: gio-2.0
diff --git a/json-glib/meson.build b/json-glib/meson.build
index fe3bcc4..9110255 100644
--- a/json-glib/meson.build
+++ b/json-glib/meson.build
@@ -91,7 +91,7 @@ pkgg.generate(libraries: [ json_lib ],
               name: 'JSON-GLib',
               filebase: 'json-glib-@0@'.format(apiversion),
               description: 'JSON Parser for GLib.',
-              requires: 'glib-2.0 gio-2.0')
+              requires: 'gobject-2.0 gio-2.0')
 
 # Generated headers, used to declare the dependency for internal
 # targets


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