mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: allow disabling deps via -Debur128/-Dudev
With .enabled(), Meson doesn't have some magic that packagers rely on to explicitly disable finding a dependency if an option is off. Drop the unnecessary .enabled() accordingly.
This commit is contained in:
parent
69eaa6d098
commit
e9a0ac1346
1 changed files with 2 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ if get_option('spa-plugins').allowed()
|
|||
cdata.set('HAVE_ALSA_COMPRESS_OFFLOAD', compress_offload_option.allowed())
|
||||
|
||||
# common dependencies
|
||||
libudev_dep = dependency('libudev', required: get_option('udev').enabled())
|
||||
libudev_dep = dependency('libudev', required: get_option('udev'))
|
||||
cdata.set('HAVE_LIBUDEV', libudev_dep.found())
|
||||
summary({'Udev': libudev_dep.found()}, bool_yn: true, section: 'Backend')
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ if get_option('spa-plugins').allowed()
|
|||
lilv_lib = dependency('lilv-0', required: get_option('lv2'))
|
||||
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true, section: 'filter-graph')
|
||||
|
||||
ebur128_lib = dependency('libebur128', required: get_option('ebur128').enabled())
|
||||
ebur128_lib = dependency('libebur128', required: get_option('ebur128'))
|
||||
summary({'EBUR128': ebur128_lib.found()}, bool_yn: true, section: 'filter-graph')
|
||||
|
||||
summary({'ffmpeg': avfilter_dep.found()}, bool_yn: true, section: 'filter-graph')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue