From b7b99c20cf013df0ec5ad0346e5f9ab1a0db4ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Sun, 8 May 2022 13:54:55 +0200 Subject: [PATCH] meson: Do not go down in lib versioning Install plugin lib stuff into a dir named "clapper-1.0" instead of "clapper-0.0". Even through our API is still very unstable, we cannot go down with versioning. The sink importers being installed there are not part of public API anyway. --- lib/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/meson.build b/lib/meson.build index 2cb9b331..45b94330 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -259,7 +259,7 @@ gir_init_section = ['--add-init-section=extern void gst_init(gint*,gchar**);' + 'gst_init(NULL,NULL);', '--quiet' ] -gst_clapper_plugin_libdir = join_paths(get_option('prefix'), libdir, 'clapper-0.0', 'gst', 'plugin') +gst_clapper_plugin_libdir = join_paths(get_option('prefix'), libdir, 'clapper-@0@'.format(api_version), 'gst', 'plugin') gst_clapper_importers_libdir = join_paths(gst_clapper_plugin_libdir, 'importers') cdata.set_quoted('CLAPPER_SINK_IMPORTER_PATH', gst_clapper_importers_libdir)