diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-01-11 11:22:25 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-01-11 11:36:13 +0100 |
commit | 8911c92d669ccca4b9756f3ef840c9abe4bad0c9 (patch) | |
tree | c02e78be1f5d81d83f6230fcd5bac06fa3203d8f | |
parent | 6f77b84ebf5ffee696a3037b6fcff1e24b027fed (diff) | |
download | libgweather-8911c92d669ccca4b9756f3ef840c9abe4bad0c9.tar.gz |
build: Bump version number
The version number was older than the newest stable release, and prepare
for lack of micro version number in future versions of GNOME.
-rw-r--r-- | libgweather/gweather-version.h.in | 2 | ||||
-rw-r--r-- | libgweather/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/libgweather/gweather-version.h.in b/libgweather/gweather-version.h.in index 551bdc9..fd5cc3f 100644 --- a/libgweather/gweather-version.h.in +++ b/libgweather/gweather-version.h.in @@ -63,6 +63,8 @@ * * LibGweather micro version component (e.g. 3 if %GWEATHER_VERSION is 1.2.3) * + * Since version 40 of the library, always 0. + * * Since: 3.12 */ #mesondefine GWEATHER_MICRO_VERSION diff --git a/libgweather/meson.build b/libgweather/meson.build index 97524e0..d7f0d25 100644 --- a/libgweather/meson.build +++ b/libgweather/meson.build @@ -10,7 +10,7 @@ header_subdir = 'libgweather-3.0/libgweather' versionconf = configuration_data() versionconf.set('GWEATHER_MAJOR_VERSION', libgweather_version[0]) versionconf.set('GWEATHER_MINOR_VERSION', libgweather_version[1]) -versionconf.set('GWEATHER_MICRO_VERSION', libgweather_version[2]) +versionconf.set('GWEATHER_MICRO_VERSION', 0) versionconf.set_quoted('GWEATHER_VERSION', meson.project_version()) configure_file( input: 'gweather-version.h.in', diff --git a/meson.build b/meson.build index 9bf8e75..0e3d3bb 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('libgweather', 'c', - version: '3.34.0', + version: '40.alpha', meson_version: '>= 0.50.0', ) |