From 2b299866764ca731a5aeda7315d5198348869a42 Mon Sep 17 00:00:00 2001 From: Niclas Rosenvik Date: Sun, 3 Oct 2021 10:09:18 +0000 Subject: [PATCH] Add qt6-qtwebchannel and qt6-qtwebsockets to pkgsrc-wip Add qt6-qtwebchannel and qt6-qtwebsockets to pkgsrc-wip. qt6-qtwebsockets provides websocket(RFC 6455) communication. qt6-qtwebchannel provides access to QObject or QML objects from HTML clients. --- Makefile | 2 ++ qt6-qtbase/Makefile.common | 2 ++ qt6-qtwebchannel/DESCR | 2 ++ qt6-qtwebchannel/Makefile | 13 +++++++++ qt6-qtwebchannel/PLIST | 41 ++++++++++++++++++++++++++++ qt6-qtwebchannel/buildlink3.mk | 15 ++++++++++ qt6-qtwebchannel/distinfo | 6 ++++ qt6-qtwebsockets/DESCR | 1 + qt6-qtwebsockets/Makefile | 12 ++++++++ qt6-qtwebsockets/PLIST | 50 ++++++++++++++++++++++++++++++++++ qt6-qtwebsockets/buildlink3.mk | 14 ++++++++++ qt6-qtwebsockets/distinfo | 6 ++++ 12 files changed, 164 insertions(+) create mode 100644 qt6-qtwebchannel/DESCR create mode 100644 qt6-qtwebchannel/Makefile create mode 100644 qt6-qtwebchannel/PLIST create mode 100644 qt6-qtwebchannel/buildlink3.mk create mode 100644 qt6-qtwebchannel/distinfo create mode 100644 qt6-qtwebsockets/DESCR create mode 100644 qt6-qtwebsockets/Makefile create mode 100644 qt6-qtwebsockets/PLIST create mode 100644 qt6-qtwebsockets/buildlink3.mk create mode 100644 qt6-qtwebsockets/distinfo diff --git a/Makefile b/Makefile index f51e482427e..2e9a420f93a 100644 --- a/Makefile +++ b/Makefile @@ -4912,6 +4912,8 @@ SUBDIR+= qt6-qtshadertools SUBDIR+= qt6-qtsvg SUBDIR+= qt6-qttools SUBDIR+= qt6-qtwayland +SUBDIR+= qt6-qtwebchannel +SUBDIR+= qt6-qtwebsockets SUBDIR+= qtaccountsservice SUBDIR+= qtile SUBDIR+= qtnotifydaemon diff --git a/qt6-qtbase/Makefile.common b/qt6-qtbase/Makefile.common index a684533a918..0e90f8f5ed4 100644 --- a/qt6-qtbase/Makefile.common +++ b/qt6-qtbase/Makefile.common @@ -17,6 +17,8 @@ # used by wip/qt6-qtsvg/Makefile # used by wip/qt6-qttools/Makefile # used by wip/qt6-qtwayland/Makefile +# used by wip/qt6-qtwebchannel/Makefile +# used by wip/qt6-qtwebsockets/Makefile # used by wip/qt6-qt3d/Makefile # used by wip/qt6-qt5compat/Makefile diff --git a/qt6-qtwebchannel/DESCR b/qt6-qtwebchannel/DESCR new file mode 100644 index 00000000000..dda19496dc0 --- /dev/null +++ b/qt6-qtwebchannel/DESCR @@ -0,0 +1,2 @@ +Qt6 module that provides a mechanism to transperently access QObject +or QML objects from HTML clients. diff --git a/qt6-qtwebchannel/Makefile b/qt6-qtwebchannel/Makefile new file mode 100644 index 00000000000..91f5e74ca9a --- /dev/null +++ b/qt6-qtwebchannel/Makefile @@ -0,0 +1,13 @@ +# $NetBSD$ + +DISTNAME= qtwebchannel-everywhere-src-${QTVERSION} +PKGNAME= qt6-qtwebchannel-${QTVERSION} +COMMENT= Qt6 webchannel module +CATEGORIES= www + +.include "../../wip/qt6-qtbase/Makefile.common" + +.include "../../wip/qt6-qtbase/buildlink3.mk" +.include "../../wip/qt6-qtdeclarative/buildlink3.mk" +.include "../../wip/qt6-qtwebsockets/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/qt6-qtwebchannel/PLIST b/qt6-qtwebchannel/PLIST new file mode 100644 index 00000000000..a4f6fc6d321 --- /dev/null +++ b/qt6-qtwebchannel/PLIST @@ -0,0 +1,41 @@ +@comment $NetBSD$ +qt6/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qmetaobjectpublisher_p.h +qt6/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qqmlwebchannelattached_p.h +qt6/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/qwebchannel_p.h +qt6/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/signalhandler_p.h +qt6/include/QtWebChannel/${PKGVERSION}/QtWebChannel/private/variantargument_p.h +qt6/include/QtWebChannel/QQmlWebChannel +qt6/include/QtWebChannel/QWebChannel +qt6/include/QtWebChannel/QWebChannelAbstractTransport +qt6/include/QtWebChannel/QtWebChannel +qt6/include/QtWebChannel/QtWebChannelDepends +qt6/include/QtWebChannel/QtWebChannelVersion +qt6/include/QtWebChannel/qqmlwebchannel.h +qt6/include/QtWebChannel/qtwebchannelversion.h +qt6/include/QtWebChannel/qwebchannel.h +qt6/include/QtWebChannel/qwebchannelabstracttransport.h +qt6/include/QtWebChannel/qwebchannelglobal.h +qt6/lib/cmake/Qt6BuildInternals/StandaloneTests/QtWebChannelTestsConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelConfigVersion.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelTargets-release.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelTargets.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelConfig.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelConfigVersion.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelDependencies.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelTargets-release.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelTargets.cmake +qt6/lib/cmake/Qt6WebChannel/Qt6WebChannelVersionlessTargets.cmake +qt6/lib/libQt6WebChannel.prl +qt6/lib/libQt6WebChannel.so +qt6/lib/libQt6WebChannel.so.6 +qt6/lib/libQt6WebChannel.so.${PKGVERSION} +qt6/lib/metatypes/qt6webchannel_release_metatypes.json +qt6/mkspecs/modules/qt_lib_webchannel.pri +qt6/mkspecs/modules/qt_lib_webchannel_private.pri +qt6/modules/WebChannel.json +qt6/qml/QtWebChannel/libwebchannelplugin.so +qt6/qml/QtWebChannel/plugins.qmltypes +qt6/qml/QtWebChannel/qmldir diff --git a/qt6-qtwebchannel/buildlink3.mk b/qt6-qtwebchannel/buildlink3.mk new file mode 100644 index 00000000000..524e41d877a --- /dev/null +++ b/qt6-qtwebchannel/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD$ + +BUILDLINK_TREE+= qt6-qtwebchannel + +.if !defined(QT6_QTWEBCHANNEL_BUILDLINK3_MK) +QT6_QTWEBCHANNEL_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qt6-qtwebchannel+= qt6-qtwebchannel>=6.2.0 +BUILDLINK_PKGSRCDIR.qt6-qtwebchannel?= ../../wip/qt6-qtwebchannel + +.include "../../wip/qt6-qtbase/buildlink3.mk" +.include "../../wip/qt6-qtdeclarative/buildlink3.mk" +.endif # QT6_QTWEBCHANNEL_BUILDLINK3_MK + +BUILDLINK_TREE+= -qt6-qtwebchannel diff --git a/qt6-qtwebchannel/distinfo b/qt6-qtwebchannel/distinfo new file mode 100644 index 00000000000..c8dc3c790a2 --- /dev/null +++ b/qt6-qtwebchannel/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (qtwebchannel-everywhere-src-6.2.0.tar.xz) = a004c83004ffdfc3a057ef9a5e12674c66cc0c8e +RMD160 (qtwebchannel-everywhere-src-6.2.0.tar.xz) = 2f494c999dd966056f9deb623310d56b74674e36 +SHA512 (qtwebchannel-everywhere-src-6.2.0.tar.xz) = 90d602ca9a66f578808eaf6eaed5a3001d852f90edfd8c400bbc246527ca3431e276e04960bb3fffe2deca70263594a24fad6f108378f54e550c9cbdaf83e563 +Size (qtwebchannel-everywhere-src-6.2.0.tar.xz) = 211176 bytes diff --git a/qt6-qtwebsockets/DESCR b/qt6-qtwebsockets/DESCR new file mode 100644 index 00000000000..8dff6f4e81c --- /dev/null +++ b/qt6-qtwebsockets/DESCR @@ -0,0 +1 @@ +Qt6 module providing communication using websockets(RFC 6455). diff --git a/qt6-qtwebsockets/Makefile b/qt6-qtwebsockets/Makefile new file mode 100644 index 00000000000..9c1101bb7cd --- /dev/null +++ b/qt6-qtwebsockets/Makefile @@ -0,0 +1,12 @@ +# $NetBSD$ + +DISTNAME= qtwebsockets-everywhere-src-${QTVERSION} +PKGNAME= qt6-websockets-${QTVERSION} +COMMENT= Qt6 module for websockets communication +CATEGORIES= net + +.include "../../wip/qt6-qtbase/Makefile.common" + +.include "../../wip/qt6-qtbase/buildlink3.mk" +.include "../../wip/qt6-qtdeclarative/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/qt6-qtwebsockets/PLIST b/qt6-qtwebsockets/PLIST new file mode 100644 index 00000000000..32b9037cd08 --- /dev/null +++ b/qt6-qtwebsockets/PLIST @@ -0,0 +1,50 @@ +@comment $NetBSD$ +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qdefaultmaskgenerator_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qsslserver_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocket_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocketcorsauthenticator_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocketdataprocessor_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocketframe_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsockethandshakerequest_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsockethandshakeresponse_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocketprotocol_p.h +qt6/include/QtWebSockets/${PKGVERSION}/QtWebSockets/private/qwebsocketserver_p.h +qt6/include/QtWebSockets/QMaskGenerator +qt6/include/QtWebSockets/QWebSocket +qt6/include/QtWebSockets/QWebSocketCorsAuthenticator +qt6/include/QtWebSockets/QWebSocketProtocol +qt6/include/QtWebSockets/QWebSocketServer +qt6/include/QtWebSockets/QtWebSockets +qt6/include/QtWebSockets/QtWebSocketsDepends +qt6/include/QtWebSockets/QtWebSocketsVersion +qt6/include/QtWebSockets/qmaskgenerator.h +qt6/include/QtWebSockets/qtwebsocketsversion.h +qt6/include/QtWebSockets/qwebsocket.h +qt6/include/QtWebSockets/qwebsocketcorsauthenticator.h +qt6/include/QtWebSockets/qwebsocketprotocol.h +qt6/include/QtWebSockets/qwebsockets_global.h +qt6/include/QtWebSockets/qwebsocketserver.h +qt6/lib/cmake/Qt6BuildInternals/StandaloneTests/QtWebSocketsTestsConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsConfigVersion.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsTargets-release.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6qmlwebsocketsTargets.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfigVersion.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsDependencies.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsTargets-release.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsTargets.cmake +qt6/lib/cmake/Qt6WebSockets/Qt6WebSocketsVersionlessTargets.cmake +qt6/lib/libQt6WebSockets.prl +qt6/lib/libQt6WebSockets.so +qt6/lib/libQt6WebSockets.so.6 +qt6/lib/libQt6WebSockets.so.${PKGVERSION} +qt6/lib/metatypes/qt6websockets_release_metatypes.json +qt6/mkspecs/modules/qt_lib_websockets.pri +qt6/mkspecs/modules/qt_lib_websockets_private.pri +qt6/modules/WebSockets.json +qt6/qml/QtWebSockets/libqmlwebsocketsplugin.so +qt6/qml/QtWebSockets/plugins.qmltypes +qt6/qml/QtWebSockets/qmldir diff --git a/qt6-qtwebsockets/buildlink3.mk b/qt6-qtwebsockets/buildlink3.mk new file mode 100644 index 00000000000..7a35a17517e --- /dev/null +++ b/qt6-qtwebsockets/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD$ + +BUILDLINK_TREE+= qt6-websockets + +.if !defined(QT6_WEBSOCKETS_BUILDLINK3_MK) +QT6_WEBSOCKETS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qt6-websockets+= qt6-websockets>=6.2.0 +BUILDLINK_PKGSRCDIR.qt6-websockets?= ../../wip/qt6-qtwebsockets + +.include "../../wip/qt6-qtbase/buildlink3.mk" +.endif # QT6_WEBSOCKETS_BUILDLINK3_MK + +BUILDLINK_TREE+= -qt6-websockets diff --git a/qt6-qtwebsockets/distinfo b/qt6-qtwebsockets/distinfo new file mode 100644 index 00000000000..3d4c9766a08 --- /dev/null +++ b/qt6-qtwebsockets/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (qtwebsockets-everywhere-src-6.2.0.tar.xz) = 533c25780c9632525f3512a2828c1392e7923096 +RMD160 (qtwebsockets-everywhere-src-6.2.0.tar.xz) = 6e4bc752199b006d2b2338be6cc9dc0f0261f207 +SHA512 (qtwebsockets-everywhere-src-6.2.0.tar.xz) = 2703aa02065a24c0a14a01974ec687326720bd01f4e23951bf374b305ae62bdb5d6907c132d06b102a367dcf1b666c10327ae9ba8a0f232900b6e28aac6e8ee9 +Size (qtwebsockets-everywhere-src-6.2.0.tar.xz) = 258156 bytes