mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez: check for bluez deps
This commit is contained in:
parent
249a12ee69
commit
bf43b55d16
3 changed files with 3 additions and 2 deletions
|
|
@ -13,6 +13,7 @@ libudev_dep = dependency('libudev')
|
|||
threads_dep = dependency('threads')
|
||||
speexdsp_dep = dependency('speexdsp')
|
||||
sdl_dep = dependency('sdl2', required : false)
|
||||
bluez_dep = dependency('bluez', version : '>= 4.101', required : false)
|
||||
|
||||
#cc = meson.get_compiler('c')
|
||||
#dl_lib = cc.find_library('dl', required : false)
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ bluez5_sources = ['plugin.c',
|
|||
bluez5lib = shared_library('spa-bluez5',
|
||||
bluez5_sources,
|
||||
include_directories : [ spa_inc ],
|
||||
dependencies : [ dbus_dep, sbc_dep ],
|
||||
dependencies : [ dbus_dep, sbc_dep, bluez_dep ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/bluez5'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ endif
|
|||
if get_option('audiotestsrc')
|
||||
subdir('audiotestsrc')
|
||||
endif
|
||||
if get_option('bluez5') and sbc_dep.found()
|
||||
if get_option('bluez5') and sbc_dep.found() and bluez_dep.found()
|
||||
subdir('bluez5')
|
||||
endif
|
||||
if get_option('ffmpeg') and avcodec_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue