summaryrefslogtreecommitdiffstats
path: root/pipewire-alsa/alsa-plugins/meson.build
blob: cbc34adc62756d75d186b118bc3c8da40a7d7566 (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
pipewire_alsa_plugin_pcm_sources = [
  'pcm_pipewire.c',
]
pipewire_alsa_plugin_ctl_sources = [
  'ctl_pipewire.c',
]

pipewire_alsa_plugin_c_args = [
  '-DPIC',
]

pipewire_alsa_pcm_plugin = shared_library('asound_module_pcm_pipewire',
    pipewire_alsa_plugin_pcm_sources,
    c_args : pipewire_alsa_plugin_c_args,
    include_directories : [configinc],
    dependencies : [pipewire_dep, alsa_dep],
    install : true,
    install_dir : pipewire_libdir / 'alsa-lib',
)
pipewire_alsa_ctl_plugin = shared_library('asound_module_ctl_pipewire',
    pipewire_alsa_plugin_ctl_sources,
    c_args : pipewire_alsa_plugin_c_args,
    include_directories : [configinc],
    dependencies : [pipewire_dep, alsa_dep, mathlib],
    install : true,
    install_dir : pipewire_libdir / 'alsa-lib',
)