Issue #10713: API versioning got broken with meson.
This is now back in sync with how it used to be up to GIMP 2.10. Basically our API version should always be <major>.0 in the shared libraries naming, as well as in pkg-config and docs. Otherwise we would break library compatibility with every minor version bump.
This commit is contained in:
parent
d7ec3a5ca4
commit
140a3c82d0
1 changed files with 2 additions and 3 deletions
|
|
@ -40,11 +40,10 @@ gimp_app_version = '@0@.@1@'.format(
|
|||
|
||||
# API & pkg-config version
|
||||
api_version_major = gimp_app_version_major
|
||||
api_version_minor = gimp_app_version_minor
|
||||
api_version_minor = 0
|
||||
|
||||
if api_version_minor == 99
|
||||
if gimp_app_version_minor == 99
|
||||
api_version_major += 1
|
||||
api_version_minor = 0
|
||||
endif
|
||||
|
||||
gimp_api_version = '@0@.@1@'.format(api_version_major, api_version_minor)
|
||||
|
|
|
|||
Loading…
Reference in a new issue