www/qt6-webchannel: new port

This adds the missing Qt 6 webchannel 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.
This commit is contained in:
Tobias C. Berner 2022-08-22 16:06:57 +02:00
parent 5416464274
commit 1fd3ee7dff
5 changed files with 75 additions and 0 deletions

View file

@ -1796,6 +1796,7 @@
SUBDIR += qt5-websockets SUBDIR += qt5-websockets
SUBDIR += qt5-websockets-qml SUBDIR += qt5-websockets-qml
SUBDIR += qt5-webview SUBDIR += qt5-webview
SUBDIR += qt6-webchannel
SUBDIR += qt6-websockets SUBDIR += qt6-websockets
SUBDIR += quark SUBDIR += quark
SUBDIR += qutebrowser SUBDIR += qutebrowser

View file

@ -0,0 +1,14 @@
PORTNAME= webchannel
PORTVERSION= ${QT6_VERSION}
CATEGORIES= www
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 6 library for integration of C++/QML with HTML/js clients
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
USES= cmake compiler:c++11-lang pkgconfig qt-dist:6
USE_QT= base declarative websockets
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1661175986
SHA256 (KDE/Qt/6.3.1/qtwebchannel-everywhere-src-6.3.1.tar.xz) = aaa20ac23f86992721b7ee487c379a3fd68caa8cdcea0a77a37e0d8b47ff2668
SIZE (KDE/Qt/6.3.1/qtwebchannel-everywhere-src-6.3.1.tar.xz) = 213812

View file

@ -0,0 +1,13 @@
Qt WebChannel enables peer-to-peer communication between a server (QML/C++
application) and a client (HTML/JavaScript or QML application). It is supported
out of the box by Qt WebEngine. In addition, it can work on all browsers that
support WebSockets, enabling Qt WebChannel clients to run in any JavaScript
environment (including QML). This requires implementing a custom transport
based on Qt WebSockets.
The module provides a JavaScript library for seamless integration of C++ and
QML applications with HTML/JavaScript and QML clients. The clients must use the
JavaScript library to access the serialized QObjects published by the host
applications.
WWW: https://qt.io

View file

@ -0,0 +1,44 @@
%%QT_INCDIR%%/QtWebChannel/%%FULLVER%%/QtWebChannel/private/qmetaobjectpublisher_p.h
%%QT_INCDIR%%/QtWebChannel/%%FULLVER%%/QtWebChannel/private/qqmlwebchannelattached_p.h
%%QT_INCDIR%%/QtWebChannel/%%FULLVER%%/QtWebChannel/private/qwebchannel_p.h
%%QT_INCDIR%%/QtWebChannel/%%FULLVER%%/QtWebChannel/private/signalhandler_p.h
%%QT_INCDIR%%/QtWebChannel/%%FULLVER%%/QtWebChannel/private/variantargument_p.h
%%QT_INCDIR%%/QtWebChannel/QQmlWebChannel
%%QT_INCDIR%%/QtWebChannel/QWebChannel
%%QT_INCDIR%%/QtWebChannel/QWebChannelAbstractTransport
%%QT_INCDIR%%/QtWebChannel/QtWebChannel
%%QT_INCDIR%%/QtWebChannel/QtWebChannelDepends
%%QT_INCDIR%%/QtWebChannel/QtWebChannelVersion
%%QT_INCDIR%%/QtWebChannel/qqmlwebchannel.h
%%QT_INCDIR%%/QtWebChannel/qtwebchannelexports.h
%%QT_INCDIR%%/QtWebChannel/qtwebchannelversion.h
%%QT_INCDIR%%/QtWebChannel/qwebchannel.h
%%QT_INCDIR%%/QtWebChannel/qwebchannelabstracttransport.h
%%QT_INCDIR%%/QtWebChannel/qwebchannelglobal.h
lib/cmake/Qt6BuildInternals/StandaloneTests/QtWebChannelTestsConfig.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelAdditionalTargetInfo.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelConfig.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelConfigVersion.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelConfigVersionImpl.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6Qml/QmlPlugins/Qt6webchannelTargets.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelAdditionalTargetInfo.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelConfig.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelConfigVersion.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelConfigVersionImpl.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelDependencies.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelTargets.cmake
lib/cmake/Qt6WebChannel/Qt6WebChannelVersionlessTargets.cmake
%%QT_LIBDIR%%/libQt6WebChannel.prl
%%QT_LIBDIR%%/libQt6WebChannel.so
%%QT_LIBDIR%%/libQt6WebChannel.so.6
%%QT_LIBDIR%%/libQt6WebChannel.so.%%FULLVER%%
%%QT_LIBDIR%%/metatypes/qt6webchannel_%%CMAKE_BUILD_TYPE%%_metatypes.json
%%QT_MKSPECDIR%%/modules/qt_lib_webchannel.pri
%%QT_MKSPECDIR%%/modules/qt_lib_webchannel_private.pri
%%QT_QMLDIR%%/QtWebChannel/libwebchannelplugin.so
%%QT_QMLDIR%%/QtWebChannel/plugins.qmltypes
%%QT_QMLDIR%%/QtWebChannel/qmldir
libdata/pkgconfig/Qt6WebChannel.pc
%%QT_DATADIR%%/modules/WebChannel.json