Skip to content

Commit

Permalink
Add qt6-qtwebchannel and qt6-qtwebsockets to pkgsrc-wip
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Niclas Rosenvik authored and Niclas Rosenvik committed Oct 3, 2021
1 parent c941797 commit 2b29986
Show file tree
Hide file tree
Showing 12 changed files with 164 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions qt6-qtbase/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions qt6-qtwebchannel/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Qt6 module that provides a mechanism to transperently access QObject
or QML objects from HTML clients.
13 changes: 13 additions & 0 deletions qt6-qtwebchannel/Makefile
Original file line number Diff line number Diff line change
@@ -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"
41 changes: 41 additions & 0 deletions qt6-qtwebchannel/PLIST
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions qt6-qtwebchannel/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions qt6-qtwebchannel/distinfo
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions qt6-qtwebsockets/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Qt6 module providing communication using websockets(RFC 6455).
12 changes: 12 additions & 0 deletions qt6-qtwebsockets/Makefile
Original file line number Diff line number Diff line change
@@ -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"
50 changes: 50 additions & 0 deletions qt6-qtwebsockets/PLIST
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions qt6-qtwebsockets/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions qt6-qtwebsockets/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b29986

Please sign in to comment.