mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
meson: Add optional libpulse-mainloop-glib
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
065a79ff8c
commit
4325393499
2 changed files with 17 additions and 0 deletions
|
|
@ -77,3 +77,16 @@ libpulse = shared_library('pulse',
|
|||
implicit_include_directories : false)
|
||||
|
||||
libpulse_dep = declare_dependency(link_with: libpulse)
|
||||
|
||||
if glib_dep.found()
|
||||
# TODO we must install libpulse-mainloop-glib.pc
|
||||
libpulse_mainloop_glib = shared_library('pulse-mainloop-glib',
|
||||
'glib-mainloop.c',
|
||||
'glib-mainloop.h',
|
||||
version : libpulse_mainloop_glib_version,
|
||||
c_args : [pa_c_args],
|
||||
include_directories : [configinc, topinc],
|
||||
dependencies : [libpulse_dep, libpulsecommon_dep, glib_dep],
|
||||
install : true,
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue