Not sure why I didn't think of this before, but you can just copy all the .wrap files to another directory, and then instead of meson wrap install you just copy them to subprojects. That's how you lock the versions of dependencies.

This commit is contained in:
Zed A. Shaw 2024-10-16 20:01:01 -04:00
parent 33327154ad
commit da04c5ec54
14 changed files with 146 additions and 36 deletions

13
wraps/sfml.wrap Normal file
View file

@ -0,0 +1,13 @@
[wrap-file]
directory = SFML-2.6.1
source_url = https://github.com/SFML/SFML/archive/refs/tags/2.6.1.tar.gz
source_filename = 2.6.1.tar.gz
source_hash = 82535db9e57105d4f3a8aedabd138631defaedc593cab589c924b7d7a11ffb9d
patch_filename = sfml_2.6.1-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/sfml_2.6.1-1/get_patch
patch_hash = 10367d927ec489dc575491de0059945a63ba08eef3f6fc146e6ba339176c9f18
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sfml_2.6.1-1/2.6.1.tar.gz
wrapdb_version = 2.6.1-1
[provide]
sfml = sfml_dep