[gtksourceview] build: bump GTK and GLib dependencies
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] build: bump GTK and GLib dependencies
- Date: Tue, 6 Sep 2022 19:40:51 +0000 (UTC)
commit 0f78857d9d6569e352e724b47f1f215fdf809dcf
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 6 12:37:48 2022 -0700
build: bump GTK and GLib dependencies
We need recent GTK and GLib for this release so that we have the necessary
bug fixes we rely on.
meson.build | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index a8793f53..ade8021c 100644
--- a/meson.build
+++ b/meson.build
@@ -68,8 +68,8 @@ build_gtk_doc = get_option('gtk_doc')
# Dependencies
cc = meson.get_compiler('c')
-glib_req_version = '2.70'
-gtk_req_version = '4.5'
+glib_req_version = '2.73'
+gtk_req_version = '4.7'
libm_dep = cc.find_library('m', required: false)
@@ -116,6 +116,10 @@ glib_version_arr = glib_req_version.split('.')
glib_major_version = glib_version_arr[0]
glib_minor_version = glib_version_arr[1]
+if glib_minor_version.to_int() % 2 == 1
+ glib_minor_version = '@0@'.format(glib_minor_version.to_int()+1)
+endif
+
gtk_version_arr = gtk_req_version.split('.')
gtk_major_version = gtk_version_arr[0]
gtk_minor_version = gtk_version_arr[1]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]