Subject: [PATCH kde-team 53/63] gnu: qtbase: propagate libxkbcommon.

From: Zheng Junjie <[email-masked]>
Date: Mon, 15 Apr 2024 20:47:30 +0800

* gnu/packages/qt.scm (qtbase)[propagated-inputs]: prepend libxkbcommon.
[inputs]: Remove libxkbcommon-1.5.

Change-Id: I1bea99e4580242bb6e83cf43129ab49935ef79d3
---
 gnu/packages/qt.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 13af841455..fa1e016178 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1083,6 +1083,10 @@ (define-public qtbase
        (prepend tzdata-for-tests
                 wayland-protocols
                 xvfb-run)))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs qtbase-5)
+       ;; Qt6::GuiPrivate require XKB::XKB
+       (prepend libxkbcommon)))
     (inputs
      (modify-inputs (package-inputs qtbase-5)
        (prepend at-spi2-core
@@ -1095,7 +1099,8 @@ (define-public qtbase
                 libxcb
                 libxext
                 xcb-util-cursor
-                `(,zstd "lib"))))
+                `(,zstd "lib"))
+       (delete "libxkbcommon")))
     (native-search-paths
      (list (search-path-specification
             (variable "QMAKEPATH")
-- 
2.41.0