diff options
author | L. E. Segovia <amy@centricular.com> | 2023-08-18 04:09:10 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-09-20 19:23:43 +0300 |
commit | 4144cc3c17d6802ec55bd9292125ccc82f207944 (patch) | |
tree | d75deb2180e68594f8c4961a2a352e34a6febfd9 | |
parent | 3362d16492583a6121da3b9db014c4d68c13325c (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/1330>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5d4a5ae10..bd645e473 100644 --- a/meson.build +++ b/meson.build @@ -343,7 +343,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 |