From e353b2e8d48c8ffce579342fac9ccfc62127bec8 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 28 May 2020 13:22:57 -0400 Subject: wrap: Add patch_directory support Copy a tree instead of extracting an archive. Closes: #7216 --- docs/markdown/snippets/wrap_patch.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/wrap_patch.md b/docs/markdown/snippets/wrap_patch.md index 7d6d9c2..d5a1f5f 100644 --- a/docs/markdown/snippets/wrap_patch.md +++ b/docs/markdown/snippets/wrap_patch.md @@ -4,3 +4,11 @@ It is now possible to use the `patch_filename` and `source_filename` value in a `.wrap` file without `*_url` to specify a local source / patch file. All local files must be located in the `subprojects/packagefiles` directory. The `*_hash` entries are optional with this setup. + +## Local wrap patch directory + +Wrap files can now specify `patch_directory` instead of `patch_filename` in the +case overlay files are local. Every files in that directory, and subdirectories, +will be copied to the subproject directory. This can be used for example to add +`meson.build` files to a project not using Meson build system upstream. +The patch directory must be placed in `subprojects/packagefiles` directory. -- cgit v1.1