diff options
author | L. E. Segovia <amy@centricular.com> | 2023-08-18 04:09:10 +0300 |
---|---|---|
committer | L. E. Segovia <amy@amyspark.me> | 2023-08-19 02:04:32 +0300 |
commit | 7cf48db2fbfe4aa385c8fb811b765387d507ab84 (patch) | |
tree | 2aad3e6688ec12648a440cf230b5d4a7e0951983 /meson.build | |
parent | 4ff681e0bbe7b683ca7b67979aec88c2512112ee (diff) |
meson: Disable plugins and related outputs if features are disabled
Previously, there was no check performed on features of plugins if these
specify GStreamer plugins. This commit adds that, and ensures that the
plugins and pkg-config targets are skipped if no outputs are to be
generated (this is already done for examples).
Closes #369
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1303>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 801b986c4..b4508a365 100644 --- a/meson.build +++ b/meson.build @@ -344,7 +344,7 @@ foreach plugin_name, details: plugins plugin_features = details.get('features', []) if plugin_deps_found # Validate gst-plugin features - foreach feature: features + foreach feature: plugin_features if feature.startswith('gst-plugin') and not packages.contains(feature) plugin_deps_found = false break |