git: cc6ad6188cdd - main - www/qt6-websockets: new port

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Mon, 22 Aug 2022 14:09:38 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cc6ad6188cdd4bc640c7e13fa77256996e18a024

commit cc6ad6188cdd4bc640c7e13fa77256996e18a024
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-08-22 13:58:25 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-08-22 14:09:20 +0000

    www/qt6-websockets: new port
    
    This adds the missing Qt 6 websockets module to the tree.
    
    As with the rest of the Qt 6 ports, we first need to figure
    out what is actually required by other ports before we can
    finalize them.
---
 www/Makefile                 |  1 +
 www/qt6-websockets/Makefile  | 14 ++++++++++++
 www/qt6-websockets/distinfo  |  3 +++
 www/qt6-websockets/pkg-descr | 10 +++++++++
 www/qt6-websockets/pkg-plist | 53 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 81 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index e9e72f33e9d5..54a90025592a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1796,6 +1796,7 @@
     SUBDIR += qt5-websockets
     SUBDIR += qt5-websockets-qml
     SUBDIR += qt5-webview
+    SUBDIR += qt6-websockets
     SUBDIR += quark
     SUBDIR += qutebrowser
     SUBDIR += radicale
diff --git a/www/qt6-websockets/Makefile b/www/qt6-websockets/Makefile
new file mode 100644
index 000000000000..43e92f6090f0
--- /dev/null
+++ b/www/qt6-websockets/Makefile
@@ -0,0 +1,14 @@
+PORTNAME=	websockets
+PORTVERSION=	${QT6_VERSION}
+CATEGORIES=	www
+PKGNAMEPREFIX=	qt6-
+
+MAINTAINER=	kde@FreeBSD.org
+COMMENT=	Qt implementation of WebSocket protocol
+
+BUILD_DEPENDS=	vulkan-headers>0:graphics/vulkan-headers
+
+USES=		cmake compiler:c++11-lang pkgconfig qt-dist:6
+USE_QT=		base declarative
+
+.include <bsd.port.mk>
diff --git a/www/qt6-websockets/distinfo b/www/qt6-websockets/distinfo
new file mode 100644
index 000000000000..9869e8cfc881
--- /dev/null
+++ b/www/qt6-websockets/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661176146
+SHA256 (KDE/Qt/6.3.1/qtwebsockets-everywhere-src-6.3.1.tar.xz) = 9f980d90c97fcbde1b50c773f6dc580cfdf8c36ce14a1be3aa2ccadfe605121a
+SIZE (KDE/Qt/6.3.1/qtwebsockets-everywhere-src-6.3.1.tar.xz) = 264268
diff --git a/www/qt6-websockets/pkg-descr b/www/qt6-websockets/pkg-descr
new file mode 100644
index 000000000000..cc4f1c041389
--- /dev/null
+++ b/www/qt6-websockets/pkg-descr
@@ -0,0 +1,10 @@
+WebSocket is a web-based protocol designed to enable a two-way interactive
+communication session between a client application and a remote host. It
+enables the two entities to send data back and forth if the initial handshake
+succeeds.
+
+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.
+
+WWW: https://qt.io
diff --git a/www/qt6-websockets/pkg-plist b/www/qt6-websockets/pkg-plist
new file mode 100644
index 000000000000..5c34bafd2b61
--- /dev/null
+++ b/www/qt6-websockets/pkg-plist
@@ -0,0 +1,53 @@
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qdefaultmaskgenerator_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qsslserver_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocket_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocketcorsauthenticator_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocketdataprocessor_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocketframe_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsockethandshakerequest_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsockethandshakeresponse_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocketprotocol_p.h
+%%QT_INCDIR%%/QtWebSockets/%%FULLVER%%/QtWebSockets/private/qwebsocketserver_p.h
+%%QT_INCDIR%%/QtWebSockets/QMaskGenerator
+%%QT_INCDIR%%/QtWebSockets/QWebSocket
+%%QT_INCDIR%%/QtWebSockets/QWebSocketCorsAuthenticator
+%%QT_INCDIR%%/QtWebSockets/QWebSocketProtocol
+%%QT_INCDIR%%/QtWebSockets/QWebSocketServer
+%%QT_INCDIR%%/QtWebSockets/QtWebSockets
+%%QT_INCDIR%%/QtWebSockets/QtWebSocketsDepends
+%%QT_INCDIR%%/QtWebSockets/QtWebSocketsVersion
+%%QT_INCDIR%%/QtWebSockets/qmaskgenerator.h
+%%QT_INCDIR%%/QtWebSockets/qtwebsocketsexports.h
+%%QT_INCDIR%%/QtWebSockets/qtwebsocketsversion.h
+%%QT_INCDIR%%/QtWebSockets/qwebsocket.h
+%%QT_INCDIR%%/QtWebSockets/qwebsocketcorsauthenticator.h
+%%QT_INCDIR%%/QtWebSockets/qwebsocketprotocol.h
+%%QT_INCDIR%%/QtWebSockets/qwebsockets_global.h
+%%QT_INCDIR%%/QtWebSockets/qwebsocketserver.h
+lib/cmake/Qt6BuildInternals/StandaloneTests/QtWebSocketsTestsConfig.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsAdditionalTargetInfo.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsConfig.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsConfigVersion.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsConfigVersionImpl.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsTargets.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsAdditionalTargetInfo.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsConfigVersion.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsConfigVersionImpl.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsDependencies.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsTargets.cmake
+lib/cmake/Qt6WebSockets/Qt6WebSocketsVersionlessTargets.cmake
+%%QT_LIBDIR%%/libQt6WebSockets.prl
+%%QT_LIBDIR%%/libQt6WebSockets.so
+%%QT_LIBDIR%%/libQt6WebSockets.so.6
+%%QT_LIBDIR%%/libQt6WebSockets.so.%%FULLVER%%
+%%QT_LIBDIR%%/metatypes/qt6websockets_release_metatypes.json
+%%QT_MKSPECDIR%%/modules/qt_lib_websockets.pri
+%%QT_MKSPECDIR%%/modules/qt_lib_websockets_private.pri
+%%QT_QMLDIR%%/QtWebSockets/libqmlwebsocketsplugin.so
+%%QT_QMLDIR%%/QtWebSockets/plugins.qmltypes
+%%QT_QMLDIR%%/QtWebSockets/qmldir
+libdata/pkgconfig/Qt6WebSockets.pc
+%%QT_DATADIR%%/modules/WebSockets.json