[Buildroot] [git commit branch/2022.02.x] package/kodi: add comment to display udev dependency for gbm when wayland/x11 are disabled

Peter Korsgaard peter at korsgaard.com
Wed Dec 7 08:38:28 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=5f967c315a6bb106ec77d509d4b09ba9f4710c3a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x

Without this additional comment only the comment

  kodi needs an OpenGL EGL backend with OpenGL or GLES support

is displayed which is not enough to guide users.

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 8aa68a529ecdcf6f83d81a71863d59eb2147522b)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/kodi/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index c1db25227b..6c834de55a 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -27,6 +27,9 @@ config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM
 	depends on BR2_PACKAGE_HAS_UDEV # libinput
 	select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
 
+comment "kodi needs udev support for gbm"
+	depends on !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS
+
 config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND
 	bool
 	default y



More information about the buildroot mailing list