From 2500a422860887d9d165af26731fe6199c3baa14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 14 Sep 2021 17:54:03 +0200 Subject: [PATCH] Fix missing gio-unix-2.0 dep Our autogenerated MPRIS code needs it. On some packaging systems this might be included outside of glib, so depend on it explicitly. --- lib/gst/clapper/meson.build | 2 +- lib/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gst/clapper/meson.build b/lib/gst/clapper/meson.build index f0573bff..168946b8 100644 --- a/lib/gst/clapper/meson.build +++ b/lib/gst/clapper/meson.build @@ -84,7 +84,7 @@ gstclapper = library('gstclapper-' + api_version, version: libversion, install: true, install_dir: pkglibdir, - dependencies: [gtk4_dep, glib_dep, gio_dep, + dependencies: [gtk4_dep, glib_dep, gio_dep, giounix_dep, gstbase_dep, gstvideo_dep, gstaudio_dep, gsttag_dep, gstpbutils_dep, libm] + gtk_deps, ) diff --git a/lib/meson.build b/lib/meson.build index e5c52bfb..588ddb94 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -247,6 +247,7 @@ libm = cc.find_library('m', required: false) glib_dep = dependency('glib-2.0', version: glib_req, fallback: ['glib', 'libglib_dep']) gmodule_dep = dependency('gmodule-2.0', fallback: ['glib', 'libgmodule_dep']) gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep']) +giounix_dep = dependency('gio-unix-2.0', version: glib_req, fallback: ['glib', 'libgiounix_dep']) cdata.set('DISABLE_ORC', 1) cdata.set('GST_ENABLE_EXTRA_CHECKS', get_option('devel-checks'))