meson: fix version numbers

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-07-24 07:37:41 +01:00
parent 87087ded64
commit 7ee487cc61
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -75,6 +75,9 @@ library version. Generally, unless we're doing a major release, change:
to to
VERSION x.y+1.z VERSION x.y+1.z
Update the version in meson.build (both at the top, and down under
'# Build library')
git commit -a -m "Bump version to ${release}" git commit -a -m "Bump version to ${release}"
If we're doing a major release (SONAME bump), also bump the version If we're doing a major release (SONAME bump), also bump the version
+2 -2
View File
@@ -1,5 +1,5 @@
project('json-c', 'c', version: '0.18.99', project('json-c', 'c', version: '0.19.99',
meson_version: '>=0.54.0', meson_version: '>=0.54.0',
license: 'MIT', license: 'MIT',
default_options: ['buildtype=release', 'warning_level=2']) default_options: ['buildtype=release', 'warning_level=2'])
@@ -272,7 +272,7 @@ libjson = library('json-c',
dependencies: libjson_deps, dependencies: libjson_deps,
install: true, install: true,
link_args: sym, link_args: sym,
version: '5.4.0', version: '5.5.0',
soversion: '5', soversion: '5',
) )