freedreno+meson: Add lua+libarchive+libxml from Meson WrapDB

These dependencies are required for building freedreno tools but on
platforms such as Android, these aren't included and would need to
be built from source. The easiest way to do this was using the
Meson WrapDB. Additionally, warnings were added when these deps are
missing as the decode tools will silently not be built otherwise.

Signed-off-by: Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25005>
This commit is contained in:
Mark Collins
2023-08-08 09:54:03 +00:00
committed by Marge Bot
parent b91f9f68f0
commit ce124328a0
5 changed files with 51 additions and 3 deletions

13
subprojects/libxml2.wrap Normal file
View File

@@ -0,0 +1,13 @@
[wrap-file]
directory = libxml2-2.11.4
source_url = https://download.gnome.org/sources/libxml2/2.11/libxml2-2.11.4.tar.xz
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libxml2_2.11.4-1/libxml2-2.11.4.tar.xz
source_filename = libxml2-2.11.4.tar.xz
source_hash = 737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7
patch_filename = libxml2_2.11.4-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libxml2_2.11.4-1/get_patch
patch_hash = 31867206881a6ec8f2338972775c9c9155aaf8c8a7d680331ae62ea231c9622e
wrapdb_version = 2.11.4-1
[provide]
libxml-2.0 = libxml2_dep