[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56771] [PATCH 17/33] gnu: Add qtwebsockets, version 6.3.1.
From: |
Maxim Cournoyer |
Subject: |
[bug#56771] [PATCH 17/33] gnu: Add qtwebsockets, version 6.3.1. |
Date: |
Mon, 25 Jul 2022 19:07:47 -0400 |
* gnu/packages/qt.scm (qtwebsockets): New variable.
---
gnu/packages/qt.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index bd43830391..d0b9e8ea9c 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1227,6 +1227,45 @@ (define-public qtwebsockets-5
to act as a server that can process WebSocket requests, or a client that can
consume data received from the server, or both.")))
+(define-public qtwebsockets
+ (package
+ (name "qtwebsockets")
+ (version "6.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (qt5-urls name version))
+ (sha256
+ (base32
+ "06hj0pkdzjicmbiinjp1dk1ziz8cb3fgcwy7a0dxxjvzr680v64z"))))
+ (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))
+ (synopsis "Qt Web Sockets module")
+ (description "WebSocket is a web-based protocol designed to enable two-way
+communication between a client application and a remote host. The Qt
+WebSockets module provides C++ and QML interfaces that enable Qt applications
+to act as a server that can process WebSocket requests, or a client that can
+consume data received from the server, or both.")
+ (home-page (package-home-page qtbase))
+ (license (package-license qtbase))))
+
(define-public qtsensors
(package (inherit qtsvg-5)
(name "qtsensors")
--
2.36.1
- [bug#56771] [PATCH 00/33] *** Update Jami to 20220725, core Qt packages along the way, Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 01/33] gnu: qtbase: Patch /bin/pwd in executable scripts., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 02/33] gnu: qtbase: Honor CMAKE_PREFIX_PATH., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 03/33] gnu: qtbase: Enable test suite., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 07/33] gnu: qpwgraph: Migrate to Qt 6 and add libxkbcommon input., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 05/33] gnu: qtsvg-5: Fix indentation., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 17/33] gnu: Add qtwebsockets, version 6.3.1.,
Maxim Cournoyer <=
- [bug#56771] [PATCH 14/33] gnu: qtquickcontrols2: Rename to qtquickcontrols2-5., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 26/33] gnu: Add qtnetworkauth, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [bug#56771] [PATCH 06/33] gnu: Add qtsvg, version 6.3.1., Maxim Cournoyer, 2022/07/25
- [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