Blame SOURCES/0143-meson-Use-soversion-everywhere.patch

73b847
From 1fb15d4dc57bab6a34bfe6de0c9717809a9e4dfd Mon Sep 17 00:00:00 2001
73b847
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
73b847
Date: Mon, 16 Dec 2019 19:05:35 +0100
73b847
Subject: [PATCH 143/181] meson: Use soversion everywhere
73b847
73b847
Don't repeat the 2 version number hard-coding it, so we can easily track
73b847
updates
73b847
---
73b847
 libfprint/meson.build | 2 +-
73b847
 meson.build           | 2 +-
73b847
 2 files changed, 2 insertions(+), 2 deletions(-)
73b847
73b847
diff --git a/libfprint/meson.build b/libfprint/meson.build
73b847
index 210e45c..8132a1b 100644
73b847
--- a/libfprint/meson.build
73b847
+++ b/libfprint/meson.build
73b847
@@ -293,7 +293,7 @@ if get_option('introspection')
73b847
             libfprint_public_headers,
73b847
             libfprint_sources,
73b847
         ],
73b847
-        nsversion : '2.0',
73b847
+        nsversion : '@0@.0'.format(soversion),
73b847
         namespace : 'FPrint',
73b847
         symbol_prefix : 'fp_',
73b847
         identifier_prefix : 'Fp',
73b847
diff --git a/meson.build b/meson.build
73b847
index 29bdff5..afd98db 100644
73b847
--- a/meson.build
73b847
+++ b/meson.build
73b847
@@ -208,5 +208,5 @@ pkgconfig.generate(
73b847
     version: meson.project_version(),
73b847
     libraries: libfprint,
73b847
     subdirs: meson.project_name(),
73b847
-    filebase: meson.project_name() + '2',
73b847
+    filebase: meson.project_name() + '@0@'.format(soversion),
73b847
 )
73b847
-- 
73b847
2.24.1
73b847