meson: Actually build plugin examples

This broke in 8b5a398135.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1604>
This commit is contained in:
Nirbheek Chauhan 2024-06-06 16:36:47 +05:30 committed by GStreamer Marge Bot
parent 7f16fd7736
commit 4c9ed330c8

View file

@ -448,6 +448,12 @@ foreach plugin_name, details: plugins
continue continue
endif endif
# Parse and enable examples
plugin_examples = details.get('examples', [])
foreach example: plugin_examples
examples += example
endforeach
packages += f'gst-plugin-@plugin_name@' packages += f'gst-plugin-@plugin_name@'
features += plugin_features features += plugin_features
extra_features = run_command('dependencies.py', meson.current_source_dir(), plugin_name, extra_features = run_command('dependencies.py', meson.current_source_dir(), plugin_name,