summaryrefslogtreecommitdiffstats
path: root/spa/plugins/meson.build
blob: d641dd8f5913181889983c3411ac09b1cff7c868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
if alsa_dep.found()
  subdir('alsa')
endif
if get_option('avb').require(host_machine.system() == 'linux', error_message: 'AVB support is only available on Linux').allowed()
  subdir('avb')
endif
if get_option('audioconvert').allowed()
  subdir('audioconvert')
endif
if get_option('audiomixer').allowed()
  subdir('audiomixer')
endif
if get_option('control').allowed()
  subdir('control')
endif
if get_option('audiotestsrc').allowed()
  subdir('audiotestsrc')
endif
if bluez_deps_found
  subdir('bluez5')
endif
if avcodec_dep.found()
  subdir('ffmpeg')
endif
if jack_dep.found()
  subdir('jack')
endif
if get_option('support').allowed()
  subdir('support')
endif
if get_option('test').allowed()
  subdir('test')
endif
if get_option('videoconvert').allowed()
  subdir('videoconvert')
endif
if get_option('videotestsrc').allowed()
  subdir('videotestsrc')
endif
if get_option('volume').allowed()
  subdir('volume')
endif
if vulkan_headers
  subdir('vulkan')
endif

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
  subdir('v4l2')
endif
if libcamera_dep.found()
  subdir('libcamera')
endif

subdir('aec')