mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
meson: restore dri.pc file
Which was accidentally deleted.
Fixes: ea8fa10edd
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5717
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14090>
This commit is contained in:
parent
2feee3b0b0
commit
3ae3569d82
1 changed files with 16 additions and 0 deletions
|
|
@ -64,3 +64,19 @@ libdri = static_library(
|
||||||
idep_mesautil,
|
idep_mesautil,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if with_dri
|
||||||
|
dri_req_private = []
|
||||||
|
if dep_libdrm.found()
|
||||||
|
dir_req_private = ['libdrm >= @0@'.format(_drm_ver)]
|
||||||
|
endif
|
||||||
|
|
||||||
|
pkg.generate(
|
||||||
|
name : 'dri',
|
||||||
|
filebase : 'dri',
|
||||||
|
description : 'Direct Rendering Infastructure',
|
||||||
|
version : meson.project_version(),
|
||||||
|
variables : ['dridriversdir=@0@'.format(dri_drivers_path)],
|
||||||
|
requires_private : dri_req_private,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue