From 06606b0b8eff6c95d31fb818b22094414ab08c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 16 Aug 2023 18:38:53 +0200 Subject: [PATCH] build: Support sysprof-6 Sysprof 45 changed the API version of the main library. We mainly depend on sysprof-capture which is *not* affected, except for looking up the datadir where sysprof's D-Bus interfaces are installed. That lookup doesn't care whether we are using sysprof-6 or sysprof-4, so accept either dependency. https://gitlab.gnome.org/GNOME/mutter/-/issues/2962 Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index edc307fe8..7f4f948f9 100644 --- a/meson.build +++ b/meson.build @@ -436,7 +436,7 @@ if have_profiler ) if libsysprof_capture_dep.type_name() == 'pkgconfig' - sysprof_dep = dependency('sysprof-4') + sysprof_dep = dependency('sysprof-6', 'sysprof-4') sysprof_dbus_interfaces_dir = sysprof_dep.get_variable('datadir') / 'dbus-1' / 'interfaces' else sysprof_dbus_interfaces_dir = mutter_srcdir / 'subprojects' / 'sysprof' / 'src'