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

11
wraps/freetype2.wrap Normal file
View file

@ -0,0 +1,11 @@
[wrap-file]
directory = freetype-2.13.3
source_url = https://download.savannah.gnu.org/releases/freetype/freetype-2.13.3.tar.xz
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/freetype2_2.13.3-1/freetype-2.13.3.tar.xz
source_filename = freetype-2.13.3.tar.xz
source_hash = 0550350666d427c74daeb85d5ac7bb353acba5f76956395995311a9c6f063289
wrapdb_version = 2.13.3-1
[provide]
freetype2 = freetype_dep
freetype = freetype_dep