[rhythmbox/wip/hadess/cleanups: 17/30] build: Set the min/max versions of GLib allowed
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/cleanups: 17/30] build: Set the min/max versions of GLib allowed
- Date: Wed, 3 Nov 2021 10:43:45 +0000 (UTC)
commit 23d03da31074094cf8a063a559017b3e5f1c62c8
Author: Bastien Nocera <hadess hadess net>
Date: Mon Oct 18 16:05:00 2021 +0200
build: Set the min/max versions of GLib allowed
As was done in autotools.
config.h.meson | 4 ++++
meson.build | 3 +++
2 files changed, 7 insertions(+)
---
diff --git a/config.h.meson b/config.h.meson
index 40504bf47..d63841a25 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -1,6 +1,10 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Manually converted for use by Meson. */
+/* GLib version requirements */
+#mesondefine GLIB_VERSION_MIN_REQUIRED
+#mesondefine GLIB_VERSION_MAX_ALLOWED
+
/* Define if building universal (internal helper macro) */
#mesondefine AC_APPLE_UNIVERSAL_BUILD
diff --git a/meson.build b/meson.build
index 0d1251595..f14c5dc67 100644
--- a/meson.build
+++ b/meson.build
@@ -32,6 +32,9 @@ add_project_arguments(common_cflags, language: 'c')
libmath = cc.find_library('m')
glib_required = '2.38.0'
+cdata.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_38')
+cdata.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_38')
+
gstreamer_required = '1.4.0'
gdk_pixbuf = dependency('gdk-pixbuf-2.0', version: '>= 2.18.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]