mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson: only add dependencies when requested
This commit is contained in:
parent
e59a7c0848
commit
693fd3a366
1 changed files with 5 additions and 5 deletions
10
meson.build
10
meson.build
|
|
@ -161,13 +161,9 @@ dl_lib = cc.find_library('dl', required : false)
|
|||
pthread_lib = dependency('threads')
|
||||
dbus_dep = dependency('dbus-1')
|
||||
|
||||
#optional dependencies
|
||||
jack_dep = dependency('jack', version : '>= 1.9.10', required : false)
|
||||
|
||||
pulseaudio_dep = dependency('libpulse', version : '>= 11.1', required : false)
|
||||
glib_dep = dependency('glib-2.0', version : '>=2.32.0', required : false)
|
||||
|
||||
if get_option('gstreamer')
|
||||
glib_dep = dependency('glib-2.0', version : '>=2.32.0')
|
||||
gobject_dep = dependency('gobject-2.0')
|
||||
gmodule_dep = dependency('gmodule-2.0')
|
||||
gio_dep = [dependency('gio-2.0'), dependency('gio-unix-2.0')]
|
||||
|
|
@ -185,11 +181,15 @@ endif
|
|||
subdir('src')
|
||||
|
||||
if get_option('pipewire-jack')
|
||||
jack_dep = dependency('jack', version : '>= 1.9.10')
|
||||
subdir('pipewire-jack/src')
|
||||
endif
|
||||
|
||||
if get_option('pipewire-pulseaudio')
|
||||
pulseaudio_dep = dependency('libpulse', version : '>= 11.1')
|
||||
subdir('pipewire-pulseaudio/src')
|
||||
endif
|
||||
|
||||
if get_option('pipewire-alsa')
|
||||
subdir('pipewire-alsa/alsa-plugins')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue