about: add symbolic information to release

This commit is contained in:
Christian Hergert
2021-02-23 15:40:32 -08:00
parent b77523eb3d
commit 4d332dc68a
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,8 @@ project('sysprof', 'c',
]
)
symbolic_version = '40.beta1'
gnome = import('gnome')
pkgconfig = import('pkgconfig')
i18n = import('i18n')
@ -31,6 +33,7 @@ if get_option('libsysprof')
endif
config_h = configuration_data()
config_h.set_quoted('SYMBOLIC_VERSION', symbolic_version)
config_h.set_quoted('API_VERSION_S', '@0@'.format(libsysprof_api_version))
config_h.set_quoted('PACKAGE_NAME', 'sysprof')
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())

View File

@ -200,7 +200,7 @@ sysprof_about (GSimpleAction *action,
"license-type", GTK_LICENSE_GPL_3_0,
"logo-icon-name", "org.gnome.Sysprof",
"program-name", _("Sysprof"),
"version", PACKAGE_VERSION,
"version", SYMBOLIC_VERSION "\n" "(" PACKAGE_VERSION ")",
"website", "https://wiki.gnome.org/Apps/Sysprof",
"website-label", _("Learn more about Sysprof"),
NULL);