diff --git a/CHANGELOG.md b/CHANGELOG.md index 1adb4eaa..e6b9970b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). receives timer events while doing offline audio processing, so we now prevent that from happening. +### Packaging notes + +- The function2 wrap dependency was updated to version 4.2.0. + ## [3.6.0] - 2021-10-15 ### Added diff --git a/meson.build b/meson.build index 36334e53..dce11e96 100644 --- a/meson.build +++ b/meson.build @@ -228,7 +228,7 @@ 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.1.0', fallback : ['function2', 'function2_dep']) +function2_dep = dependency('function2', version : '>=4.2.0', fallback : ['function2', 'function2_dep']) threads_dep = dependency('threads') tomlplusplus_dep = dependency('tomlplusplus', version : '>=2.1.0', fallback : ['tomlplusplus', 'tomlplusplus_dep']) diff --git a/subprojects/.gitignore b/subprojects/.gitignore index e557da5e..a5996a79 100644 --- a/subprojects/.gitignore +++ b/subprojects/.gitignore @@ -3,3 +3,6 @@ # The above pattern doesn't match submodules /tomlplusplus /vst3 + +# And we obviously don't want to ignore our overlays +!/function2-patch/* diff --git a/subprojects/function2-patch-4.1.0.tar.xz b/subprojects/function2-patch-4.1.0.tar.xz deleted file mode 100644 index 141ec0d3..00000000 Binary files a/subprojects/function2-patch-4.1.0.tar.xz and /dev/null differ diff --git a/subprojects/function2-patch/meson.build b/subprojects/function2-patch/meson.build new file mode 100644 index 00000000..d871d1c5 --- /dev/null +++ b/subprojects/function2-patch/meson.build @@ -0,0 +1,3 @@ +project('function2', 'cpp', version : '4.2.0') + +function2_dep = declare_dependency(include_directories : include_directories('include')) diff --git a/subprojects/function2.wrap b/subprojects/function2.wrap index e0da7382..7500ee37 100644 --- a/subprojects/function2.wrap +++ b/subprojects/function2.wrap @@ -1,11 +1,7 @@ -[wrap-file] -directory = function2-4.1.0 +[wrap-git] +url = https://github.com/Naios/function2.git +# Tag 4.2.0 +revision = 02ca99831de59c7c3a4b834789260253cace0ced +depth = 1 -source_url = https://github.com/Naios/function2/archive/4.1.0.tar.gz -source_filename = function2-4.1.0.tar.gz -source_hash = c3aaeaf93bf90c0f4505a18f1094b51fe28881ce202c3bf78ec4efb336c51981 - -# TODO: Meson 0.55 added patch_directory, so we can just use that instead -patch_url = file:./subprojects/function2-patch-4.1.0.tar.xz -patch_filename = function2-patch-4.1.0.tar.xz -patch_hash = 4b966afd862413ea1f3d96484e74401992ec958f1ee2b4cc161f3cb7c36fe7ba +patch_directory = subprojects/function2-patch