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

View File

@@ -0,0 +1,13 @@
[wrap-file]
directory = libarchive-3.7.1
source_url = https://github.com/libarchive/libarchive/releases/download/v3.7.1/libarchive-3.7.1.tar.xz
source_filename = libarchive-3.7.1.tar.xz
source_hash = b17403ce670ff18d8e06fea05a9ea9accf70678c88f1b9392a2e29b51127895f
patch_filename = libarchive_3.7.1-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/libarchive_3.7.1-2/get_patch
patch_hash = ada92958fa10655ca0f710ecb7ec3db7751644d76001d5d36b352115399b1eef
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libarchive_3.7.1-2/libarchive-3.7.1.tar.xz
wrapdb_version = 3.7.1-2
[provide]
libarchive = libarchive_dep