[gom] build: bump glib2 to 2.38 for G_ADD_PRIVATE



commit 8411d8cd9666161c10da257f2bdb8fee8fb8cb81
Author: Victor Toso <me victortoso com>
Date:   Mon Feb 17 23:12:31 2020 +0100

    build: bump glib2 to 2.38 for G_ADD_PRIVATE
    
    While at it, use a single variable for glib, gio and gobject

 meson.build | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index c19073b..c7459a5 100644
--- a/meson.build
+++ b/meson.build
@@ -17,9 +17,11 @@ pkgconfig = import('pkgconfig')
 enable_gir = get_option('enable-introspection')
 enable_gtkdoc = get_option('enable-gtk-doc')
 
-gio_dep = dependency('gio-2.0', version: '>= 2.36')
-glib_dep = dependency('glib-2.0', version: '>= 2.36')
-gobject_dep = dependency('gobject-2.0', version: '>= 2.36')
+glib2_required = '>= 2.38'
+
+gio_dep = dependency('gio-2.0', version: glib2_required)
+glib_dep = dependency('glib-2.0', version: glib2_required)
+gobject_dep = dependency('gobject-2.0', version: glib2_required)
 sqlite3_dep = dependency('sqlite3', version: '>= 3.7')
 gdkpixbuf_dep = dependency('gdk-pixbuf-2.0')
 


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