From 60223d127ec4daef3dc7507308d6e85c5720be9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Thu, 20 Oct 2022 16:00:37 +0200 Subject: [PATCH] meson: add plugins list to summary --- meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meson.build b/meson.build index 85710c70..aa1241d2 100644 --- a/meson.build +++ b/meson.build @@ -224,6 +224,7 @@ plugins = rs_plugins.to_list() # This is used by GStreamer to static link Rust plugins into gst-full gst_plugins = [] pc_files = [] +plugin_names = [] foreach plugin : plugins # skip the 'lib' prefix and extension from plugin path plugin_name = fs.stem(plugin.full_path()).substring(3) @@ -264,6 +265,11 @@ foreach plugin : plugins endif pc_files += [plugin_name + '.pc'] + if plugin_name.startswith('gst') + plugin_names += [plugin_name.substring(3)] + else + plugin_names += [plugin_name] + endif endforeach subdir('docs') @@ -292,3 +298,7 @@ test('tests', get_option('prefix'), get_option('libdir')], timeout: 600) + +summary({ + 'Plugins': plugin_names, +}, list_sep: ', ')