mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
meson: make it possible to compile without dbus
Make an option to disable dbus and all the code that depends on it. Fixes #1685
This commit is contained in:
parent
caf0b2df19
commit
5f7c4dec34
8 changed files with 39 additions and 20 deletions
|
|
@ -34,14 +34,16 @@ if not get_option('evl').disabled()
|
|||
install_dir : spa_plugindir / 'support')
|
||||
endif
|
||||
|
||||
spa_dbus_sources = ['dbus.c']
|
||||
if dbus_dep.found()
|
||||
spa_dbus_sources = ['dbus.c']
|
||||
|
||||
spa_dbus_lib = shared_library('spa-dbus',
|
||||
spa_dbus_sources,
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : [dbus_dep, ],
|
||||
install : true,
|
||||
install_dir : spa_plugindir / 'support')
|
||||
spa_dbus_lib = shared_library('spa-dbus',
|
||||
spa_dbus_sources,
|
||||
include_directories : [ spa_inc],
|
||||
dependencies : [dbus_dep, ],
|
||||
install : true,
|
||||
install_dir : spa_plugindir / 'support')
|
||||
endif
|
||||
|
||||
|
||||
if systemd_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue