[gnome-boxes] meson: Use glib's version as target glib



commit e3caa8eaea8e28e1375402228be029c18f80bbf0
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Fri Dec 22 09:57:25 2017 +0100

    meson: Use glib's version as target glib
    
    meson's is able to resolve the expected vala `target-glib` by using
    glib's version.
    
    At the moment, it appends the 2.38 as the `target-glib` but also
    2.44 is also added by using vala's argument.
    
    The glib's and gio's versions have been raised to 2.44 along what is
    used by gobject dependency, and the vala argument is removed, so
    meson itself is able to add the correct `target-glib` version.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791421

 src/meson.build |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 46f6c55..bc7fdbb 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -7,7 +7,6 @@ common_sources = [
 
 vala_args = [
   '--enable-experimental',
-  '--target-glib', '2.44',
   '--vapidir', vapi_dir,
   '--vapidir', join_paths (vapi_dir, 'upstream'),
   '--vapidir', join_paths (meson.build_root (), 'subprojects', 'libgd', 'libgd')
@@ -16,8 +15,8 @@ vala_args = [
 common_dependencies = [
   config_dep,
   libarchive_dep,
-  dependency ('gio-2.0', version: '>= 2.38.0'),
-  dependency ('glib-2.0', version: '>= 2.38.0')
+  dependency ('gio-2.0', version: '>= 2.44.0'),
+  dependency ('glib-2.0', version: '>= 2.44.0')
 ]
 
 c_args = [


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