From 7cf48db2fbfe4aa385c8fb811b765387d507ab84 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Thu, 17 Aug 2023 22:09:10 -0300 Subject: [PATCH] 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: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 801b986c..b4508a36 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