build: bump version for development

This will also attempt to get us on the more modern GNOME versioning
train, hopefully to phase out micro numbers eventually.
This commit is contained in:
Christian Hergert
2023-04-24 17:26:41 -07:00
parent a13d66f2d0
commit cc7e2820f3
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
project('sysprof', 'c',
license: ['GPL3+', 'GPL2+'],
version: '3.48.1',
version: '45.alpha',
meson_version: '>=0.59.0',
default_options: [ 'c_std=gnu11',
'cpp_std=c++11',
@ -8,7 +8,7 @@ project('sysprof', 'c',
]
)
symbolic_version = '44.0'
symbolic_version = '45.0'
gnome = import('gnome', required: get_option('gtk'))
pkgconfig = import('pkgconfig')

View File

@ -3,6 +3,9 @@ sysprof_ui_header_subdir = 'sysprof-ui-@0@'.format(libsysprof_ui_api_version)
sysprof_version_conf = configuration_data()
sysprof_version = meson.project_version().split('.')
if sysprof_version[1] in ['alpha', 'beta', 'rc']
sysprof_version = [sysprof_version[0], 0, 0]
endif
sysprof_version_conf.set('MAJOR_VERSION', sysprof_version[0])
sysprof_version_conf.set('MINOR_VERSION', sysprof_version[1])
sysprof_version_conf.set('MICRO_VERSION', sysprof_version[2])