summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2018-10-09 13:57:59 +0530
committerWim Taymans <wim.taymans@gmail.com>2018-10-10 16:01:28 +0200
commit8d71d2dab831b77cadb74f2e4630f549acc94ac4 (patch)
tree91bbaa1a0a906ccc1ed0b609c63feb8f65229e61 /meson.build
parent805240258b1c8fcd0c15b3df8a7632991618b02d (diff)
pipewire: add enable/disable to meson for spa plugins
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build18
1 files changed, 14 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 8a7a696f..e9143b80 100644
--- a/meson.build
+++ b/meson.build
@@ -168,11 +168,21 @@ if get_option('gstreamer')
dependency('gstreamer-allocators-1.0'),]
endif
-subdir('spa')
+if get_option('spa')
+ subdir('spa')
+endif
+
subdir('src')
-subdir('pipewire-jack')
-subdir('pipewire-pulseaudio')
-subdir('alsa-plugins')
+
+if get_option('pipewire-jack')
+ subdir('pipewire-jack/src')
+endif
+if get_option('pipewire-pulseaudio')
+ subdir('pipewire-pulseaudio/src')
+endif
+if get_option('pipewire-alsa')
+ subdir('pipewire-alsa/alsa-plugins')
+endif
if get_option('docs')
doxygen = find_program('doxygen', required : false)