From 0ee03f2b1d6e450bf2603b1783dc3b0cd8aec683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 16 Oct 2020 12:45:09 +0200 Subject: meson: update glib minimum version to 2.56 In order to support the symbol g_enum_to_string in various project using GStreamer ( gst-validate etc.), the glib minimum version should be 2.56.0. Remove compat code as glib requirement is now > 2.56 Version used by Ubuntu 18.04 LTS Part-of: --- examples/egl/testegl.c | 6 ------ meson.build | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/egl/testegl.c b/examples/egl/testegl.c index 615a8fe..b7e7745 100644 --- a/examples/egl/testegl.c +++ b/examples/egl/testegl.c @@ -1495,12 +1495,6 @@ main (int argc, char **argv) state->current_buffer = NULL; state->caps = NULL; -#if !GLIB_CHECK_VERSION (2, 31, 0) - /* must initialise the threading system before using any other GLib funtion */ - if (!g_thread_supported ()) - g_thread_init (NULL); -#endif - ctx = g_option_context_new ("[ADDITIONAL ARGUMENTS]"); g_option_context_add_main_entries (ctx, options, NULL); g_option_context_add_group (ctx, gst_init_get_option_group ()); diff --git a/meson.build b/meson.build index 8945dd8..7db071c 100644 --- a/meson.build +++ b/meson.build @@ -15,7 +15,7 @@ else gst_version_nano = 0 endif -glib_req = '>= 2.44.0' +glib_req = '>= 2.56.0' gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor) tizil_req = '>= 0.19.0' api_version = '1.0' -- cgit v1.2.1