This is how you can lock meson build dependencies. Not sure why I didn't think of this before but you just put the .wrap files somewhere and instead of meson wrap install you copy them into subprojects.

This commit is contained in:
Zed A. Shaw 2024-10-16 19:48:23 -04:00
parent 678f5cc917
commit 62785d463c
18 changed files with 199 additions and 33 deletions

13
wraps/sqlite3.wrap Normal file
View file

@ -0,0 +1,13 @@
[wrap-file]
directory = sqlite-amalgamation-3460100
source_url = https://www.sqlite.org/2024/sqlite-amalgamation-3460100.zip
source_filename = sqlite-amalgamation-3460100.zip
source_hash = 77823cb110929c2bcb0f5d48e4833b5c59a8a6e40cdea3936b99e199dbbe5784
patch_filename = sqlite3_3.46.1-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/sqlite3_3.46.1-1/get_patch
patch_hash = 1358b931e30a454e55dbedbc28d5844946a17c68b45a5333093152d7af75982b
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sqlite3_3.46.1-1/sqlite-amalgamation-3460100.zip
wrapdb_version = 3.46.1-1
[provide]
sqlite3 = sqlite3_dep