mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
meson: Use feature options everywhere it makes sense
This commit is contained in:
parent
98bedb3895
commit
485bae5eb0
20 changed files with 211 additions and 224 deletions
|
|
@ -1,48 +1,46 @@
|
|||
if get_option('alsa')
|
||||
if alsa_dep.found()
|
||||
subdir('alsa')
|
||||
endif
|
||||
if get_option('audioconvert')
|
||||
if not get_option('audioconvert').disabled()
|
||||
subdir('audioconvert')
|
||||
endif
|
||||
if get_option('audiomixer')
|
||||
if not get_option('audiomixer').disabled()
|
||||
subdir('audiomixer')
|
||||
endif
|
||||
if get_option('control')
|
||||
if not get_option('control').disabled()
|
||||
subdir('control')
|
||||
endif
|
||||
if get_option('audiotestsrc')
|
||||
if not get_option('audiotestsrc').disabled()
|
||||
subdir('audiotestsrc')
|
||||
endif
|
||||
if get_option('bluez5')
|
||||
subdir('bluez5')
|
||||
endif
|
||||
if get_option('ffmpeg')
|
||||
subdir('bluez5')
|
||||
if avcodec_dep.found() and avformat_dep.found()
|
||||
subdir('ffmpeg')
|
||||
endif
|
||||
if get_option('jack')
|
||||
if jack_dep.found()
|
||||
subdir('jack')
|
||||
endif
|
||||
if get_option('support')
|
||||
if not get_option('support').disabled()
|
||||
subdir('support')
|
||||
endif
|
||||
if get_option('test')
|
||||
if not get_option('test').disabled()
|
||||
subdir('test')
|
||||
endif
|
||||
if get_option('videoconvert')
|
||||
if not get_option('videoconvert').disabled()
|
||||
subdir('videoconvert')
|
||||
endif
|
||||
if get_option('videotestsrc')
|
||||
if not get_option('videotestsrc').disabled()
|
||||
subdir('videotestsrc')
|
||||
endif
|
||||
if get_option('volume')
|
||||
if not get_option('volume').disabled()
|
||||
subdir('volume')
|
||||
endif
|
||||
if get_option('vulkan')
|
||||
if vulkan_dep.found()
|
||||
subdir('vulkan')
|
||||
endif
|
||||
if get_option('v4l2')
|
||||
if libudev_dep.found() and not get_option('v4l2').disabled()
|
||||
subdir('v4l2')
|
||||
endif
|
||||
if get_option('libcamera')
|
||||
if libcamera_dep.found()
|
||||
subdir('libcamera')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue