From 45e5b06099ff7ac7357fa3ad8b7f2a7ea295072f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 10 Apr 2022 16:47:18 +0200 Subject: [PATCH] Fix Meson deprecation warning --- CHANGELOG.md | 5 +++++ meson.build | 2 +- src/common/config/meson.build | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0832b1b..924d4b21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,11 @@ Versioning](https://semver.org/spec/v2.0.0.html). - Fixed an obscure issue with VST3 plugins crashing in **Ardour** on Arch/Manjaro because of misreported parameter queue lengths. +### Packaging notes + +- Fixed a deprecation warning in the Meson build, causing the minimum supported + Meson version to be bumped up to **Meson 0.56** from 0.55. + ## [3.8.1] - 2022-03-08 ### Changed diff --git a/meson.build b/meson.build index c71d4fdb..5d4741b4 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project( 'yabridge', 'cpp', version : '3.8.1', - meson_version : '>=0.55', + meson_version : '>=0.56', default_options : [ 'warning_level=3', 'cpp_std=c++2a', diff --git a/src/common/config/meson.build b/src/common/config/meson.build index 106dcfd9..6a1e958c 100644 --- a/src/common/config/meson.build +++ b/src/common/config/meson.build @@ -22,7 +22,7 @@ config_header = configure_file( # directory, like when building the `yabridge` AUR package. In that case # `vcs_tag()` should always fall back to the Meson project version. version_header = vcs_tag( - command : ['git', '--git-dir=' + (meson.source_root() / '.git'), 'describe', '--always'], + command : ['git', '--git-dir=' + (meson.project_source_root() / '.git'), 'describe', '--always'], input : 'version.h.in', output : 'version.h', replace_string : '@VCS_VERSION@'