build: We are now working on version 2 of libfprint

Bump the version to 1.90.0, the soname to 2.0.0. Also rename the
pkgconfig file to libfprint2.pc.
This commit is contained in:
Benjamin Berg 2019-06-13 15:00:25 +02:00
parent 5b615e33a0
commit 6ba8a15d3a

View file

@ -1,5 +1,5 @@
project('libfprint', [ 'c', 'cpp' ], project('libfprint', [ 'c', 'cpp' ],
version: '1.0', version: '1.90.0',
license: 'LGPLv2.1+', license: 'LGPLv2.1+',
default_options: [ default_options: [
'buildtype=debugoptimized', 'buildtype=debugoptimized',
@ -35,7 +35,7 @@ common_cflags = cc.get_supported_arguments([
# maintaining compatibility with the previous libtool versioning # maintaining compatibility with the previous libtool versioning
# current = binary - interface # current = binary - interface
# revision = interface # revision = interface
soversion = 0 soversion = 2
current = 0 current = 0
revision = 0 revision = 0
libversion = '@0@.@1@.@2@'.format(soversion, current, revision) libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
@ -142,6 +142,6 @@ pkgconfig.generate(
version: meson.project_version(), version: meson.project_version(),
libraries: libfprint, libraries: libfprint,
subdirs: 'libfprint', subdirs: 'libfprint',
filebase: 'libfprint', filebase: 'libfprint2',
install_dir: join_paths(get_option('libdir'), 'pkgconfig'), install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
) )