summaryrefslogtreecommitdiffstats
path: root/lib/meson.build
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-05-06 12:34:49 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commiteb0444251cd840d11b90c20e06df0542fe231eed (patch)
tree0482fd4d524f849181d0643a91bd62254e6c9039 /lib/meson.build
parentd1433ce1058d7eb22ccb05ff844b57781985c61d (diff)
wpipc: use proper api & so versions
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'lib/meson.build')
-rw-r--r--lib/meson.build9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/meson.build b/lib/meson.build
index 54a103e..dd18338 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -21,13 +21,16 @@ icipc_lib_headers = files(
'icipc.h',
)
+icipc_api_version = '0.1'
+icipc_so_version = '0'
+icipc_headers_dir = get_option('includedir') / 'icipc-' + icipc_api_version / 'icipc'
install_headers(icipc_lib_headers,
- install_dir : get_option('includedir') / 'icipc-' + wireplumber_api_version / 'icipc'
+ install_dir : icipc_headers_dir
)
-icipc_lib = library('icipc-' + wireplumber_api_version,
+icipc_lib = library('icipc-' + icipc_api_version,
icipc_lib_sources,
c_args : [
'-D_GNU_SOURCE',
@@ -36,6 +39,8 @@ icipc_lib = library('icipc-' + wireplumber_api_version,
],
install: true,
dependencies : [dependency('threads'), spa_dep],
+ soversion: icipc_so_version,
+ version: meson.project_version(),
)
icipc_dep = declare_dependency(