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>
(cherry picked from commit c287ed4f39)
This commit is contained in:
Stefan Dirsch 2022-03-14 13:41:28 +01:00 committed by Dylan Baker
parent 157e3046bd
commit 7559a9f8f6
2 changed files with 3 additions and 3 deletions

View file

@ -229,7 +229,7 @@
"description": "meson: restore private requires to libdrm in dri.pc file",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "3ae3569d822c2546c4c748090f8a6c8016f763ea"
},

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,