mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-30 14:00:29 +00:00
meson: add plugins list to summary
This commit is contained in:
parent
92266cb82c
commit
60223d127e
1 changed files with 10 additions and 0 deletions
10
meson.build
10
meson.build
|
@ -224,6 +224,7 @@ plugins = rs_plugins.to_list()
|
||||||
# This is used by GStreamer to static link Rust plugins into gst-full
|
# This is used by GStreamer to static link Rust plugins into gst-full
|
||||||
gst_plugins = []
|
gst_plugins = []
|
||||||
pc_files = []
|
pc_files = []
|
||||||
|
plugin_names = []
|
||||||
foreach plugin : plugins
|
foreach plugin : plugins
|
||||||
# skip the 'lib' prefix and extension from plugin path
|
# skip the 'lib' prefix and extension from plugin path
|
||||||
plugin_name = fs.stem(plugin.full_path()).substring(3)
|
plugin_name = fs.stem(plugin.full_path()).substring(3)
|
||||||
|
@ -264,6 +265,11 @@ foreach plugin : plugins
|
||||||
endif
|
endif
|
||||||
|
|
||||||
pc_files += [plugin_name + '.pc']
|
pc_files += [plugin_name + '.pc']
|
||||||
|
if plugin_name.startswith('gst')
|
||||||
|
plugin_names += [plugin_name.substring(3)]
|
||||||
|
else
|
||||||
|
plugin_names += [plugin_name]
|
||||||
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
|
@ -292,3 +298,7 @@ test('tests',
|
||||||
get_option('prefix'),
|
get_option('prefix'),
|
||||||
get_option('libdir')],
|
get_option('libdir')],
|
||||||
timeout: 600)
|
timeout: 600)
|
||||||
|
|
||||||
|
summary({
|
||||||
|
'Plugins': plugin_names,
|
||||||
|
}, list_sep: ', ')
|
||||||
|
|
Loading…
Reference in a new issue