meson: Use soversion everywhere

Don't repeat the 2 version number hard-coding it, so we can easily track
updates
This commit is contained in:
Marco Trevisan (Treviño) 2019-12-16 19:05:35 +01:00
parent c57defda92
commit 4562f9dae3
2 changed files with 2 additions and 2 deletions

View file

@ -293,7 +293,7 @@ if get_option('introspection')
libfprint_public_headers, libfprint_public_headers,
libfprint_sources, libfprint_sources,
], ],
nsversion : '2.0', nsversion : '@0@.0'.format(soversion),
namespace : 'FPrint', namespace : 'FPrint',
symbol_prefix : 'fp_', symbol_prefix : 'fp_',
identifier_prefix : 'Fp', identifier_prefix : 'Fp',

View file

@ -208,5 +208,5 @@ pkgconfig.generate(
version: meson.project_version(), version: meson.project_version(),
libraries: libfprint, libraries: libfprint,
subdirs: meson.project_name(), subdirs: meson.project_name(),
filebase: meson.project_name() + '2', filebase: meson.project_name() + '@0@'.format(soversion),
) )