Subject: [bug#48465] [PATCH 33/35] gnu: lxqt-config: Move libkscreen to propagated-inputs.

From: Brendan Tildesley <[email-masked]>
Date: Mon, 17 May 2021 00:06:18 +1000

* gnu/packages/lxqt.scm (lxqt-config): Move libkscreen to
propagated-inputs. Kscreen is a runtime dependency. lxqt-config-monitor
will not open without it available.
---
 gnu/packages/lxqt.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index c3b073ee13..f8d93faaef 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -375,7 +375,6 @@ the operating system LXQt is running on.")
     (inputs
      `(("eudev" ,eudev)
        ("kwindowsystem" ,kwindowsystem)
-       ("libkscreen" ,libkscreen)
        ("liblxqt" ,liblxqt)
        ("libqtxdg" ,libqtxdg)
        ("libxcursor" ,libxcursor)
@@ -391,6 +390,10 @@ the operating system LXQt is running on.")
      `(("pkg-config" ,pkg-config)
        ("lxqt-build-tools" ,lxqt-build-tools)
        ("qttools" ,qttools)))
+    ;; XXX: This is a workaround so libkscreen can find the backends as we
+    ;; dont have a way specify them. We may want to  patch like Nix does.
+    (propagated-inputs
+     `(("libkscreen" ,libkscreen)))
     (arguments
      '(#:tests? #f                      ; no tests
        #:phases
-- 
2.31.1