meson: restore private requires to libdrm in dri.pc file

Due to a typo the private requires to libdrm were lost in dri.pc.
Fixed another typo: Infastructure --> Infrastructure

Fixes: 3ae3569d82 ("meson: restore dri.pc file")
Signed-off-by: Stefan Dirsch <sndirsch@suse.com>
Tested-by: Stefan Dirsch <sndirsch@suse.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15375>
This commit is contained in:
Stefan Dirsch 2022-03-14 13:41:28 +01:00 committed by Marge Bot
parent 3b90d3997a
commit c287ed4f39

View file

@ -68,13 +68,13 @@ libdri = static_library(
if with_dri
dri_req_private = []
if dep_libdrm.found()
dir_req_private = ['libdrm >= @0@'.format(_drm_ver)]
dri_req_private = ['libdrm >= @0@'.format(_drm_ver)]
endif
pkg.generate(
name : 'dri',
filebase : 'dri',
description : 'Direct Rendering Infastructure',
description : 'Direct Rendering Infrastructure',
version : meson.project_version(),
variables : ['dridriverdir=@0@'.format(dri_drivers_path)],
requires_private : dri_req_private,