aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-08-22 14:06:57 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-08-22 14:09:21 +0000
commit1fd3ee7dff7b39ae12451a8d40d05b9885fbe03c (patch)
tree433654e9e21b9045659d9eba1a2623de71ccdae6
parent5416464274f81ae8ab017a9a5c76d9cd1682ecb8 (diff)
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.
-rw-r--r--www/Makefile1
-rw-r--r--www/qt6-webchannel/Makefile14
-rw-r--r--www/qt6-webchannel/distinfo3
-rw-r--r--www/qt6-webchannel/pkg-descr13
-rw-r--r--www/qt6-webchannel/pkg-plist44
5 files changed, 75 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 54a90025592a..da7dd182dc7e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1796,6 +1796,7 @@
SUBDIR += qt5-websockets
SUBDIR += qt5-websockets-qml
SUBDIR += qt5-webview
+ SUBDIR += qt6-webchannel
SUBDIR += qt6-websockets
SUBDIR += quark
SUBDIR += qutebrowser
diff --git a/www/qt6-webchannel/Makefile b/www/qt6-webchannel/Makefile
new file mode 100644
index 000000000000..117818364e6e
--- /dev/null
+++ b/www/qt6-webchannel/Makefile
@@ -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>
diff --git a/www/qt6-webchannel/distinfo b/www/qt6-webchannel/distinfo
new file mode 100644
index 000000000000..995681cd0b2a
--- /dev/null
+++ b/www/qt6-webchannel/distinfo
@@ -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
diff --git a/www/qt6-webchannel/pkg-descr b/www/qt6-webchannel/pkg-descr
new file mode 100644
index 000000000000..ca6248a5adf5
--- /dev/null
+++ b/www/qt6-webchannel/pkg-descr
@@ -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
diff --git a/www/qt6-webchannel/pkg-plist b/www/qt6-webchannel/pkg-plist
new file mode 100644
index 000000000000..70160a6ce050
--- /dev/null
+++ b/www/qt6-webchannel/pkg-plist
@@ -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