[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56771] [PATCH 19/33] gnu: Add qtwebchannel, version 6.3.1.
From: |
Maxim Cournoyer |
Subject: |
[bug#56771] [PATCH 19/33] gnu: Add qtwebchannel, version 6.3.1. |
Date: |
Mon, 25 Jul 2022 19:07:49 -0400 |
* gnu/packages/qt.scm (qtwebchannel): New variable.
---
gnu/packages/qt.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a16b1285b4..b051fc5fe5 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1563,6 +1563,43 @@ (define-public qtwebchannel-5
application). The transport mechanism is supported out of the box by the two
popular web engines, Qt WebKit 2 and Qt WebEngine.")))
+(define-public qtwebchannel
+ (package
+ (name "qtwebchannel")
+ (version "6.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (qt5-urls name version))
+ (sha256
+ (base32
+ "0s16zx3qn3byldvhmsnwijm8rmizk8vpqj7fnwhjg6c67z10m8ma"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
+ #:phases #~(modify-phases %standard-phases
+ (delete 'check) ;move after install
+ (add-after 'install 'prepare-for-tests
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "QML2_IMPORT_PATH"
+ (string-append #$output "/lib/qt6/qml:"
+ (getenv "QML2_IMPORT_PATH")))))
+ (add-after 'prepare-for-tests 'check
+ (assoc-ref %standard-phases 'check))
+ (add-after 'check 'delete-installed-tests
+ (lambda _
+ (delete-file-recursively
+ (string-append #$output "/tests")))))))
+ (native-inputs (list perl))
+ (inputs (list qtbase qtdeclarative qtwebsockets))
+ (home-page (package-home-page qtbase))
+ (synopsis "Web communication library for Qt")
+ (description "The Qt WebChannel module enables peer-to-peer communication
+between the host (QML/C++ application) and the client (HTML/JavaScript
+application).")
+ (license (package-license qtbase))))
+
(define-public qtwebglplugin
(package (inherit qtsvg-5)
(name "qtwebglplugin")
--
2.36.1
- [bug#56771] [PATCH 09/33] gnu: qtmultimedia: Rename to qtmultimedia-5., (continued)
- [bug#56771] [PATCH 09/33] gnu: qtmultimedia: Rename to qtmultimedia-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 13/33] gnu: qtquickcontrols: Rename to qtquickcontrols-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 08/33] gnu: Add qtshadertools., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 10/33] gnu: Add qtmultimedia, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 12/33] gnu: Add qtdeclarative, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 16/33] gnu: qtwebsockets: Rename to qtwebsockets-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 31/33] gnu: Remove jami-libclient., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 30/33] gnu: libjami: Enable test agent., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 11/33] gnu: qtdeclarative: Rename to qtdeclarative-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 18/33] gnu: qtwebchannel: Rename to qtwebchannel-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 19/33] gnu: Add qtwebchannel, version 6.3.1.,
Maxim Cournoyer <=
- [bug#56771] [PATCH 23/33] gnu: qttools: Rename to qttools-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 04/33] gnu: qtsvg: Rename variable to qtsvg-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 15/33] gnu: qtquickcontrols2: Define as obsoleted by qtdeclarative., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 24/33] gnu: Add qttools, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 20/33] gnu: qtwebengine: Rename to qtwebengine-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 21/33] gnu: Add qtwebengine, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 22/33] gnu: Add qt5compat., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 25/33] gnu: qtnetworkauth: Rename to qtnetworkauth-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 29/33] gnu: jami: Update to 20220725.1128.fd5e6c6., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 33/33] gnu: jami: Update to 20220725.1128.fd5e6c6., Maxim Cournoyer, 2022/07/25