summaryrefslogtreecommitdiffstats
path: root/pipewire-alsa/alsa-plugins/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'pipewire-alsa/alsa-plugins/meson.build')
-rw-r--r--pipewire-alsa/alsa-plugins/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/pipewire-alsa/alsa-plugins/meson.build b/pipewire-alsa/alsa-plugins/meson.build
new file mode 100644
index 0000000..cbc34ad
--- /dev/null
+++ b/pipewire-alsa/alsa-plugins/meson.build
@@ -0,0 +1,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',
+)