summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorrezso <[email protected]>2021-10-19 07:47:44 +0200
committerraveit65 <[email protected]>2021-10-20 18:13:38 +0200
commitbc46804cd6dd0da229a4b84c3cfca73c7ef44f90 (patch)
treef4b2b56d301fd3b1790937ff538f07159111616b /meson.build
parent1c6c9fc80ab2117b2dba4350e33b0eaa0d5f9f51 (diff)
downloadmate-desktop-bc46804cd6dd0da229a4b84c3cfca73c7ef44f90.tar.bz2
mate-desktop-bc46804cd6dd0da229a4b84c3cfca73c7ef44f90.tar.xz
Fix versions
mate_minor_version and mate_micro_version always 1. In addition, mate_minor / mate_minor_version and mate_micro / mate_micro_version always same.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index 229607f..a97fde2 100644
--- a/meson.build
+++ b/meson.build
@@ -8,11 +8,11 @@ project(
matedt_version = meson.project_version()
version_array = matedt_version.split('.')
mate_major_version = version_array[0].to_int()
-mate_minor_version = version_array[0].to_int()
-mate_micro_version = version_array[0].to_int()
-mate_platform = 1
-mate_minor = 24
-mate_micro = 0
+mate_minor_version = version_array[1].to_int()
+mate_micro_version = version_array[2].to_int()
+mate_platform = mate_major_version
+mate_minor = mate_minor_version
+mate_micro = mate_micro_version
matedt_api_version = '2.0'
matedt_api_name = '@0@-@1@'.format(meson.project_name(), matedt_api_version)