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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8586>
This commit is contained in:
parent
ee6618d9ba
commit
f37b820060
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user