diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-10-20 00:54:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 00:54:09 +0300 |
commit | 066060e8c9402b3ae510de7fbddeeb3b528247c9 (patch) | |
tree | 494e8036b8871fd02189d43dd35643147d2d9dd4 /docs | |
parent | 648b2c579915a75a6d8e65cab4ffc283769cea29 (diff) | |
parent | 76ac4f568988d405e65c500fca61259b75ffe396 (diff) | |
download | meson-066060e8c9402b3ae510de7fbddeeb3b528247c9.zip meson-066060e8c9402b3ae510de7fbddeeb3b528247c9.tar.gz meson-066060e8c9402b3ae510de7fbddeeb3b528247c9.tar.bz2 |
Merge pull request #4327 from xclaesse/wrap
wrap: Support using local files instead of downloading
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Wrap-dependency-system-manual.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index 2e977b2..7da4be5 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -45,6 +45,11 @@ If you then use this subproject in your build, Meson will automatically download and extract it during build. This makes subproject embedding extremely easy. +Since *0.49.0* if `source_filename` is found in project's +`subprojects/packagecache` directory, it will be used instead of downloading the +source, even if `wrap-mode` option is set to `nodownload`. The file's hash will +be checked. + Unfortunately most software projects in the world do not build with Meson. Because of this Meson allows you to specify a patch URL. This works in much the same way as Debian's distro patches. That is, they @@ -76,6 +81,11 @@ thousands of lines of code. Once you have a working build definition, just zip up the Meson build files (and others you have changed) and put them somewhere where you can download them. +Since *0.49.0* if `patch_filename` is found in project's +`subprojects/packagecache` directory, it will be used instead of downloading the +patch, even if `wrap-mode` option is set to `nodownload`. The file's hash will +be checked. + ## Branching subprojects directly from git The above mentioned scheme assumes that your subproject is working off |