HYL_OK3568_LINUX/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/0063-HACK-clients-Drop-dmabuf-feedback.patch
2025-05-10 21:49:39 +08:00

77 lines
2.4 KiB
Diff

From b1bd49d963d6c7cb8e36d0a030a1119ef23dc641 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Mon, 16 May 2022 15:54:21 +0800
Subject: [PATCH 63/79] HACK: clients: Drop dmabuf-feedback
We don't need it.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
clients/meson.build | 50 ++++++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/clients/meson.build b/clients/meson.build
index 362f7fe..ff8374f 100644
--- a/clients/meson.build
+++ b/clients/meson.build
@@ -53,31 +53,31 @@ simple_clients = [
],
'dep_objs': [ dep_wayland_client, dep_libshared ]
},
- {
- 'name': 'dmabuf-feedback',
- 'sources': [
- 'simple-dmabuf-feedback.c',
- '../libweston/pixel-formats.c',
- linux_dmabuf_unstable_v1_client_protocol_h,
- linux_dmabuf_unstable_v1_protocol_c,
- xdg_shell_client_protocol_h,
- xdg_shell_protocol_c,
- ],
- 'dep_objs': [
- dep_wayland_client,
- dep_libshared,
- dep_pixman,
- dep_libdrm,
- dependency('libudev', version: '>= 136'),
- # gbm_bo_get_fd_for_plane() from 21.1.0
- dependency('gbm', version: '>= 21.1.1',
- required: simple_build_all or simple_clients_enabled.contains('dmabuf-feedback'),
- not_found_message: 'dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option.',
- disabler: true)
- ],
- 'deps': [ 'egl', 'glesv2', 'gbm' ],
- 'options': [ 'renderer-gl' ]
- },
+# {
+# 'name': 'dmabuf-feedback',
+# 'sources': [
+# 'simple-dmabuf-feedback.c',
+# '../libweston/pixel-formats.c',
+# linux_dmabuf_unstable_v1_client_protocol_h,
+# linux_dmabuf_unstable_v1_protocol_c,
+# xdg_shell_client_protocol_h,
+# xdg_shell_protocol_c,
+# ],
+# 'dep_objs': [
+# dep_wayland_client,
+# dep_libshared,
+# dep_pixman,
+# dep_libdrm,
+# dependency('libudev', version: '>= 136'),
+# # gbm_bo_get_fd_for_plane() from 21.1.0
+# dependency('gbm', version: '>= 21.1.1',
+# required: simple_build_all or simple_clients_enabled.contains('dmabuf-feedback'),
+# not_found_message: 'dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option.',
+# disabler: true)
+# ],
+# 'deps': [ 'egl', 'glesv2', 'gbm' ],
+# 'options': [ 'renderer-gl' ]
+# },
{
'name': 'dmabuf-egl',
'sources': [
--
2.20.1