Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2023-08-18 04:09:10 +0300
committerL. E. Segovia <amy@amyspark.me>2023-08-19 02:04:32 +0300
commit7cf48db2fbfe4aa385c8fb811b765387d507ab84 (patch)
tree2aad3e6688ec12648a440cf230b5d4a7e0951983 /meson.build
parent4ff681e0bbe7b683ca7b67979aec88c2512112ee (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.build2
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