mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Add libpulse simple
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
f6abc6841e
commit
35ed95df0d
2 changed files with 16 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ soversion = 0
|
||||||
# current = minor * 100 + micro
|
# current = minor * 100 + micro
|
||||||
libversion = '@0@.@1@.0'.format(soversion, pa_version_minor.to_int() * 100 + pa_version_micro.to_int())
|
libversion = '@0@.@1@.0'.format(soversion, pa_version_minor.to_int() * 100 + pa_version_micro.to_int())
|
||||||
|
|
||||||
|
# A simplified, synchronous, ABI-stable interface for client applications.
|
||||||
|
# For the version x:y:z always will hold y=z.
|
||||||
|
libpulse_simple_version = '1.1.1'
|
||||||
|
|
||||||
# The ABI-stable GLib adapter for client applications.
|
# The ABI-stable GLib adapter for client applications.
|
||||||
# For the version x:y:z always will hold y=z.
|
# For the version x:y:z always will hold y=z.
|
||||||
libpulse_mainloop_glib_version = '0.5.0'
|
libpulse_mainloop_glib_version = '0.5.0'
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,18 @@ libpulse = shared_library('pulse',
|
||||||
|
|
||||||
libpulse_dep = declare_dependency(link_with: libpulse)
|
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()
|
if glib_dep.found()
|
||||||
# TODO we must install libpulse-mainloop-glib.pc
|
# TODO we must install libpulse-mainloop-glib.pc
|
||||||
libpulse_mainloop_glib = shared_library('pulse-mainloop-glib',
|
libpulse_mainloop_glib = shared_library('pulse-mainloop-glib',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue