summaryrefslogtreecommitdiff
path: root/freedreno
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-01-19 11:14:17 -0800
committerDylan Baker <dylan@pnwbakers.com>2022-01-20 10:20:40 -0800
commitcc161205432875c23f237d97488c9076ce64cf29 (patch)
tree1503d02326bba3d9af887609f85cc8a9b02e2cd3 /freedreno
parent38c568775e19dd99d72d5564752ad27781a9a102 (diff)
meson: use the modern interface for pkg.generate
This produces no differences in the generated output. I've had to manually add `requires : 'libdrm'` to libdrm_intel, otherwise libdrm ends up in `Requires.private` instead of `Requires`. Signed-off-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'freedreno')
-rw-r--r--freedreno/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/freedreno/meson.build b/freedreno/meson.build
index 4fdc8143..de9ee148 100644
--- a/freedreno/meson.build
+++ b/freedreno/meson.build
@@ -65,11 +65,9 @@ install_headers(
)
pkg.generate(
+ libdrm_freedreno,
name : 'libdrm_freedreno',
- libraries : libdrm_freedreno,
subdirs : ['.', 'libdrm', 'freedreno'],
- version : meson.project_version(),
- requires_private : 'libdrm',
description : 'Userspace interface to freedreno kernel DRM services',
)