www/qt6-serialbus: new port

This adds the missing Qt 6 serialbus 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:42:52 +02:00
parent b270995212
commit 2637124dba
6 changed files with 128 additions and 1 deletions

View File

@ -151,7 +151,7 @@ _USE_QT5_ONLY= 3d buildtools charts concurrent connectivity \
sql-sqlite3 svg testlib webkit xml xmlpatterns
_USE_QT6_ONLY= 3d 5compat base declarative doc imageformats quick3d \
quickcontrols2 quicktimeline networkauth serialport shadertools \
quickcontrols2 quicktimeline networkauth serialbus serialport shadertools \
svg tools translations wayland webchannel websockets
# Dependency tuples: _LIB should be preferred if possible.

View File

@ -148,6 +148,7 @@
SUBDIR += qt5-sensors
SUBDIR += qt5-serialbus
SUBDIR += qt5-serialport
SUBDIR += qt6-serialbus
SUBDIR += qt6-serialport
SUBDIR += qtel
SUBDIR += redsea

View File

@ -0,0 +1,14 @@
PORTNAME= serialbus
PORTVERSION= ${QT6_VERSION}
CATEGORIES= comms
PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt functions to access industrial bus systems
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
USES= cmake compiler:c++11-lib qt-dist:6
USE_QT= base serialport
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1661178955
SHA256 (KDE/Qt/6.3.1/qtserialbus-everywhere-src-6.3.1.tar.xz) = 00953f7704ba5b085abd241afc911fbfa981a8e1693bf0566f2d3a63f2d878d2
SIZE (KDE/Qt/6.3.1/qtserialbus-everywhere-src-6.3.1.tar.xz) = 381812

View File

@ -0,0 +1,4 @@
The Qt Serial Bus API provides classes and functions to access the various
industrial serial buses and protocols, such as CAN, ModBus, and others.
WWW: https://qt.io

View File

@ -0,0 +1,105 @@
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qcanbusdevice_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qcanbusdeviceinfo_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbus_symbols_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusadu_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusclient_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbuscommevent_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusdevice_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusrtuserialclient_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusrtuserialserver_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbusserver_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbustcpclient_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qmodbustcpserver_p.h
%%QT_INCDIR%%/QtSerialBus/%%FULLVER%%/QtSerialBus/private/qtserialbus-config_p.h
%%QT_INCDIR%%/QtSerialBus/QCanBus
%%QT_INCDIR%%/QtSerialBus/QCanBusDevice
%%QT_INCDIR%%/QtSerialBus/QCanBusDeviceInfo
%%QT_INCDIR%%/QtSerialBus/QCanBusFactory
%%QT_INCDIR%%/QtSerialBus/QCanBusFrame
%%QT_INCDIR%%/QtSerialBus/QModbusClient
%%QT_INCDIR%%/QtSerialBus/QModbusDataUnit
%%QT_INCDIR%%/QtSerialBus/QModbusDataUnitMap
%%QT_INCDIR%%/QtSerialBus/QModbusDevice
%%QT_INCDIR%%/QtSerialBus/QModbusDeviceIdentification
%%QT_INCDIR%%/QtSerialBus/QModbusExceptionResponse
%%QT_INCDIR%%/QtSerialBus/QModbusPdu
%%QT_INCDIR%%/QtSerialBus/QModbusReply
%%QT_INCDIR%%/QtSerialBus/QModbusRequest
%%QT_INCDIR%%/QtSerialBus/QModbusResponse
%%QT_INCDIR%%/QtSerialBus/QModbusRtuSerialClient
%%QT_INCDIR%%/QtSerialBus/QModbusRtuSerialServer
%%QT_INCDIR%%/QtSerialBus/QModbusServer
%%QT_INCDIR%%/QtSerialBus/QModbusTcpClient
%%QT_INCDIR%%/QtSerialBus/QModbusTcpConnectionObserver
%%QT_INCDIR%%/QtSerialBus/QModbusTcpServer
%%QT_INCDIR%%/QtSerialBus/QtSerialBus
%%QT_INCDIR%%/QtSerialBus/QtSerialBusDepends
%%QT_INCDIR%%/QtSerialBus/QtSerialBusVersion
%%QT_INCDIR%%/QtSerialBus/qcanbus.h
%%QT_INCDIR%%/QtSerialBus/qcanbusdevice.h
%%QT_INCDIR%%/QtSerialBus/qcanbusdeviceinfo.h
%%QT_INCDIR%%/QtSerialBus/qcanbusfactory.h
%%QT_INCDIR%%/QtSerialBus/qcanbusframe.h
%%QT_INCDIR%%/QtSerialBus/qmodbusclient.h
%%QT_INCDIR%%/QtSerialBus/qmodbusdataunit.h
%%QT_INCDIR%%/QtSerialBus/qmodbusdevice.h
%%QT_INCDIR%%/QtSerialBus/qmodbusdeviceidentification.h
%%QT_INCDIR%%/QtSerialBus/qmodbuspdu.h
%%QT_INCDIR%%/QtSerialBus/qmodbusreply.h
%%QT_INCDIR%%/QtSerialBus/qmodbusrtuserialclient.h
%%QT_INCDIR%%/QtSerialBus/qmodbusrtuserialserver.h
%%QT_INCDIR%%/QtSerialBus/qmodbusserver.h
%%QT_INCDIR%%/QtSerialBus/qmodbustcpclient.h
%%QT_INCDIR%%/QtSerialBus/qmodbustcpserver.h
%%QT_INCDIR%%/QtSerialBus/qserialbusglobal.h
%%QT_INCDIR%%/QtSerialBus/qtserialbus-config.h
%%QT_INCDIR%%/QtSerialBus/qtserialbusexports.h
%%QT_INCDIR%%/QtSerialBus/qtserialbusglobal.h
%%QT_INCDIR%%/QtSerialBus/qtserialbusversion.h
lib/cmake/Qt6BuildInternals/StandaloneTests/QtSerialBusTestsConfig.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginAdditionalTargetInfo.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginConfig.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginConfigVersion.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginConfigVersionImpl.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6SerialBus/Qt6PassThruCanBusPluginTargets.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginAdditionalTargetInfo.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginConfig.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginConfigVersion.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginConfigVersionImpl.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6SerialBus/Qt6PeakCanBusPluginTargets.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusAdditionalTargetInfo.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusConfig.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusConfigVersion.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusConfigVersionImpl.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusDependencies.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusTargets.cmake
lib/cmake/Qt6SerialBus/Qt6SerialBusVersionlessTargets.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginAdditionalTargetInfo.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginConfig.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginConfigVersion.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginConfigVersionImpl.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6SerialBus/Qt6TinyCanBusPluginTargets.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginAdditionalTargetInfo.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginConfig.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginConfigVersion.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginConfigVersionImpl.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Qt6SerialBus/Qt6VirtualCanBusPluginTargets.cmake
%%QT_BINDIR%%/canbusutil
%%QT_LIBDIR%%/libQt6SerialBus.prl
%%QT_LIBDIR%%/libQt6SerialBus.so
%%QT_LIBDIR%%/libQt6SerialBus.so.6
%%QT_LIBDIR%%/libQt6SerialBus.so.%%FULLVER%%
%%QT_LIBDIR%%/metatypes/qt6serialbus_%%CMAKE_BUILD_TYPE%%_metatypes.json
%%QT_MKSPECDIR%%/modules/qt_lib_serialbus.pri
%%QT_MKSPECDIR%%/modules/qt_lib_serialbus_private.pri
%%QT_PLUGINDIR%%/canbus/libqtpassthrucanbus.so
%%QT_PLUGINDIR%%/canbus/libqtpeakcanbus.so
%%QT_PLUGINDIR%%/canbus/libqttinycanbus.so
%%QT_PLUGINDIR%%/canbus/libqtvirtualcanbus.so
libdata/pkgconfig/Qt6SerialBus.pc
%%QT_DATADIR%%/modules/SerialBus.json