meson: add wrap for libdrm

Sometimes as a developer when a new version of libdrm is required, it's
nice to not have to install it somewhere and set up pkg-confing, and
just let Meson do it for us.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10364>
This commit is contained in:
Dylan Baker
2018-04-26 09:34:07 -07:00
committed by Eric Engestrom
parent ebee672ef8
commit 40b87cde2a
2 changed files with 26 additions and 2 deletions

18
subprojects/libdrm.wrap Normal file
View File

@@ -0,0 +1,18 @@
[wrap-file]
directory = libdrm-2.4.114
source_url = https://dri.freedesktop.org/libdrm/libdrm-2.4.114.tar.xz
source_filename = libdrm-2.4.114.tar.xz
source_hash = 3049cf843a47d12e5eeefbc3be3496d782fa09f42346bf0b7defe3d1e598d026
wrapdb_version = 2.4.114-1
[provide]
libdrm = ext_libdrm
libdrm_amdgpu = ext_libdrm_amdgpu
libdrm_etnaviv = ext_libdrm_etnaviv
libdrm_exynos = ext_libdrm_exynos
libdrm_freedreno = ext_libdrm_freedreno
libdrm_intel = ext_libdrm_intel
libdrm_nouveau = ext_libdrm_nouveau
libdrm_omap = ext_libdrm_omap
libdrm_radeon = ext_libdrm_radeon
libdrm_tegra = ext_libdrm_tegra