build: Build-depend on glib 2.68

GLib 2.68 is now more than 3 years old, so we can definitely start
using it without thinking too much.

This allows us to drop lots of compat code that we had around.

And like the previous commit tells us, it will also help us to have
more correct code around.
This commit is contained in:
Marco Trevisan (Treviño)
2024-02-19 22:23:02 +01:00
parent 90c4afded4
commit 057c209beb
2 changed files with 1 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ datadir = prefix / get_option('datadir')
cc = meson.get_compiler('c')
cpp = meson.get_compiler('cpp')
host_system = host_machine.system()
glib_min_version = '2.56'
glib_min_version = '2.68'
glib_version_def = 'GLIB_VERSION_@0@_@1@'.format(
glib_min_version.split('.')[0], glib_min_version.split('.')[1])