Update Meson version requirements and dependencies

This commit is contained in:
deepend-tildeclub
2026-02-05 11:54:10 -07:00
committed by GitHub
parent f42157fdd7
commit fda50f0ff3

View File

@@ -1,6 +1,6 @@
project('zoitechat', 'c',
version: '2.17.4',
meson_version: '>= 0.47.0',
meson_version: '>= 0.55.0',
default_options: [
'c_std=c17',
'buildtype=debugoptimized',
@@ -13,7 +13,7 @@ gnome = import('gnome')
cc = meson.get_compiler('c')
libgio_dep = dependency('gio-2.0', version: '>= 2.36.0')
libgio_dep = dependency('gio-2.0', version: '>= 2.84.0')
libgmodule_dep = dependency('gmodule-2.0')
libcanberra_dep = dependency('libcanberra', version: '>= 0.22',
@@ -47,8 +47,8 @@ config_h.set('G_DISABLE_SINGLE_INCLUDES', true)
config_h.set('GTK_DISABLE_DEPRECATED', true)
config_h.set('GTK_DISABLE_SINGLE_INCLUDES', true)
config_h.set('GDK_PIXBUF_DISABLE_SINGLE_INCLUDES', true)
config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_36')
config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_36')
config_h.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_86')
config_h.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_84')
# Detected features
config_h.set('HAVE_MEMRCHR', cc.has_function('memrchr'))
@@ -168,7 +168,7 @@ if cc.get_id() != 'msvc'
meson.add_install_script('meson_post_install.py')
endif
if meson.version().version_compare('>= 0.53.0')
if meson.version().version_compare('>= 0.55.0')
summary({
'prefix': get_option('prefix'),
'bindir': get_option('bindir'),