[gnome-software] trivial: Bump the plugin version as we're planning to break plugin API



commit e0e38561645b65890c27793ad614a93a8f2009fe
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jul 12 21:14:46 2018 +0100

    trivial: Bump the plugin version as we're planning to break plugin API

 contrib/gnome-software.spec.in | 2 +-
 meson.build                    | 2 +-
 plugins/meson.build            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/contrib/gnome-software.spec.in b/contrib/gnome-software.spec.in
index ee8e5ce8..0a9c93df 100644
--- a/contrib/gnome-software.spec.in
+++ b/contrib/gnome-software.spec.in
@@ -69,7 +69,7 @@ Requires: libsoup%{?_isa} >= %{libsoup_version}
 Requires: PackageKit%{?_isa} >= %{packagekit_version}
 
 # this is not a library version
-%define gs_plugin_version               11
+%define gs_plugin_version               12
 
 %description
 gnome-software is an application that makes it easy to add, remove
diff --git a/meson.build b/meson.build
index 05ffb42f..326bdcb4 100644
--- a/meson.build
+++ b/meson.build
@@ -12,7 +12,7 @@ conf.set_quoted('PACKAGE_VERSION', meson.project_version())
 
 # this refers to the gnome-software plugin API version
 # this is not in any way related to a package or soname version
-gs_plugin_api_version = '11'
+gs_plugin_api_version = '12'
 conf.set_quoted('GS_PLUGIN_API_VERSION', gs_plugin_api_version)
 
 # install docs
diff --git a/plugins/meson.build b/plugins/meson.build
index 848eeb58..6112f939 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -1,4 +1,4 @@
-plugin_dir = join_paths(get_option('libdir'), 'gs-plugins-11')
+plugin_dir = join_paths(get_option('libdir'), 'gs-plugins-' + gs_plugin_api_version)
 plugin_libs = [
   appstream_glib,
   gio_unix,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]