summaryrefslogtreecommitdiff
path: root/src/examples/meson.build
blob: c7973512ea49bac3e904566dceeffdfc394df976 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
executable('video-src',
  'video-src.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)
executable('video-src-alloc',
  'video-src-alloc.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)
executable('audio-src',
  'audio-src.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)
executable('export-source',
  'export-source.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)

executable('audio-dsp-filter',
  'audio-dsp-filter.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)

executable('export-spa',
  'export-spa.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)

executable('export-spa-device',
  'export-spa-device.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)

executable('media-session',
  'media-session/alsa-midi.c',
  'media-session/alsa-monitor.c',
  'media-session/alsa-endpoint.c',
  'media-session/bluez-monitor.c',
  'media-session/bluez-endpoint.c',
  'media-session/media-session.c',
  'media-session/session-manager.c',
  'media-session/metadata.c',
  'media-session/stream-endpoint.c',
  'media-session/policy-ep.c',
  'media-session/policy-node.c',
  'media-session/v4l2-monitor.c',
  'media-session/v4l2-endpoint.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [dbus_dep, pipewire_dep, alsa_dep, mathlib],
)

executable('bluez-session',
  'bluez-session.c',
  c_args : [ '-D_GNU_SOURCE' ],
  install: false,
  dependencies : [pipewire_dep, mathlib],
)

if sdl_dep.found()
  executable('video-play',
    'video-play.c',
    c_args : [ '-D_GNU_SOURCE' ],
    install: false,
    dependencies : [pipewire_dep, sdl_dep, mathlib],
  )
  executable('video-dsp-play',
    'video-dsp-play.c',
    c_args : [ '-D_GNU_SOURCE' ],
    install: false,
    dependencies : [pipewire_dep, sdl_dep, mathlib],
  )

  executable('local-v4l2',
    'local-v4l2.c',
    c_args : [ '-D_GNU_SOURCE' ],
    install: false,
    dependencies : [pipewire_dep, sdl_dep],
  )
  executable('export-sink',
    'export-sink.c',
    c_args : [ '-D_GNU_SOURCE' ],
    install: false,
    dependencies : [pipewire_dep, sdl_dep, mathlib],
  )
endif