diff options
author | Arnaud Rebillout <arnaud.rebillout@collabora.com> | 2018-10-31 12:31:18 +0700 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2019-06-08 11:44:00 +0200 |
commit | 35ed95df0d3e358a48f296893b1d5c53796dabe1 (patch) | |
tree | 7f8a206e8643cf08fe91388dda50613aad064560 | |
parent | f6abc6841ee4c72204fa26844e5efdee66c4e0e3 (diff) | |
download | pulseaudio-35ed95df0d3e358a48f296893b1d5c53796dabe1.tar.gz |
meson: Add libpulse simple
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | src/pulse/meson.build | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 166e5b85..78233125 100644 --- a/meson.build +++ b/meson.build @@ -28,6 +28,10 @@ soversion = 0 # current = minor * 100 + micro 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. # For the version x:y:z always will hold y=z. libpulse_mainloop_glib_version = '0.5.0' diff --git a/src/pulse/meson.build b/src/pulse/meson.build index 28112c76..7100f34e 100644 --- a/src/pulse/meson.build +++ b/src/pulse/meson.build @@ -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', |