gnu: QtWebEngine: Propagate required dependencies.
authorMarius Bakke <marius@gnu.org>
Sun, 27 Nov 2022 18:26:18 +0000 (19:26 +0100)
committerMarius Bakke <marius@gnu.org>
Sun, 27 Nov 2022 20:19:51 +0000 (21:19 +0100)
* gnu/packages/qt.scm (qtwebengine-5)[inputs]: Move QTBASE-5, QTDECLARATIVE-5,
and QTWEBCHANNEL-5 ...
[propagated-inputs]: ... here.
(qtwebengine)[inputs, propagated-inputs]: Adjust accordingly.

gnu/packages/qt.scm

index 7694334..a0ced64 100644 (file)
@@ -2579,16 +2579,16 @@ using the Enchant spell-checking library.")
            pciutils
            protobuf
            pulseaudio
-           qtbase-5
-           qtdeclarative-5
            qtmultimedia-5
-           qtwebchannel-5
            re2
            snappy
            eudev
            valgrind
            vulkan-headers
            xcb-util))
+    (propagated-inputs
+     ;; Required by Qt5WebEngineCoreConfig.cmake.
+     (list qtbase-5 qtdeclarative-5 qtwebchannel-5))
     (arguments
      (substitute-keyword-arguments (package-arguments qtsvg-5)
        ((#:modules modules '())
@@ -2983,11 +2983,13 @@ linux/libcurl_wrapper.h"
                python-html5lib)))
     (inputs
      (modify-inputs (package-inputs qtwebengine-5)
-       (replace "qtbase" qtbase)
-       (replace "qtdeclarative" qtdeclarative)
        (replace "qtmultimedia" qtmultimedia)
-       (replace "qtwebchannel" qtwebchannel)
        (append libxkbfile xkeyboard-config)))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs qtwebengine-5)
+       (replace "qtbase" qtbase)
+       (replace "qtdeclarative" qtdeclarative)
+       (replace "qtwebchannel" qtwebchannel)))
     (native-search-paths
      (list (search-path-specification
             (file-type 'regular)