meson: Add libpulse simple

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-31 12:31:18 +07:00 committed by Arun Raghavan
parent f6abc6841e
commit 35ed95df0d
2 changed files with 16 additions and 0 deletions

View file

@ -78,6 +78,18 @@ libpulse = shared_library('pulse',
libpulse_dep = declare_dependency(link_with: libpulse)
libpulse_simple = shared_library('pulse-simple',
'simple.c',
'simple.h',
version : libpulse_simple_version,
c_args : [pa_c_args],
include_directories : [configinc, topinc],
dependencies : [libpulse_dep, libpulsecommon_dep],
install : true,
)
libpulse_simple_dep = declare_dependency(link_with: libpulse_simple)
if glib_dep.found()
# TODO we must install libpulse-mainloop-glib.pc
libpulse_mainloop_glib = shared_library('pulse-mainloop-glib',