diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-28 12:20:32 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2022-10-10 12:47:32 -0400 |
commit | 8c3a87847e8469c4b49a1ed130247e4ff023072a (patch) | |
tree | a817fc4ba899ad441912ac91038e31b5e06acf57 /docs/markdown/Using-wraptool.md | |
parent | 39d825fabfde54268b990aaec23539800c95ca89 (diff) | |
download | meson-8c3a87847e8469c4b49a1ed130247e4ff023072a.zip meson-8c3a87847e8469c4b49a1ed130247e4ff023072a.tar.gz meson-8c3a87847e8469c4b49a1ed130247e4ff023072a.tar.bz2 |
Document and test new WrapDB auto fallback
Diffstat (limited to 'docs/markdown/Using-wraptool.md')
-rw-r--r-- | docs/markdown/Using-wraptool.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/Using-wraptool.md b/docs/markdown/Using-wraptool.md index cabdc0e..edbceaa 100644 --- a/docs/markdown/Using-wraptool.md +++ b/docs/markdown/Using-wraptool.md @@ -82,3 +82,17 @@ straightforward: Wraptool can do other things besides these. Documentation for these can be found in the command line help, which can be accessed by `meson wrap --help`. + +## Automatic dependency fallback + +Since *0.64.0* Meson can use WrapDB to automatically find missing dependencies. + +The user simply needs to download latest database, the following command stores +it in `subprojects/wrapdb.json`: + $ meson wrap update-db + +Once the database is available locally, any dependency not found on the system +but available in WrapDB will automatically be downloaded. + +Automatic fetch of WrapDB subprojects can be disabled by removing the file +`subprojects/wrapdb.json`, or by using `--wrap-mode=nodownload`. |