mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -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
|
|
@ -322,7 +322,11 @@ mathlib = cc.find_library('m', required : false)
|
|||
rt_lib = cc.find_library('rt', required : false) # clock_gettime
|
||||
dl_lib = cc.find_library('dl', required : false)
|
||||
pthread_lib = dependency('threads')
|
||||
dbus_dep = dependency('dbus-1')
|
||||
dbus_dep = dependency('dbus-1', required : get_option('dbus'))
|
||||
summary({'dbus (Bluetooth, rtkit, portal, pw-reserve)': dbus_dep.found()}, bool_yn: true, section: 'Misc dependencies')
|
||||
if dbus_dep.found()
|
||||
cdata.set('HAVE_DBUS', 1)
|
||||
endif
|
||||
sdl_dep = dependency('sdl2', required : get_option('sdl2'))
|
||||
summary({'SDL 2': sdl_dep.found()}, bool_yn: true, section: 'Misc dependencies')
|
||||
readline_dep = dependency('readline', required : false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue