Update bitsery wrap to 5.2.2 and patch_directory

And switch to wrap-git.
This commit is contained in:
Robbert van der Helm
2021-11-11 03:13:43 +01:00
parent 43c66b6dc3
commit fe1c2e3848
6 changed files with 17 additions and 12 deletions
+7
View File
@@ -35,6 +35,13 @@ Versioning](https://semver.org/spec/v2.0.0.html).
### Packaging notes
- All Meson wraps now use `wrap-git` instead of downloading tarballs from
GitHub. Previously the bitsery and function2 wraps would use source tarballs.
- The patch overlays for the bitsery and function2 wraps are now in regular
directories instead of being in tarballs committed to yabridge's repository.
This means that building now requires **Meson 0.55** or later because of the
use of `patch_directory`.
- The bitsery wrap dependency was updated to version 5.2.2.
- The function2 wrap dependency was updated to version 4.2.0.
## [3.6.0] - 2021-10-15
-2
View File
@@ -225,8 +225,6 @@ endif
# and 64-bit versions
boost_dep = dependency('boost', version : '>=1.66', static : with_static_boost)
# TODO: Meson doesn't have a way to define version ranges, does it? Like
# `^>=5.2.0`, `>=5.2.0 && <6.0.0` or `5.2.*`.
bitsery_dep = dependency('bitsery', version : '>=5.2.0', fallback : ['bitsery', 'bitsery_dep'])
function2_dep = dependency('function2', version : '>=4.2.0', fallback : ['function2', 'function2_dep'])
threads_dep = dependency('threads')
+1
View File
@@ -5,4 +5,5 @@
/vst3
# And we obviously don't want to ignore our overlays
!/bitsery-patch/*
!/function2-patch/*
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
project('bitsery', 'cpp', version : '5.2.0')
bitsery_dep = declare_dependency(include_directories : include_directories('include'))
+6 -10
View File
@@ -1,11 +1,7 @@
[wrap-file]
directory = bitsery-5.2.0
[wrap-git]
url = https://github.com/fraillt/bitsery.git
# This is tag v5.2.2
revision = c0fc083c9de805e5825d7553507569febf6a6f93
depth = 1
source_url = https://github.com/fraillt/bitsery/archive/v5.2.0.tar.gz
source_filename = bitsery-v5.2.0.tar.gz
source_hash = 99f47bca227abb6b9e8030703dcc402ab930ff3bf0a87c89c3f0fb9536cad448
# TODO: Meson 0.55 added patch_directory, so we can just use that instead
patch_url = file:./subprojects/bitsery-patch-5.2.0.tar.xz
patch_filename = bitsery-patch-5.2.0.tar.xz
patch_hash = ab12b1622de7a17e2996ab86a0947bbbc39e6684d9ad06c46f8e3877e5f8683d
patch_directory = subprojects/bitsery-patch