2021-03-10 15:36:27 -03:00
|
|
|
if alsa_dep.found()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('alsa')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('audioconvert').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('audioconvert')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('audiomixer').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('audiomixer')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('control').allowed()
|
2019-10-16 11:13:23 +02:00
|
|
|
subdir('control')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('audiotestsrc').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('audiotestsrc')
|
|
|
|
|
endif
|
2021-05-28 20:53:37 +08:00
|
|
|
if bluez_dep.found()
|
|
|
|
|
subdir('bluez5')
|
|
|
|
|
endif
|
2021-05-15 14:32:52 +02:00
|
|
|
if avcodec_dep.found()
|
2017-07-04 11:30:49 +02:00
|
|
|
subdir('ffmpeg')
|
|
|
|
|
endif
|
2021-03-10 15:36:27 -03:00
|
|
|
if jack_dep.found()
|
2019-08-20 20:35:41 +02:00
|
|
|
subdir('jack')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('support').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('support')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('test').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('test')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('videoconvert').allowed()
|
2019-07-25 12:19:41 +02:00
|
|
|
subdir('videoconvert')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('videotestsrc').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('videotestsrc')
|
|
|
|
|
endif
|
2022-02-03 19:14:34 +01:00
|
|
|
if get_option('volume').allowed()
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('volume')
|
|
|
|
|
endif
|
2021-03-17 20:52:20 +02:00
|
|
|
if vulkan_headers
|
2019-08-19 16:32:22 +02:00
|
|
|
subdir('vulkan')
|
|
|
|
|
endif
|
2021-06-25 14:54:26 +03:00
|
|
|
|
|
|
|
|
v4l2_header_found = cc.has_header('linux/videodev2.h', required: get_option('v4l2'))
|
|
|
|
|
v4l2_supported = libudev_dep.found() and v4l2_header_found
|
|
|
|
|
summary({'V4L2 kernel header': v4l2_header_found}, bool_yn: true, section: 'Backend')
|
|
|
|
|
summary({'V4L2 enabled': v4l2_supported}, bool_yn: true, section: 'Backend')
|
|
|
|
|
if v4l2_supported
|
2018-10-09 13:57:59 +05:30
|
|
|
subdir('v4l2')
|
|
|
|
|
endif
|
2021-03-10 15:36:27 -03:00
|
|
|
if libcamera_dep.found()
|
2020-04-20 12:26:50 +05:30
|
|
|
subdir('libcamera')
|
|
|
|
|
endif
|