From f37b8200607128dc9057810343b5e3c99d081ba6 Mon Sep 17 00:00:00 2001 From: Branko Subasic Date: Tue, 4 Mar 2025 14:33:29 +0100 Subject: [PATCH] voamrwbenc: Do not install anything unless dependency found If the dependency for the plugin is not found then nothing should be installed, neither the element nor documentation. Part-of: --- subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build b/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build index f593b8c43f..34603f6918 100644 --- a/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build +++ b/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build @@ -29,9 +29,9 @@ if voamrwbenc_dep.found() install_dir: plugins_install_dir, ) plugins += [gstvoamrwbenc] -endif -install_data('GstVoAmrwbEnc.prs', install_dir: presetdir) -env = environment() -env.prepend('GST_PRESET_PATH', meson.current_source_dir()) -meson.add_devenv(env) + install_data('GstVoAmrwbEnc.prs', install_dir: presetdir) + env = environment() + env.prepend('GST_PRESET_PATH', meson.current_source_dir()) + meson.add_devenv(env) +endif