2023-03-15 14:55:59 +00:00
|
|
|
if alsa_dep.found() and host_machine.system() == 'linux'
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('alsa')
|
|
|
|
endif
|
2022-08-16 16:03:03 +00:00
|
|
|
if get_option('avb').require(host_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
|
2022-03-07 19:24:46 +00:00
|
|
|
subdir('avb')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('audioconvert').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('audioconvert')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('audiomixer').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('audiomixer')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('control').allowed()
|
2019-10-16 09:13:23 +00:00
|
|
|
subdir('control')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('audiotestsrc').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('audiotestsrc')
|
|
|
|
endif
|
2022-11-13 23:48:27 +00:00
|
|
|
if bluez_deps_found
|
2021-05-28 12:53:37 +00:00
|
|
|
subdir('bluez5')
|
|
|
|
endif
|
2021-05-15 12:32:52 +00:00
|
|
|
if avcodec_dep.found()
|
2017-07-04 09:30:49 +00:00
|
|
|
subdir('ffmpeg')
|
|
|
|
endif
|
2021-03-10 18:36:27 +00:00
|
|
|
if jack_dep.found()
|
2019-08-20 18:35:41 +00:00
|
|
|
subdir('jack')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('support').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('support')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('test').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('test')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('videoconvert').allowed()
|
2019-07-25 10:19:41 +00:00
|
|
|
subdir('videoconvert')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('videotestsrc').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('videotestsrc')
|
|
|
|
endif
|
2022-02-03 18:14:34 +00:00
|
|
|
if get_option('volume').allowed()
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('volume')
|
|
|
|
endif
|
2023-10-15 15:24:08 +00:00
|
|
|
if have_vulkan
|
2019-08-19 14:32:22 +00:00
|
|
|
subdir('vulkan')
|
|
|
|
endif
|
2021-06-25 11:54:26 +00:00
|
|
|
|
|
|
|
v4l2_header_found = cc.has_header('linux/videodev2.h', required: get_option('v4l2'))
|
|
|
|
summary({'V4L2 kernel header': v4l2_header_found}, bool_yn: true, section: 'Backend')
|
2024-01-26 12:28:07 +00:00
|
|
|
summary({'V4L2 enabled': v4l2_header_found}, bool_yn: true, section: 'Backend')
|
|
|
|
if v4l2_header_found
|
2018-10-09 08:27:59 +00:00
|
|
|
subdir('v4l2')
|
|
|
|
endif
|
2021-03-10 18:36:27 +00:00
|
|
|
if libcamera_dep.found()
|
2020-04-20 06:56:50 +00:00
|
|
|
subdir('libcamera')
|
|
|
|
endif
|
2022-02-10 08:33:06 +00:00
|
|
|
|
2022-08-16 15:48:31 +00:00
|
|
|
subdir('aec')
|