mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 01:54:11 +00:00
meson: Bump minimal GLib version to 2.44
This means we can use some newer features and get rid of some boilerplate code using the `G_DECLARE_*` macros. As discussed on IRC, 2.44 is old enough by now to start depending on it.
This commit is contained in:
parent
b22a0c3873
commit
56d19cbf75
3 changed files with 2 additions and 4 deletions
|
@ -791,7 +791,7 @@ fi
|
|||
dnl *** checks for dependency libraries ***
|
||||
|
||||
dnl GLib
|
||||
GLIB_REQ=2.40.0
|
||||
GLIB_REQ=2.44.0
|
||||
AG_GST_GLIB_CHECK([$GLIB_REQ])
|
||||
|
||||
dnl Check for documentation xrefs
|
||||
|
|
|
@ -427,7 +427,7 @@ libsinc = include_directories('libs')
|
|||
privinc = include_directories('gst')
|
||||
|
||||
# Find dependencies
|
||||
glib_dep = dependency('glib-2.0', version : '>=2.40.0',
|
||||
glib_dep = dependency('glib-2.0', version : '>=2.44.0',
|
||||
fallback: ['glib', 'libglib_dep'])
|
||||
gobject_dep = dependency('gobject-2.0',
|
||||
fallback: ['glib', 'libgobject_dep'])
|
||||
|
|
|
@ -488,9 +488,7 @@ GST_START_TEST (test_dataurisrc_uri_iface)
|
|||
GST_URI_SRC);
|
||||
protocols = gst_uri_handler_get_protocols (GST_URI_HANDLER (src));
|
||||
fail_unless (protocols != NULL && *protocols != NULL);
|
||||
#if GLIB_CHECK_VERSION (2, 44, 0)
|
||||
fail_unless (g_strv_contains (protocols, "data"));
|
||||
#endif
|
||||
fail_if (gst_uri_handler_set_uri (GST_URI_HANDLER (src), "file:///foo",
|
||||
NULL));
|
||||
fail_unless (gst_uri_handler_set_uri (GST_URI_HANDLER (src), data_uri, NULL));
|
||||
|
|
Loading…
Reference in a new issue