diff options
author | Eduardo Lima (Etrunko) <etrunko@redhat.com> | 2018-09-25 14:40:00 -0300 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2018-09-26 11:21:59 +0100 |
commit | 7b97489bdab240a7fbd8abee277e6a2274d5845e (patch) | |
tree | 2a5b25f240ec19d991190f872d5aecc826a978c7 | |
parent | d191450ee5986a2a91d5b291bbd4ce0c9d6d3985 (diff) |
Bump meson requirement to 0.47.2
This new version ships the fix for the issue where 'check' keyword could
not be used in project definition, so we had to run that command again
only to check if it succeeded.
https://github.com/mesonbuild/meson/issues/3944
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r-- | meson.build | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/meson.build b/meson.build index 762f1d1c..3184a6f5 100644 --- a/meson.build +++ b/meson.build @@ -2,22 +2,13 @@ # project definition # project('spice', 'c', - version : run_command('build-aux/git-version-gen', '${MESON_SOURCE_ROOT}/.tarball-version').stdout().strip(), + version : run_command('build-aux/git-version-gen', '${MESON_SOURCE_ROOT}/.tarball-version', check : true).stdout().strip(), license : 'LGPLv2.1', - meson_version : '>= 0.47.0') - -# double check meson.project_version() -# we can not use 'check' keyword in run_command() for git-version-gen above -# https://github.com/mesonbuild/meson/issues/3944 -version = run_command('build-aux/git-version-gen', '${MESON_SOURCE_ROOT}/.tarball-version', check : true).stdout().strip() -if meson.project_version() != version - error('Wrong project version') -endif + meson_version : '>= 0.47.2') message('Updating submodules') run_command('build-aux/meson/check-spice-common', check : true) - # # soversion # The versioning is defined by the forumla (CURRENT-AGE.AGE.REVISION) |