[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/35: gnu: Add qtwebchannel, version 6.3.1.
From: |
guix-commits |
Subject: |
20/35: gnu: Add qtwebchannel, version 6.3.1. |
Date: |
Mon, 1 Aug 2022 00:12:16 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit ef648459df868be6a44c7bfdb491e8e50bb9bfc6
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jul 18 07:49:35 2022 -0400
gnu: Add qtwebchannel, version 6.3.1.
* 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 ce2e3ad8cc..3f1f468b7e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1561,6 +1561,43 @@ between the host (QML/C++ application) and the client
(HTML/JavaScript
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")
- 19/35: gnu: qtwebchannel: Rename to qtwebchannel-5., (continued)
- 19/35: gnu: qtwebchannel: Rename to qtwebchannel-5., guix-commits, 2022/08/01
- 21/35: gnu: qtwebengine: Rename to qtwebengine-5., guix-commits, 2022/08/01
- 29/35: build: qt: Add qtbase argument and wrap Qt environment variables exactly., guix-commits, 2022/08/01
- 01/35: gnu: qtbase: Patch /bin/pwd in executable scripts., guix-commits, 2022/08/01
- 08/35: gnu: qpwgraph: Migrate to Qt 6 and add libxkbcommon input., guix-commits, 2022/08/01
- 22/35: gnu: Add qtwebengine, version 6.3.1., guix-commits, 2022/08/01
- 34/35: gnu: jami: Update to 20220726.1515.da8d1da., guix-commits, 2022/08/01
- 06/35: gnu: qtsvg-5: Fix indentation., guix-commits, 2022/08/01
- 07/35: gnu: Add qtsvg, version 6.3.1., guix-commits, 2022/08/01
- 10/35: gnu: qtmultimedia: Rename to qtmultimedia-5., guix-commits, 2022/08/01
- 20/35: gnu: Add qtwebchannel, version 6.3.1.,
guix-commits <=
- 30/35: gnu: libjami: Update to 20220726.1515.da8d1da., guix-commits, 2022/08/01