package/qt6/qt6serialbus: new package
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
74686296a4
commit
e447f56408
@ -44,6 +44,7 @@ menuconfig BR2_PACKAGE_QT6
|
||||
if BR2_PACKAGE_QT6
|
||||
|
||||
source "package/qt6/qt6base/Config.in"
|
||||
source "package/qt6/qt6serialbus/Config.in"
|
||||
source "package/qt6/qt6serialport/Config.in"
|
||||
|
||||
endif
|
||||
|
15
package/qt6/qt6serialbus/Config.in
Normal file
15
package/qt6/qt6serialbus/Config.in
Normal file
@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_QT6SERIALBUS
|
||||
bool "qt6serialbus"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD
|
||||
select BR2_PACKAGE_QT6SERIALPORT
|
||||
select BR2_PACKAGE_QT6BASE_NETWORK
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
This package corresponds to the qt6serialbus module.
|
||||
|
||||
https://doc.qt.io/qt-6/qtserialbus-index.html
|
||||
|
||||
comment "qt6serialbus needs headers >= 3.6"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
|
11
package/qt6/qt6serialbus/qt6serialbus.hash
Normal file
11
package/qt6/qt6serialbus/qt6serialbus.hash
Normal file
@ -0,0 +1,11 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/6.4/6.4.2/submodules/qtserialbus-everywhere-src-6.4.2.tar.xz.sha256
|
||||
sha256 604013657c7327899aa50748deb4bcb5e545ab37ff4964795b9e6f617d48bf1b qtserialbus-everywhere-src-6.4.2.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 9f0490f18656c6f2435bd14f603ef0c96434d1825615363dce43abb42ed1dcce LICENSES/BSD-3-Clause.txt
|
||||
sha256 110535522396708cea37c72a802c5e7e81391139f5f7985631c93ef242b206a4 LICENSES/GFDL-1.3-no-invariants-only.txt
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSES/GPL-3.0-only.txt
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSES/LGPL-3.0-only.txt
|
||||
sha256 9b1f50aae6267f9d5e0ceb6775ee86450262c25ec7c0573e151fe5d3f18a4700 LICENSES/LicenseRef-Qt-Commercial.txt
|
||||
sha256 40678d338ce53cd93f8b22b281a2ecbcaa3ee65ce60b25ffb0c462b0530846b2 LICENSES/Qt-GPL-exception-1.0.txt
|
45
package/qt6/qt6serialbus/qt6serialbus.mk
Normal file
45
package/qt6/qt6serialbus/qt6serialbus.mk
Normal file
@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt6serialbus
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT6SERIALBUS_VERSION = $(QT6_VERSION)
|
||||
QT6SERIALBUS_SITE = $(QT6_SITE)
|
||||
QT6SERIALBUS_SOURCE = qtserialbus-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SERIALBUS_VERSION).tar.xz
|
||||
QT6SERIALBUS_INSTALL_STAGING = YES
|
||||
QT6SERIALBUS_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
QT6SERIALBUS_LICENSE = \
|
||||
GPL-2.0+ or LGPL-3.0, \
|
||||
GPL-3.0, GFDL-1.3 no invariants (docs)
|
||||
|
||||
QT6SERIALBUS_LICENSE_FILES = \
|
||||
LICENSES/GPL-2.0-only.txt \
|
||||
LICENSES/GPL-3.0-only.txt \
|
||||
LICENSES/LGPL-3.0-only.txt \
|
||||
LICENSES/GFDL-1.3-no-invariants-only.txt
|
||||
|
||||
QT6SERIALBUS_CONF_OPTS = \
|
||||
-GNinja \
|
||||
-DQT_HOST_PATH=$(HOST_DIR) \
|
||||
-DBUILD_WITH_PCH=OFF \
|
||||
-DQT_BUILD_EXAMPLES=OFF \
|
||||
-DQT_BUILD_TESTS=OFF
|
||||
|
||||
QT6SERIALBUS_DEPENDENCIES = \
|
||||
qt6serialport
|
||||
|
||||
define QT6SERIALBUS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6SERIALBUS_BUILDDIR)
|
||||
endef
|
||||
|
||||
define QT6SERIALBUS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) DESTDIR=$(STAGING_DIR) $(BR2_CMAKE) --install $(QT6SERIALBUS_BUILDDIR)
|
||||
endef
|
||||
|
||||
define QT6SERIALBUS_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) DESTDIR=$(TARGET_DIR) $(BR2_CMAKE) --install $(QT6SERIALBUS_BUILDDIR)
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
Loading…
Reference in New Issue
Block a user