HYL_OK3568_LINUX/buildroot/package/weston/0064-HACK-clients-Drop-dmabuf-feedback.patch
2025-05-10 21:49:39 +08:00

81 lines
2.5 KiB
Diff

From 78d4801e0e0b97765f30718582a77b51879c86a6 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 64/92] HACK: clients: Drop dmabuf-feedback
We don't need it.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
clients/meson.build | 54 ++++++++++++++++++++++-----------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/clients/meson.build b/clients/meson.build
index 8e6446a..6d6ed6b 100644
--- a/clients/meson.build
+++ b/clients/meson.build
@@ -57,33 +57,33 @@ 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,
- presentation_time_client_protocol_h,
- presentation_time_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,
+# presentation_time_client_protocol_h,
+# presentation_time_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