Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
116
sources/meta-qt6/recipes-qt/qt6/chromium-gn.inc
Normal file
116
sources/meta-qt6/recipes-qt/qt6/chromium-gn.inc
Normal file
@@ -0,0 +1,116 @@
|
||||
require gn-utils.inc
|
||||
|
||||
inherit linuxloader
|
||||
inherit qemu
|
||||
|
||||
COMPATIBLE_MACHINE = "(-)"
|
||||
COMPATIBLE_MACHINE:aarch64 = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv6 = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv7a = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv7ve = "(.*)"
|
||||
COMPATIBLE_MACHINE:x86-64 = "(.*)"
|
||||
|
||||
# By default, passing is_official_build=true to GN causes its symbol_level
|
||||
# variable to be set to "2". This means the compiler will be passed "-g2" and
|
||||
# we will end up with a very large chrome binary (around 5Gb as of M58)
|
||||
# regardless of whether DEBUG_BUILD has been set or not. In addition, binutils,
|
||||
# file and other utilities are unable to read a 32-bit binary this size, which
|
||||
# causes it not to be stripped.
|
||||
# The solution is two-fold:
|
||||
# 1. Make sure -g is not passed on 32-bit architectures via DEBUG_FLAGS. -g is
|
||||
# the same as -g2. -g1 generates an 800MB binary, which is a lot more
|
||||
# manageable.
|
||||
# 2. Explicitly pass symbol_level=0 to GN. This causes -g0 to be passed
|
||||
# instead, so that if DEBUG_BUILD is not set GN will not create a huge debug
|
||||
# binary anyway. Since our compiler flags are passed after GN's, -g0 does
|
||||
# not cause any issues if DEBUG_BUILD is set, as -g1 will be passed later.
|
||||
DEBUG_FLAGS:remove:arm = "-g"
|
||||
DEBUG_FLAGS:append:arm = "-g1"
|
||||
DEBUG_FLAGS:remove:x86 = "-g"
|
||||
DEBUG_FLAGS:append:x86 = "-g1"
|
||||
|
||||
# As of Chromium 62.0.3202.94 and Yocto Rocko (GCC 7, binutils 2.29), passing
|
||||
# -g to the compiler results in many linker errors on aarch64, such as:
|
||||
# obj/third_party/WebKit/Source/modules/payments/libpayments.a(PaymentEventDataConversion.o)(.debug_loc+0x4e25): error: relocation overflow in R_AARCH64_ABS32
|
||||
DEBUG_FLAGS:remove:aarch64 = "-g"
|
||||
DEBUG_FLAGS:append:aarch64 = "-g1"
|
||||
|
||||
# As of Chromium 60.0.3112.101 and Yocto Pyro (GCC 6, binutils 2.28), passing
|
||||
# -g to the compiler results in many linker errors on x86_64, such as:
|
||||
# obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)(.debug_loc+0x1e9a5): error: relocation overflow: reference to local symbol 82 in obj/third_party/WebKit/Source/core/loader/libloader.a(ModuleTreeLinker.o)
|
||||
# obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)(.debug_loc+0x253c): error: relocation overflow: reference to local symbol 31 in obj/third_party/WebKit/Source/core/libcore_generated.a(ScriptModule.o)
|
||||
# so we have to use the same hack described above.
|
||||
DEBUG_FLAGS:remove:x86-64 = "-g"
|
||||
DEBUG_FLAGS:append:x86-64 = "-g1"
|
||||
|
||||
# The default debug level flag has moved from DEBUG_FLAGS to a new
|
||||
# variable starting with Yocto 'styhead' (5.1) release
|
||||
DEBUG_LEVELFLAG = "-g1"
|
||||
|
||||
# V8's JIT infrastructure requires binaries such as mksnapshot and
|
||||
# mkpeephole to be run in the host during the build. However, these
|
||||
# binaries must have the same bit-width as the target (e.g. a x86_64
|
||||
# host targeting ARMv6 needs to produce a 32-bit binary). Instead of
|
||||
# depending on a third Yocto toolchain, we just build those binaries
|
||||
# for the target and run them on the host with QEMU.
|
||||
python do_create_v8_qemu_wrapper () {
|
||||
"""Creates a small wrapper that invokes QEMU to run some target V8 binaries
|
||||
on the host."""
|
||||
qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'),
|
||||
d.expand('${STAGING_DIR_HOST}${base_libdir}')]
|
||||
qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST', True),
|
||||
qemu_libdirs)
|
||||
wrapper_path = d.expand('${B}')
|
||||
bb.utils.mkdirhier(wrapper_path)
|
||||
wrapper_path = os.path.join(wrapper_path, "v8-qemu-wrapper.sh")
|
||||
with open(wrapper_path, 'w') as wrapper_file:
|
||||
wrapper_file.write("""#!/bin/sh
|
||||
|
||||
# This file has been generated automatically.
|
||||
# It invokes QEMU to run binaries built for the target in the host during the
|
||||
# build process.
|
||||
|
||||
%s "$@"
|
||||
""" % qemu_cmd)
|
||||
os.chmod(wrapper_path, 0o755)
|
||||
}
|
||||
|
||||
# Some x86-64 target, such as intel-skylake-64, use AVX instructions that are
|
||||
# not supported by QEMU (https://gitlab.com/qemu-project/qemu/-/issues/164).
|
||||
# This causes the build tools to crash with QEMU when they are ran during
|
||||
# to build. Instead of using QEMU, change the wrapper to try to run the
|
||||
# tools directly, using the target dynloader.
|
||||
python do_create_v8_qemu_wrapper:x86-64 () {
|
||||
wrapper_path = d.expand('${B}')
|
||||
bb.utils.mkdirhier(wrapper_path)
|
||||
wrapper_path = os.path.join(wrapper_path, "v8-qemu-wrapper.sh")
|
||||
with open(wrapper_path, 'w') as wrapper_file:
|
||||
wrapper_file.write("""#!/bin/sh
|
||||
|
||||
# This file has been generated automatically.
|
||||
# It invokes target dynloader to run binaries built for the x86-64 target in the host during the
|
||||
# build process.
|
||||
|
||||
LD_LIBRARY_PATH=%s:%s %s%s "$@"
|
||||
""" % (d.expand('${STAGING_DIR_HOST}${libdir}'), d.expand('${STAGING_DIR_HOST}${base_libdir}'),
|
||||
d.expand('${STAGING_DIR_HOST}'), d.expand(get_linuxloader(d))))
|
||||
os.chmod(wrapper_path, 0o755)
|
||||
}
|
||||
do_create_v8_qemu_wrapper[dirs] = "${B}"
|
||||
addtask create_v8_qemu_wrapper after do_configure before do_compile
|
||||
|
||||
python do_write_toolchain_file () {
|
||||
"""Writes a BUILD.gn file for Yocto detailing its toolchains."""
|
||||
toolchain_dir = d.expand("${S}/src/3rdparty/chromium/build/toolchain/yocto")
|
||||
bb.utils.mkdirhier(toolchain_dir)
|
||||
toolchain_file = os.path.join(toolchain_dir, "BUILD.gn")
|
||||
write_toolchain_file(d, toolchain_file)
|
||||
}
|
||||
addtask write_toolchain_file after do_patch before do_configure
|
||||
|
||||
do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
|
||||
|
||||
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
|
||||
|
||||
# There is no need to ship empty -dev packages.
|
||||
ALLOW_EMPTY:${PN}-dev = "0"
|
||||
12
sources/meta-qt6/recipes-qt/qt6/gn-native_git.bb
Normal file
12
sources/meta-qt6/recipes-qt/qt6/gn-native_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require recipes-qt/qt6/qtwebengine.inc
|
||||
|
||||
inherit native
|
||||
|
||||
OECMAKE_SOURCEPATH = "${S}/src/gn"
|
||||
OECMAKE_TARGET_COMPILE = "gn"
|
||||
|
||||
cmake_do_install() {
|
||||
eval DESTDIR='${D}' ${CMAKE_VERBOSE} cmake --install '${B}'
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} += "already-stripped"
|
||||
118
sources/meta-qt6/recipes-qt/qt6/gn-utils.inc
Normal file
118
sources/meta-qt6/recipes-qt/qt6/gn-utils.inc
Normal file
@@ -0,0 +1,118 @@
|
||||
# GN host architecture helpers.
|
||||
#
|
||||
# BUILD_ARCH's value corresponds to what uname returns as the machine name.
|
||||
# The mapping in gn_host_arch_name() tries to match several possible values
|
||||
# returned by the Linux kernel in uname(2) into the corresponding values GN
|
||||
# understands.
|
||||
def gn_host_arch_name(d):
|
||||
"""Returns a GN architecture name corresponding to the build host's machine
|
||||
architecture."""
|
||||
import re
|
||||
arch_translations = {
|
||||
r'aarch64.*': 'arm64',
|
||||
r'arm.*': 'arm',
|
||||
r'i[3456]86$': 'x86',
|
||||
r'x86_64$': 'x64',
|
||||
}
|
||||
build_arch = d.getVar("BUILD_ARCH")
|
||||
for arch_regexp, gn_arch_name in arch_translations.items():
|
||||
if re.match(arch_regexp, build_arch):
|
||||
return gn_arch_name
|
||||
bb.fatal('Unsuported BUILD_ARCH value: "%s"' % build_arch)
|
||||
|
||||
# GN target architecture helpers.
|
||||
#
|
||||
# Determining the target architecture is more difficult, as there are many
|
||||
# different values we can use on the Yocto side (e.g. TUNE_ARCH, TARGET_ARCH,
|
||||
# MACHINEOVERRIDES etc). What we do is define the mapping with regular,
|
||||
# non-Python variables with overrides that are generic enough (i.e. "x86"
|
||||
# instead of "i586") and then use gn_target_arch_name() to return the right
|
||||
# value with some validation.
|
||||
GN_TARGET_ARCH_NAME:aarch64 = "arm64"
|
||||
GN_TARGET_ARCH_NAME:arm = "arm"
|
||||
GN_TARGET_ARCH_NAME:x86 = "x86"
|
||||
GN_TARGET_ARCH_NAME:x86-64 = "x64"
|
||||
|
||||
def clang_install_path(d):
|
||||
"""Return clang compiler install path."""
|
||||
return d.getVar("STAGING_BINDIR_NATIVE")
|
||||
|
||||
def gn_target_arch_name(d):
|
||||
"""Returns a GN architecture name corresponding to the target machine's
|
||||
architecture."""
|
||||
name = d.getVar("GN_TARGET_ARCH_NAME")
|
||||
if name is None:
|
||||
bb.fatal('Unsupported target architecture. A valid override for the '
|
||||
'GN_TARGET_ARCH_NAME variable could not be found.')
|
||||
return name
|
||||
|
||||
def gn_host_pkg_config(d):
|
||||
"""Return absolute paths to pkg-config-native."""
|
||||
return d.getVar("STAGING_BINDIR_NATIVE") + "/" + "pkg-config-native"
|
||||
|
||||
def write_toolchain_file(d, file_path):
|
||||
"""Creates a complete GN toolchain file in |file_path|."""
|
||||
import string
|
||||
# Even though we always use clang, the "clang_toolchain" GN template is too
|
||||
# restrictive in the way it sets variables such as |cxx|. Since it is just
|
||||
# a wrapper on top of the "gcc_toolchain" template, we keep using the
|
||||
# latter directly to accommodate our cross-compilation needs.
|
||||
toolchain_tmpl = string.Template(
|
||||
'gcc_toolchain("${toolchain_name}") {\n'
|
||||
' cc = "${cc}"\n'
|
||||
' cxx = "${cxx}"\n'
|
||||
' ar = "${ar}"\n'
|
||||
' ld = cxx # GN expects a compiler, not a linker.\n'
|
||||
' nm = "${nm}"\n'
|
||||
' readelf = "${readelf}"\n'
|
||||
' extra_cflags = "${extra_cflags}"\n'
|
||||
' extra_cppflags = "${extra_cppflags}"\n'
|
||||
' extra_cxxflags = "${extra_cxxflags}"\n'
|
||||
' extra_ldflags = "${extra_ldflags}"\n'
|
||||
' toolchain_args = {\n'
|
||||
' current_cpu = "${current_cpu}"\n'
|
||||
' current_os = "linux"\n'
|
||||
' is_clang = false\n'
|
||||
' host_pkg_config = "${host_pkg_config}"\n'
|
||||
' }\n'
|
||||
'}\n'
|
||||
)
|
||||
|
||||
native_toolchain = {
|
||||
'toolchain_name': 'yocto_native',
|
||||
'current_cpu': gn_host_arch_name(d),
|
||||
'host_pkg_config': gn_host_pkg_config(d),
|
||||
'cc': d.expand('${BUILD_CC}'),
|
||||
'cxx': d.expand('${BUILD_CXX}'),
|
||||
'ar': d.expand('${BUILD_AR}'),
|
||||
'nm': d.expand('${BUILD_NM}'),
|
||||
'readelf': d.expand('${BUILD_PREFIX}readelf'),
|
||||
'extra_cflags': d.expand('${BUILD_CFLAGS}'),
|
||||
'extra_cppflags': d.expand('${BUILD_CPPFLAGS}'),
|
||||
'extra_cxxflags': d.expand('${BUILD_CXXFLAGS}'),
|
||||
'extra_ldflags': d.expand('${BUILD_LDFLAGS}'),
|
||||
}
|
||||
target_toolchain = {
|
||||
'toolchain_name': 'yocto_target',
|
||||
'current_cpu': gn_target_arch_name(d),
|
||||
'host_pkg_config': gn_host_pkg_config(d),
|
||||
'cc': d.expand('${CC}'),
|
||||
'cxx': d.expand('${CXX}'),
|
||||
'ar': d.expand('${AR}'),
|
||||
'nm': d.expand('${NM}'),
|
||||
'readelf': d.expand('${TARGET_PREFIX}readelf'),
|
||||
'extra_cflags': d.expand('${TARGET_CFLAGS}'),
|
||||
'extra_cppflags': d.expand('${TARGET_CPPFLAGS}'),
|
||||
'extra_cxxflags': d.expand('${TARGET_CXXFLAGS}'),
|
||||
'extra_ldflags': d.expand('${TARGET_LDFLAGS}'),
|
||||
}
|
||||
|
||||
with open(file_path, 'w') as toolchain_file:
|
||||
toolchain_file.write(
|
||||
'# This file has been generated automatically.\n'
|
||||
'\n'
|
||||
'import("//build/toolchain/gcc_toolchain.gni")\n'
|
||||
'\n'
|
||||
)
|
||||
toolchain_file.write(toolchain_tmpl.substitute(native_toolchain))
|
||||
toolchain_file.write(toolchain_tmpl.substitute(target_toolchain))
|
||||
30
sources/meta-qt6/recipes-qt/qt6/ptest/run-ptest
Normal file
30
sources/meta-qt6/recipes-qt/qt6/ptest/run-ptest
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -s tst_list ]; then
|
||||
echo PASS: no tests
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$LANG" ]; then
|
||||
export LANG=C.UTF-8
|
||||
fi
|
||||
if [ -z "$QT_QPA_PLATFORM" ]; then
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
fi
|
||||
if [ $UID -ne 0 ]; then
|
||||
if [ ! -w ${HOME} ]; then
|
||||
echo "Home directory should be writable, run as root:"
|
||||
echo "usermod -d /home/${USER} ${USER} && mkhomedir_helper ${USER}"
|
||||
fi
|
||||
fi
|
||||
if [ $UID -eq 0 ]; then
|
||||
export QTWEBENGINE_DISABLE_SANDBOX=1
|
||||
fi
|
||||
|
||||
for test in $(cat tst_list); do
|
||||
(
|
||||
cd $(dirname ${test})
|
||||
t=$(basename ${test})
|
||||
./${t} && echo PASS: ${t} || echo FAIL: ${t}
|
||||
)
|
||||
done
|
||||
20
sources/meta-qt6/recipes-qt/qt6/qmlcompilerplus_git.bb
Normal file
20
sources/meta-qt6/recipes-qt/qt6/qmlcompilerplus_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
include recipes-qt/qt6/qt6-commercial.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qmlcompilerplus-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
38
sources/meta-qt6/recipes-qt/qt6/qt3d_git.bb
Normal file
38
sources/meta-qt6/recipes-qt/qt6/qt3d_git.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/assimp/LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
|
||||
file://src/3rdparty/imgui/LICENSE.imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
|
||||
file://src/3rdparty/imgui/LICENSE.proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
|
||||
file://src/3rdparty/imgui/LICENSE.txt;md5=875a54e93593c8b244ef6b78cacc336e \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
ASSIMP_BRANCH = "qt6_assimp"
|
||||
|
||||
SRC_URI += " \
|
||||
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
|
||||
"
|
||||
|
||||
# Needed for supporting 64bit off_t
|
||||
CFLAGS:append:libc-musl = " -DIOAPI_NO_64 -D_GNU_SOURCE"
|
||||
|
||||
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtshadertools qtshadertools-native"
|
||||
|
||||
PACKAGECONFIG[system-assimp] = "-DFEATURE_qt3d_system_assimp=ON,-DQT_FEATURE_qt3d_system_assimp=OFF,assimp"
|
||||
PACKAGECONFIG[qtgamepad] = ",,qtgamepad"
|
||||
|
||||
SRCREV_FORMAT = "qt3d_qt3d-assimp"
|
||||
27
sources/meta-qt6/recipes-qt/qt6/qt5compat_git.bb
Normal file
27
sources/meta-qt6/recipes-qt/qt6/qt5compat_git.bb
Normal file
@@ -0,0 +1,27 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/core5/codecs/LICENSE.QTSCIICODEC.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
ENABLE_QMLCOMPILER = "0"
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[iconv] = "-DFEATURE_iconv=ON,-DFEATURE_iconv=OFF,virtual/libiconv"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
8
sources/meta-qt6/recipes-qt/qt6/qt6-commercial.inc
Normal file
8
sources/meta-qt6/recipes-qt/qt6/qt6-commercial.inc
Normal file
@@ -0,0 +1,8 @@
|
||||
python() {
|
||||
if d.getVar('QT_EDITION') != 'commercial':
|
||||
raise bb.parse.SkipRecipe('Available only with Commercial Qt')
|
||||
}
|
||||
|
||||
QT_GIT = "${QT_COMMERCIAL_GIT}"
|
||||
QT_GIT_PROTOCOL = "${QT_COMMERCIAL_GIT_PROTOCOL}"
|
||||
QT_MODULE = "tqtc-${BPN}"
|
||||
73
sources/meta-qt6/recipes-qt/qt6/qt6-git.inc
Normal file
73
sources/meta-qt6/recipes-qt/qt6/qt6-git.inc
Normal file
@@ -0,0 +1,73 @@
|
||||
DESCRIPTION ?= "Qt is a cross-platform application development framework for desktop, embedded and mobile."
|
||||
HOMEPAGE ?= "https://www.qt.io"
|
||||
|
||||
inherit srcrev-update
|
||||
|
||||
QT_MODULE ?= "${BPN}"
|
||||
QT_MODULE_BRANCH ?= "6.8"
|
||||
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
|
||||
QT_MODULE_REPO ?= "${QT_MODULE}.git"
|
||||
|
||||
SRC_URI = "${QT_GIT}/${QT_GIT_PROJECT}/${QT_MODULE_REPO};name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL}"
|
||||
|
||||
CVE_PRODUCT ?= "qt:${BPN} qt:qt"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "${QT_VERSION}"
|
||||
|
||||
SRCREV = "${SRCREV_${QT_MODULE}}"
|
||||
|
||||
SRCREV_tqtc-qmlcompilerplus = "f932f235a113027388b1532cab0351ed472fd3eb"
|
||||
SRCREV_tqtc-qtinsighttracker = "fe931a9fd61b7cb23cf316d41b4efb1683da75f5"
|
||||
SRCREV_tqtc-qtvncserver = "f964c66f686ede85c8edb312e8fffdda2dfacfc5"
|
||||
SRCREV_pyside-setup = "6809dbcb890700dfa7506f5c2f2aebe057b5ec4c"
|
||||
SRCREV_qt3d = "8305762c180fb6debe28337863229a163ca7393e"
|
||||
SRCREV_qt3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
|
||||
SRCREV_qt5compat = "10054f8ac0fe61aad4a6c45b22bd08247ca286d9"
|
||||
SRCREV_qtbase = "04ec5f144a6167ce5d29cf72da3e2de92205b4db"
|
||||
SRCREV_qtapplicationmanager = "6143f914f321521dacb22e3182dd1e4b0246e8dd"
|
||||
SRCREV_qtcharts = "110f613f14c36ccb80c51fb5dcd450880d7f0a44"
|
||||
SRCREV_qtcoap = "6cc7197b70f29210656428eb69dc20e14ca5f447"
|
||||
SRCREV_qtconnectivity = "15d58933c6a1ccd954d1fa123cbb8edd1a589fa3"
|
||||
SRCREV_qtdatavis3d = "e00c02f5409fa73f6643c0c2115942785473a867"
|
||||
SRCREV_qtdeclarative = "32452675dc7661de32013969f9d2eb613da70096"
|
||||
SRCREV_qtdeviceutilities = "ef244aca03aac6704fd628211ccb387c06cbdc39"
|
||||
SRCREV_qtdoc = "59bcdbfa8c050a2e242a9f2fd0805b200cb73178"
|
||||
SRCREV_qtgraphs = "94f28609c9538e1d9f0f5d9707d0c4b69e73c73b"
|
||||
SRCREV_qtgrpc = "b9a32e0aec0e5816d911e4987a720e2fc054da36"
|
||||
SRCREV_qthttpserver = "29929d7bc4dbffdb10ba7f23d4699447f5b03457"
|
||||
SRCREV_qtimageformats = "c9dcdde82d0f3d83a86dd50ecdafdb08264030f0"
|
||||
SRCREV_qtinterfaceframework = "1ff177517ece6f7959e7d26c1257bf0fd1ae609f"
|
||||
SRCREV_qtlanguageserver = "bea5899d2840dec38c1c7b917553618c20a7b546"
|
||||
SRCREV_qtlocation = "e33bd271179b3d8aa365e3c7799f010cfc8a410d"
|
||||
SRCREV_qtlottie = "92a0884da0a3604b12bc9afa1b0ce838a0390f75"
|
||||
SRCREV_qtmqtt = "d48bd749f1fa6a6dae6885346f30595c1885d213"
|
||||
SRCREV_qtmultimedia = "88d40064a827e23eaec060145bb644a902ffb073"
|
||||
SRCREV_qtnetworkauth = "d029c89b9daa2f6e0ee4eaca9103cf7eab92976b"
|
||||
SRCREV_qtopcua = "f364b47fdcdcb9947a5ffd9bd1b5b0c6d1c28e4b"
|
||||
SRCREV_qtpositioning = "73e77ed97a9384eb73140b83a364d3866358e364"
|
||||
SRCREV_qtquick3d = "68474a13909091f74cde8bcdcc69afb9d00a1355"
|
||||
SRCREV_qtquick3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
|
||||
SRCREV_qtquick3dphysics = "699dffd6b215becf23d6391eff1000b342fad7a7"
|
||||
SRCREV_qtquickdesigner-components = "3de639bdc5a45fd93f9776a1e5777a9726b1afca"
|
||||
SRCREV_qtquicktimeline = "5f121ca967dab80f1fe5360a9685eaec74d19762"
|
||||
SRCREV_qtremoteobjects = "589cfeb1285adf6937bbf1b4fd7126b05dd09244"
|
||||
SRCREV_qtscxml = "5ff53a3173db81c8d52e49b193ff57b4e5d3426a"
|
||||
SRCREV_qtsensors = "b3c6fa3e74c992d1700b055b35e6192d13b129a0"
|
||||
SRCREV_qtserialbus = "ed35bc6b721d77db6e54711408d61645fc4c3460"
|
||||
SRCREV_qtserialport = "4497ff4b586b42dfd1c3c17240517d6e0cd44e39"
|
||||
SRCREV_qtshadertools = "b32574d0307e296a2604a83c4deae6ccb2ba1fa7"
|
||||
SRCREV_qtspeech = "f667f8da63fcf782e696da16b6b85ad3fbf4539b"
|
||||
SRCREV_qtsvg = "e0e12caf5353ddb9ff43a99913dcf36942648031"
|
||||
SRCREV_qttools = "31ec5e9c0f3388756d06aa8ffd1c59c5f097dbaa"
|
||||
SRCREV_qttools-qlitehtml = "2992a310640697325791a5494ca8f4d4552de368"
|
||||
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
|
||||
SRCREV_qttranslations = "353b10b36c4a26775b204f24b23b47b9dcc00ce4"
|
||||
SRCREV_qtvirtualkeyboard = "f9047a6d586634ac4fcd2fc35f539f0c367683ed"
|
||||
SRCREV_qtwayland = "3666e24b63916d8af2d71243dcd821860e4f7d19"
|
||||
SRCREV_qtwebchannel = "5d51387a00af8cb76ca7e879583f398faef1f602"
|
||||
SRCREV_qtwebengine = "2a3d355db0516e428594632ec94c46cd10d08332"
|
||||
SRCREV_qtwebengine-chromium = "55749ed0af5869215b88007df0cba430746583ae"
|
||||
SRCREV_qtwebsockets = "8828435e45582b002b324876125e626c52794448"
|
||||
SRCREV_qtwebview = "3d044bf320701781cc95fa36c2a0bd9bd93d518f"
|
||||
5
sources/meta-qt6/recipes-qt/qt6/qt6-lts.inc
Normal file
5
sources/meta-qt6/recipes-qt/qt6/qt6-lts.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
QT_GIT = "${QT_COMMERCIAL_GIT}"
|
||||
QT_GIT_PROTOCOL = "${QT_COMMERCIAL_GIT_PROTOCOL}"
|
||||
QT_MODULE_REPO = "tqtc-${QT_MODULE}.git"
|
||||
QT_MODULE_BRANCH := "tqtc/lts-${QT_MODULE_BRANCH}"
|
||||
|
||||
99
sources/meta-qt6/recipes-qt/qt6/qt6-ptest.inc
Normal file
99
sources/meta-qt6/recipes-qt/qt6/qt6-ptest.inc
Normal file
@@ -0,0 +1,99 @@
|
||||
FILESEXTRAPATHS:append := ":${THISDIR}/ptest"
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
inherit ptest
|
||||
|
||||
QT_PTEST_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
|
||||
PTEST_ENABLED = "${QT_PTEST_ENABLED}"
|
||||
|
||||
DEBUG_PREFIX_MAP += "\
|
||||
-fmacro-prefix-map=${D}= \
|
||||
"
|
||||
|
||||
do_install_ptest_base[progress] = "${@d.getVarFlag('do_compile', 'progress')}"
|
||||
|
||||
B_PTEST = "${WORKDIR}/build-ptest"
|
||||
|
||||
fakeroot do_install_ptest() {
|
||||
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
|
||||
include(${WORKDIR}/toolchain.cmake)
|
||||
list(PREPEND CMAKE_FIND_ROOT_PATH ${D})
|
||||
EOF
|
||||
|
||||
mkdir -p ${B_PTEST}
|
||||
cd ${B_PTEST}
|
||||
cmake \
|
||||
${OECMAKE_GENERATOR_ARGS} \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
|
||||
-DPython3_EXECUTABLE=${PYTHON} \
|
||||
${EXTRA_OECMAKE} \
|
||||
-DQT_BUILD_STANDALONE_TESTS=ON \
|
||||
-DQT_BUILD_EXAMPLES=OFF \
|
||||
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \
|
||||
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
|
||||
${S} \
|
||||
-Wno-dev
|
||||
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
|
||||
|
||||
for tests in auto baseline
|
||||
do
|
||||
if [ -e "${B_PTEST}/tests/$tests" ]; then
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
find ${B_PTEST}/tests/$tests ! -type d -a \( \
|
||||
-executable -o \
|
||||
-name qmldir -o \
|
||||
-name *.rcc \
|
||||
\) -exec sh -c '\
|
||||
install -D "$1" "${D}${PTEST_PATH}${1#${B_PTEST}}" \
|
||||
' _ {} \;
|
||||
|
||||
# tests may depend on files from sources
|
||||
cp -r ${S}/tests/$tests ${D}${PTEST_PATH}/tests
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
fakeroot python do_create_ptest_list() {
|
||||
import json, os, subprocess
|
||||
|
||||
builddir = d.getVar('B_PTEST')
|
||||
ptest_path = d.getVar('PTEST_PATH')
|
||||
try:
|
||||
command_output = subprocess.check_output(['ctest', '--show-only=json-v1'], cwd=builddir, text=True)
|
||||
except subprocess.CalledProcessError as e:
|
||||
bb.fatal('Could not get list of tests: {e.output}')
|
||||
|
||||
json_data = json.loads(command_output)
|
||||
tests_data = json_data.get('tests', [])
|
||||
|
||||
output = d.getVar('D') + os.path.join(ptest_path, 'tst_list')
|
||||
file = open(output, 'w')
|
||||
|
||||
for test in tests_data:
|
||||
test_name = test.get('name')
|
||||
working_directory = next((prop['value'] for prop in test.get('properties', []) if prop['name'] == 'WORKING_DIRECTORY'), None)
|
||||
|
||||
test_executable = os.path.normpath(os.path.join(working_directory,test_name))
|
||||
if test_executable.startswith(builddir) and os.path.isfile(test_executable):
|
||||
test_executable = test_executable.replace(builddir,ptest_path)
|
||||
file.write(f'{test_executable}\n')
|
||||
|
||||
file.close()
|
||||
}
|
||||
|
||||
addtask create_ptest_list after do_install_ptest_base before do_package
|
||||
python () {
|
||||
if not(d.getVar('PTEST_ENABLED') == "1"):
|
||||
bb.build.deltask('do_create_ptest_list', d)
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "file-rdeps"
|
||||
|
||||
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
|
||||
remove_ptest_debug() {
|
||||
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests ]; then
|
||||
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests -depth -type d -name .debug -exec rm -rf '{}' \;
|
||||
fi
|
||||
}
|
||||
127
sources/meta-qt6/recipes-qt/qt6/qt6.inc
Normal file
127
sources/meta-qt6/recipes-qt/qt6/qt6.inc
Normal file
@@ -0,0 +1,127 @@
|
||||
include recipes-qt/qt6/qt6-ptest.inc
|
||||
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,"
|
||||
PACKAGECONFIG[tests] = "-DQT_BUILD_TESTS=ON,-DQT_BUILD_TESTS=OFF,"
|
||||
|
||||
# For qmake projects
|
||||
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'examples', 'QT_BUILD_PARTS+=examples', 'QT_BUILD_PARTS-=examples', d)}"
|
||||
EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', 'QT_BUILD_PARTS+=tests', 'QT_BUILD_PARTS-=tests', d)}"
|
||||
|
||||
# If Qt6 (qtbase) is machine specific, then everything will be,
|
||||
# because the (initial) qtbase configuration becomes part of Qt5/qmake
|
||||
python __anonymous() {
|
||||
barch = d.getVar("BUILD_ARCH", True) or ''
|
||||
tarch = d.getVar("TARGET_ARCH", True) or ''
|
||||
# do not do anything if we are building a native package
|
||||
if barch != tarch:
|
||||
tarch = d.getVar("QT_PACKAGES_ARCH", True) or ''
|
||||
if tarch:
|
||||
d.setVar("PACKAGE_ARCH", tarch)
|
||||
}
|
||||
|
||||
ENABLE_QMLCOMPILER ?= "${QT_COMMERCIAL_MODULES}"
|
||||
python __anonymous() {
|
||||
if (d.getVar('QT_EDITION', True) != 'commercial' or
|
||||
d.getVar('ENABLE_QMLCOMPILER', True) == '0' or
|
||||
d.getVar('BPN', True) == 'qmlcompilerplus' or
|
||||
d.getVar('CLASSOVERRIDE', True) != 'class-target'):
|
||||
return
|
||||
if bb.utils.contains('DEPENDS', "qtdeclarative-native", True, False, d):
|
||||
d.appendVar("DEPENDS", " qmlcompilerplus-native")
|
||||
}
|
||||
|
||||
# Many examples come with libraries installed outside of standard libdir,
|
||||
# suppress QA check complaining
|
||||
INSANE_SKIP:${PN}-dbg += "libdir"
|
||||
INSANE_SKIP:${PN}-examples += "libdir dev-so"
|
||||
|
||||
SYSROOT_DIRS += "${QT6_INSTALL_BINDIR} ${QT6_INSTALL_LIBEXECDIR}"
|
||||
|
||||
PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
ALLOW_EMPTY:${PN}-plugins = "1"
|
||||
ALLOW_EMPTY:${PN}-qmlplugins = "1"
|
||||
|
||||
RRECOMMENDS:${PN} = " \
|
||||
${PN}-plugins \
|
||||
${PN}-qmlplugins \
|
||||
"
|
||||
RRECOMMENDS:${PN}:class-native = ""
|
||||
|
||||
RRECOMMENDS:${PN}-dev += " \
|
||||
${PN}-staticdev \
|
||||
"
|
||||
|
||||
FILES:${PN}-qmlplugins = " \
|
||||
${QT6_INSTALL_QMLDIR} \
|
||||
"
|
||||
|
||||
FILES:${PN}-tools = " \
|
||||
${QT6_INSTALL_BINDIR} \
|
||||
${QT6_INSTALL_LIBEXECDIR} \
|
||||
"
|
||||
|
||||
FILES:${PN}-plugins = " \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*${SOLIBSDEV} \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*${SOLIBSDEV} \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*/*${SOLIBSDEV} \
|
||||
"
|
||||
FILES:${PN}-plugins:mingw32 = " \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*.dll \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*.dll \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*/*.dll \
|
||||
"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${QT6_INSTALL_LIBDIR}/lib*${SOLIBS} \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${QT6_INSTALL_DESCRIPTIONSDIR} \
|
||||
${QT6_INSTALL_DOCDIR} \
|
||||
${QT6_INSTALL_INCLUDEDIR} \
|
||||
${QT6_INSTALL_LIBDIR}/lib*${SOLIBSDEV} \
|
||||
${QT6_INSTALL_LIBDIR}/*.prl \
|
||||
${QT6_INSTALL_LIBDIR}/*.la \
|
||||
${QT6_INSTALL_LIBDIR}/cmake \
|
||||
${QT6_INSTALL_LIBDIR}/metatypes \
|
||||
${QT6_INSTALL_LIBDIR}/pkgconfig \
|
||||
${QT6_INSTALL_LIBDIR}/sbom \
|
||||
${QT6_INSTALL_MKSPECSDIR} \
|
||||
${QT6_INSTALL_QMLDIR}/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/designer \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/designer \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/designer \
|
||||
"
|
||||
|
||||
FILES:${PN}-staticdev += " \
|
||||
${QT6_INSTALL_LIBDIR}/*.a \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*.a \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*.prl \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*.a \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/*/*.prl \
|
||||
${QT6_INSTALL_QMLDIR}/*/*.a \
|
||||
${QT6_INSTALL_QMLDIR}/*/*.prl \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*.a \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*.prl \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*.a \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*.prl \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.a \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*/*.prl \
|
||||
${QT6_INSTALL_LIBDIR}/objects* \
|
||||
${QT6_INSTALL_PLUGINSDIR}/*/objects* \
|
||||
${QT6_INSTALL_QMLDIR}/*/objects*/ \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/objects*/ \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/objects*/ \
|
||||
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
|
||||
"
|
||||
|
||||
FILES:${PN}-examples = " \
|
||||
${QT6_INSTALL_EXAMPLESDIR} \
|
||||
"
|
||||
RDEPENDS:${PN}-examples = "${PN}"
|
||||
38
sources/meta-qt6/recipes-qt/qt6/qtapplicationmanager_git.bb
Normal file
38
sources/meta-qt6/recipes-qt/qt6/qtapplicationmanager_git.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
DESCRIPTION = "Qt component for application lifecycle management"
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative libyaml libarchive qtapplicationmanager-native"
|
||||
DEPENDS:append:libc-musl = " libexecinfo"
|
||||
RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools"
|
||||
|
||||
EXTRA_OECMAKE += "-DQT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET=ON"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"
|
||||
|
||||
PACKAGECONFIG[tools-only] = "-DFEATURE_am_tools_only=ON, -DFEATURE_am_tools_only=OFF"
|
||||
PACKAGECONFIG[multi-process] = "-DFEATURE_am_multi_process=ON, -DFEATURE_am_multi_process=OFF, qtwayland qtwayland-native"
|
||||
|
||||
PACKAGECONFIG:class-native ??= "tools-only"
|
||||
PACKAGECONFIG:class-nativesdk ??= "${PACKAGECONFIG:class-native}"
|
||||
|
||||
FILES:${PN}-tools = "\
|
||||
${QT6_INSTALL_BINDIR}/appman-packager* \
|
||||
${QT6_INSTALL_BINDIR}/appman-dumpqmltypes* \
|
||||
${QT6_INSTALL_BINDIR}/appman-qmltestrunner* \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
@@ -0,0 +1,126 @@
|
||||
From a08e167d51c33f91009ba27adaa083c783c1ac54 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
Date: Mon, 15 Apr 2013 04:29:32 +0200
|
||||
Subject: [PATCH] Add linux-oe-g++ platform
|
||||
|
||||
* This qmake.conf unlike other platforms reads most variables from
|
||||
shell environment, because it's easier for qt recipes to export
|
||||
*FLAGS or CC specific for given recipe
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
too OE specific, probably cannot be upstreamed
|
||||
|
||||
Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
---
|
||||
mkspecs/features/qt.prf | 6 ++---
|
||||
mkspecs/features/qt_functions.prf | 4 +--
|
||||
mkspecs/linux-oe-g++/qmake.conf | 38 ++++++++++++++++++++++++++++
|
||||
mkspecs/linux-oe-g++/qplatformdefs.h | 1 +
|
||||
mkspecs/oe-device-extra.pri | 0
|
||||
5 files changed, 44 insertions(+), 5 deletions(-)
|
||||
create mode 100644 mkspecs/linux-oe-g++/qmake.conf
|
||||
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
create mode 100644 mkspecs/oe-device-extra.pri
|
||||
|
||||
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
|
||||
index 3c4b284b68..a7545ace5c 100644
|
||||
--- a/mkspecs/features/qt.prf
|
||||
+++ b/mkspecs/features/qt.prf
|
||||
@@ -164,7 +164,7 @@ import_plugins {
|
||||
plug_name = $$QMAKE_PREFIX_STATICLIB$${plug}$$qtPlatformTargetSuffix($$config_variable).$$QMAKE_EXTENSION_STATICLIB
|
||||
plug_path = $$eval(QT_PLUGIN.$${plug}.PATH)
|
||||
isEmpty(plug_path): \
|
||||
- plug_path = $$[QT_INSTALL_PLUGINS/get]
|
||||
+ plug_path = $$[QT_INSTALL_PLUGINS]
|
||||
LIBS += $$plug_path/$$plug_type/$$plug_name
|
||||
} else {
|
||||
LIBS += -l$${plug}$$qtPlatformTargetSuffix(CONFIG)
|
||||
@@ -319,8 +319,8 @@ for(ever) {
|
||||
# static builds: link qml import plugins into the target.
|
||||
contains(all_qt_module_deps, qml): \
|
||||
qtConfig(static):import_plugins:!host_build:!no_import_scan {
|
||||
- exists($$[QT_INSTALL_QML/get]): \
|
||||
- QMLPATHS *= $$[QT_INSTALL_QML/get]
|
||||
+ exists($$[QT_INSTALL_QML]): \
|
||||
+ QMLPATHS *= $$[QT_INSTALL_QML]
|
||||
|
||||
# run qmlimportscanner
|
||||
qtPrepareLibExecTool(QMLIMPORTSCANNER, qmlimportscanner, , system)
|
||||
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
|
||||
index f1371c8cc6..84cbf4a476 100644
|
||||
--- a/mkspecs/features/qt_functions.prf
|
||||
+++ b/mkspecs/features/qt_functions.prf
|
||||
@@ -95,7 +95,7 @@ defineTest(qtPrepareTool) {
|
||||
cmd = $$eval(QT_TOOL.$${2}.binary)
|
||||
isEmpty(cmd) {
|
||||
isEmpty(5) {
|
||||
- instloc = $$[QT_HOST_BINS]
|
||||
+ instloc = $$[QT_HOST_BINS/get]
|
||||
} else {
|
||||
instloc = $$5
|
||||
}
|
||||
@@ -140,7 +140,7 @@ defineTest(qtPrepareTool) {
|
||||
# Forwards its arguments to qtPrepareTool but defaults the installation location to
|
||||
# $$[QT_HOST_LIBEXECS]
|
||||
defineTest(qtPrepareLibExecTool) {
|
||||
- isEmpty(instloc): instloc = "$$[QT_HOST_LIBEXECS]"
|
||||
+ isEmpty(instloc): instloc = "$$[QT_HOST_LIBEXECS/get]"
|
||||
qtPrepareTool($$1, $$2, $$3, $$4, $$instloc)
|
||||
}
|
||||
|
||||
diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
|
||||
new file mode 100644
|
||||
index 0000000000..99ff3741d3
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qmake.conf
|
||||
@@ -0,0 +1,38 @@
|
||||
+#
|
||||
+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
|
||||
+#
|
||||
+
|
||||
+MAKEFILE_GENERATOR = UNIX
|
||||
+CONFIG += incremental
|
||||
+QMAKE_INCREMENTAL_STYLE = sublib
|
||||
+
|
||||
+include(../common/linux.conf)
|
||||
+
|
||||
+QMAKE_AR = $$(OE_QMAKE_AR) cqs
|
||||
+QMAKE_STRIP = $$(OE_QMAKE_STRIP)
|
||||
+QMAKE_OBJCOPY = $$(OE_QMAKE_OBJCOPY)
|
||||
+
|
||||
+include(../common/gcc-base-unix.conf)
|
||||
+
|
||||
+# *FLAGS from gcc-base.conf
|
||||
+QMAKE_CFLAGS += $$(OE_QMAKE_CFLAGS)
|
||||
+QMAKE_CXXFLAGS += $$(OE_QMAKE_CXXFLAGS)
|
||||
+QMAKE_LFLAGS += $$(OE_QMAKE_LDFLAGS)
|
||||
+
|
||||
+include(../common/g++-unix.conf)
|
||||
+
|
||||
+# tc settings from g++-base.conf
|
||||
+QMAKE_CC = $$(OE_QMAKE_CC)
|
||||
+QMAKE_CXX = $$(OE_QMAKE_CXX)
|
||||
+
|
||||
+QMAKE_LINK = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_C = $$(OE_QMAKE_LINK)
|
||||
+QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK)
|
||||
+
|
||||
+QMAKE_AR_LTCG = $$(OE_QMAKE_AR_LTCG) cqs
|
||||
+
|
||||
+include(../oe-device-extra.pri)
|
||||
+
|
||||
+load(device_config)
|
||||
+load(qt_config)
|
||||
diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
new file mode 100644
|
||||
index 0000000000..5d22fb4101
|
||||
--- /dev/null
|
||||
+++ b/mkspecs/linux-oe-g++/qplatformdefs.h
|
||||
@@ -0,0 +1 @@
|
||||
+#include "../linux-g++/qplatformdefs.h"
|
||||
diff --git a/mkspecs/oe-device-extra.pri b/mkspecs/oe-device-extra.pri
|
||||
new file mode 100644
|
||||
index 0000000000..e69de29bb2
|
||||
@@ -0,0 +1,39 @@
|
||||
From 27896986b3c2930ccbbe062d3e7a0b7bcc08caf1 Mon Sep 17 00:00:00 2001
|
||||
From: Holger Freyther <zecke@selfish.org>
|
||||
Date: Wed, 26 Sep 2012 17:22:30 +0200
|
||||
Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the
|
||||
environment
|
||||
|
||||
Allow to set a qt.conf from the outside using the environment. This allows
|
||||
to inject new prefixes and other paths into qmake. This is needed when using
|
||||
the same qmake binary to build qt/x11 and qt/embedded
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
again very OE specific to read everything from environment (reusing the same
|
||||
qmake from sstate and replacing all configured paths in it with qt.conf from
|
||||
environment).
|
||||
|
||||
Change-Id: I41595c6ce7514e8f197d0a19a1308c9460037d1b
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
---
|
||||
src/corelib/global/qlibraryinfo.cpp | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index 4b116c54b2e..bfa21c997b4 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -103,7 +103,12 @@ static std::unique_ptr<QSettings> findConfiguration()
|
||||
if (qtconfManualPath)
|
||||
return std::make_unique<QSettings>(*qtconfManualPath, QSettings::IniFormat);
|
||||
|
||||
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
+ QByteArray config = getenv("OE_QMAKE_QTCONF_PATH");
|
||||
+ QString qtconfig = QFile::decodeName(config);
|
||||
+ if (QFile::exists(qtconfig))
|
||||
+ return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
+
|
||||
+ qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
if (QResource(qtconfig, QLocale::c()).isValid())
|
||||
return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
#ifdef Q_OS_DARWIN
|
||||
@@ -0,0 +1,29 @@
|
||||
From a4d3698a56665cc73a18fa860c862e1b04533792 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Thu, 16 Dec 2021 13:10:48 +0200
|
||||
Subject: [PATCH] Fix qt.toolchain.cmake for SDK use
|
||||
|
||||
The calculated paths for QT_TOOLCHAIN_RELOCATABLE paths point to
|
||||
host sysroot which must not be used when cross-compiling other projects.
|
||||
|
||||
Change-Id: I52aa2a10d2a13fd27d6bf8b4af6dc1833c7a286a
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
---
|
||||
cmake/qt.toolchain.cmake.in | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
|
||||
index 15cf7a432e..03de9288df 100644
|
||||
--- a/cmake/qt.toolchain.cmake.in
|
||||
+++ b/cmake/qt.toolchain.cmake.in
|
||||
@@ -67,8 +67,8 @@ get_filename_component(QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR "${CMAKE_CURRENT_LIST_
|
||||
# Instead of collapsing the search prefix (which is the case when one is a subdir of the other),
|
||||
# it concatenates them creating an invalid path. Workaround it by setting the root path to the
|
||||
# Qt install prefix, and the prefix path to the lib/cmake subdir.
|
||||
-list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
|
||||
-list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
|
||||
+#list(PREPEND CMAKE_PREFIX_PATH "${QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR}")
|
||||
+#list(PREPEND CMAKE_FIND_ROOT_PATH "${QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX}")
|
||||
|
||||
# Let CMake load our custom platform modules.
|
||||
# CMake-provided platform modules take precedence.
|
||||
@@ -0,0 +1,29 @@
|
||||
From 07f7e1ae76b24ba64cd87726c438638a8fa3eba0 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Mon, 22 Aug 2022 15:01:28 +0300
|
||||
Subject: [PATCH] testlib: don't track the build or source directories
|
||||
|
||||
Build tests without location of the build and sources directories.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Change-Id: I8d5add473623a3d9f481097649819c9fb906e4b2
|
||||
|
||||
---
|
||||
src/testlib/CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/testlib/CMakeLists.txt b/src/testlib/CMakeLists.txt
|
||||
index 6cdb8f3376..3007585e1c 100644
|
||||
--- a/src/testlib/CMakeLists.txt
|
||||
+++ b/src/testlib/CMakeLists.txt
|
||||
@@ -121,8 +121,8 @@ set(qt_tc_build_dir_def
|
||||
"$<IF:${qt_bool_tc_build_dir},${qt_tc_build_dir},$<TARGET_PROPERTY:BINARY_DIR>>"
|
||||
)
|
||||
set_property(TARGET Test APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
|
||||
- QT_TESTCASE_BUILDDIR="${qt_tc_build_dir_def}"
|
||||
- QT_TESTCASE_SOURCEDIR="$<TARGET_PROPERTY:SOURCE_DIR>"
|
||||
+ QT_TESTCASE_BUILDDIR=""
|
||||
+ QT_TESTCASE_SOURCEDIR=""
|
||||
)
|
||||
|
||||
qt_internal_add_docs(Test
|
||||
260
sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb
Normal file
260
sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb
Normal file
@@ -0,0 +1,260 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI += "\
|
||||
file://0001-Add-linux-oe-g-platform.patch \
|
||||
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
|
||||
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
|
||||
"
|
||||
SRC_URI:append:class-native = "\
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
"
|
||||
|
||||
DEPENDS += "\
|
||||
patchelf-native \
|
||||
freetype \
|
||||
pcre2 \
|
||||
"
|
||||
DEPENDS:remove:class-native = "qtbase-native"
|
||||
RDEPENDS_${PN}:remove:class-native = "libssl-native"
|
||||
|
||||
RRECOMMENDS:${PN}:append:libc-glibc:class-target = " locale-base-c"
|
||||
RRECOMMENDS:${PN}-ptest:append = " tzdata"
|
||||
|
||||
PACKAGECONFIG:class-native ?= "\
|
||||
gui widgets jpeg png dbus no-opengl openssl zlib zstd \
|
||||
"
|
||||
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
|
||||
PACKAGECONFIG ?= "\
|
||||
${PACKAGECONFIG_DEFAULT} \
|
||||
${PACKAGECONFIG_GRAPHICS} \
|
||||
${PACKAGECONFIG_X11} \
|
||||
${PACKAGECONFIG_KDE} \
|
||||
${PACKAGECONFIG_FONTS} \
|
||||
${PACKAGECONFIG_SYSTEM} \
|
||||
${PACKAGECONFIG_DISTRO} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG_GRAPHICS ?= "\
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
|
||||
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
|
||||
linuxfb \
|
||||
"
|
||||
PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', '', d)}"
|
||||
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups kms gbm sql-sqlite', '', d)}"
|
||||
PACKAGECONFIG_FONTS ?= ""
|
||||
PACKAGECONFIG_SYSTEM ?= ""
|
||||
PACKAGECONFIG_DISTRO ?= ""
|
||||
PACKAGECONFIG_DEFAULT ?= "\
|
||||
accessibility \
|
||||
dbus \
|
||||
fontconfig \
|
||||
glib \
|
||||
gui \
|
||||
harfbuzz \
|
||||
icu \
|
||||
jpeg \
|
||||
libinput \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'use-gold-linker', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'use-lld-linker', '', d)} \
|
||||
openssl \
|
||||
png \
|
||||
udev \
|
||||
widgets \
|
||||
xkbcommon \
|
||||
zlib \
|
||||
zstd \
|
||||
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG:remove:mingw32 = "openssl"
|
||||
|
||||
# Build type: Debug, Release, MinSizeRel, RelWithDebInfo
|
||||
BUILD_TYPE ?= "Release"
|
||||
# OpenSSL linking mode: runtime, linked
|
||||
OPENSSL_LINKING_MODE ?= "runtime"
|
||||
|
||||
# Default platform plugin
|
||||
QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
|
||||
bb.utils.contains('PACKAGECONFIG', 'gles2', 'eglfs', 'linuxfb', d), d)}"
|
||||
|
||||
# at-spi bridge is used by XCB and wayland
|
||||
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains_any("DISTRO_FEATURES", "x11 wayland", "at-spi2-core", "", d)}"
|
||||
|
||||
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
|
||||
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
|
||||
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
|
||||
PACKAGECONFIG[developer-build] = "-DFEATURE_developer_build=ON,-DFEATURE_developer_build=OFF"
|
||||
PACKAGECONFIG[use-gold-linker] = "-DFEATURE_use_gold_linker=ON"
|
||||
PACKAGECONFIG[use-bfd-linker] = "-DFEATURE_use_bfd_linker=ON"
|
||||
PACKAGECONFIG[use-lld-linker] = "-DFEATURE_use_lld_linker=ON"
|
||||
|
||||
PACKAGECONFIG[cups] = "-DFEATURE_cups=ON,-DFEATURE_cups=OFF,cups"
|
||||
PACKAGECONFIG[dbus] = "-DFEATURE_dbus=ON,-DFEATURE_dbus=OFF,dbus"
|
||||
PACKAGECONFIG[udev] = "-DFEATURE_libudev=ON,-DFEATURE_libudev=OFF,udev"
|
||||
PACKAGECONFIG[zlib] = "-DFEATURE_system_zlib=ON,-DFEATURE_system_zlib=OFF,zlib"
|
||||
PACKAGECONFIG[zstd] = "-DFEATURE_zstd=ON,-DFEATURE_zstd=OFF,zstd"
|
||||
|
||||
# corelib
|
||||
PACKAGECONFIG[glib] = "-DFEATURE_glib=ON,-DFEATURE_glib=OFF,glib-2.0"
|
||||
PACKAGECONFIG[icu] = "-DFEATURE_icu=ON,-DFEATURE_icu=OFF,icu"
|
||||
PACKAGECONFIG[journald] = "-DFEATURE_journald=ON,-DFEATURE_journald=OFF,systemd"
|
||||
PACKAGECONFIG[lttng] = "-DFEATURE_lttng=ON,-DFEATURE_lttng=OFF,lttng-ust"
|
||||
PACKAGECONFIG[ctf] = "-DFEATURE_ctf=ON,-DFEATURE_ctf=OFF"
|
||||
|
||||
# gui
|
||||
PACKAGECONFIG[gui] = "-DFEATURE_gui=ON,-DFEATURE_gui=OFF"
|
||||
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF,${ACCESSIBILITY_DEPENDS}"
|
||||
PACKAGECONFIG[directfb] = "-DFEATURE_directfb=ON,-DFEATURE_directfb=OFF,directfb"
|
||||
PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fontconfig"
|
||||
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
|
||||
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
|
||||
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
|
||||
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF"
|
||||
PACKAGECONFIG[eglfs-egldevice] = "-DFEATURE_eglfs_egldevice=ON,-DFEATURE_eglfs_egldevice=OFF"
|
||||
PACKAGECONFIG[harfbuzz] = "-DFEATURE_harfbuzz=ON,-DFEATURE_harfbuzz=OFF,harfbuzz"
|
||||
PACKAGECONFIG[jpeg] = "-DFEATURE_jpeg=ON,-DFEATURE_jpeg=OFF,jpeg"
|
||||
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm virtual/egl"
|
||||
PACKAGECONFIG[libinput] = "-DFEATURE_libinput=ON,-DFEATURE_libinput=OFF,libinput"
|
||||
PACKAGECONFIG[linuxfb] = "-DFEATURE_linuxfb=ON,-DFEATURE_linuxfb=OFF"
|
||||
PACKAGECONFIG[mtdev] = "-DFEATURE_mtdev=ON,-DFEATURE_mtdev=OFF,mtdev"
|
||||
PACKAGECONFIG[no-opengl] = "-DINPUT_opengl=no"
|
||||
PACKAGECONFIG[png] = "-DFEATURE_system_png=ON,-DFEATURE_png=OFF,libpng"
|
||||
PACKAGECONFIG[tslib] = "-DFEATURE_tslib=ON,-DFEATURE_tslib=OFF,tslib"
|
||||
PACKAGECONFIG[vulkan] = "-DFEATURE_vulkan=ON,-DFEATURE_vulkan=OFF,vulkan-headers,vulkan-loader"
|
||||
PACKAGECONFIG[wayland] = "-DFEATURE_wayland=ON,-DFEATURE_wayland=OFF,wayland wayland-native"
|
||||
PACKAGECONFIG[xcb] = "-DFEATURE_xcb=ON,-DFEATURE_xcb=OFF,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-cursor"
|
||||
PACKAGECONFIG[xkbcommon] = "-DFEATURE_xkbcommon=ON,-DFEATURE_xkbcommon=OFF,libxkbcommon,xkeyboard-config"
|
||||
|
||||
# widgets
|
||||
PACKAGECONFIG[widgets] = "-DFEATURE_widgets=ON,-DFEATURE_widgets=OFF"
|
||||
PACKAGECONFIG[gtk] = "-DFEATURE_gtk3=ON,-DFEATURE_gtk3=OFF,gtk+3 at-spi2-core"
|
||||
|
||||
# network
|
||||
PACKAGECONFIG[brotli] = "-DFEATURE_brotli=ON,-DFEATURE_brotli=OFF,brotli"
|
||||
PACKAGECONFIG[gssapi] = "-DFEATURE_gssapi=ON,-DFEATURE_gssapi=OFF,krb5"
|
||||
PACKAGECONFIG[libproxy] = "-DFEATURE_libproxy=ON,-DFEATURE_libproxy=OFF,libproxy"
|
||||
PACKAGECONFIG[openssl] = "-DFEATURE_openssl_${OPENSSL_LINKING_MODE}=ON,-DFEATURE_openssl=OFF,openssl,libssl"
|
||||
|
||||
# sqldrivers
|
||||
PACKAGECONFIG[sql-mysql] = "-DFEATURE_sql_mysql=ON,-DFEATURE_sql_mysql=OFF,mysql5"
|
||||
PACKAGECONFIG[sql-odbc] = "-DFEATURE_sql_odbc=ON,-DFEATURE_sql_odbc=OFF,unixodbc"
|
||||
PACKAGECONFIG[sql-psql] = "-DFEATURE_sql_psql=ON,-DFEATURE_sql_psql=OFF,postgresql"
|
||||
PACKAGECONFIG[sql-sqlite] = "-DFEATURE_system_sqlite=ON,-DFEATURE_sql_sqlite=OFF,sqlite3"
|
||||
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
|
||||
-DQT_EDITION=${QT_EDITION} \
|
||||
-DQT_AVOID_CMAKE_ARCHIVING_API=ON \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE:append:class-target = "\
|
||||
-DFEATURE_rpath=OFF \
|
||||
-DFEATURE_relocatable=OFF \
|
||||
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
|
||||
-DQT_NO_GENERATE_QMAKE_WRAPPER_FOR_TARGET=ON \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE:append:mingw32 = "\
|
||||
-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON \
|
||||
-DFEATURE_stack_protector=OFF \
|
||||
-DFEATURE_dnslookup=OFF \
|
||||
"
|
||||
|
||||
SYSROOT_DIRS += "${QT6_INSTALL_MKSPECSDIR}"
|
||||
|
||||
do_install:append() {
|
||||
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake \
|
||||
-e '/QT_SOURCE_TREE/,+2d'
|
||||
|
||||
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6/Qt6Dependencies.cmake \
|
||||
-e '/set(__qt_platform_initial_qt_host/d'
|
||||
|
||||
# remove mac and android specific scripts that depend on perl and bash
|
||||
# to avoid file-rdeps QA Issue.
|
||||
rm -f ${D}${QT6_INSTALL_LIBEXECDIR}/android_emulator_launcher.sh
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/devices.py
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
|
||||
|
||||
if [ -e ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py ]; then
|
||||
sed -i ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py \
|
||||
-e 's|/bin/env|/usr/bin/env|'
|
||||
fi
|
||||
|
||||
# remove unneeded files that contains reference to TMPDIR [buildpaths]
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
|
||||
|
||||
install -d ${D}${datadir}/cmake/OEToolchainConfig.cmake.d
|
||||
RELPATH=${@os.path.relpath(d.getVar('prefix'), d.getVar('datadir') + '/cmake/OEToolchainConfig.cmake.d')}
|
||||
cat > ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/OEQt6Toolchain.cmake <<EOF
|
||||
get_filename_component(QT_HOST_PATH "\${CMAKE_CURRENT_LIST_DIR}/$RELPATH" ABSOLUTE CACHE)
|
||||
set(QT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX ON CACHE BOOL "")
|
||||
EOF
|
||||
|
||||
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_BINDIR'))}"
|
||||
sed -i ${D}${QT6_INSTALL_BINDIR}/* \
|
||||
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
|
||||
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
|
||||
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_LIBEXECDIR'))}"
|
||||
sed -i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
|
||||
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
|
||||
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
|
||||
|
||||
RELPATH=${@os.path.relpath(d.getVar('prefix') + '/share/cmake/Qt6Toolchain.cmake', d.getVar('QT6_INSTALL_LIBDIR') + '/cmake/Qt6')}
|
||||
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6/qt.toolchain.cmake \
|
||||
-e "s|/.*/toolchain.cmake|\${CMAKE_CURRENT_LIST_DIR}/$RELPATH|"
|
||||
}
|
||||
|
||||
do_install:append:class-target() {
|
||||
sed >> ${D}${QT6_INSTALL_MKSPECSDIR}/linux-oe-g++/qmake.conf <<EOF \
|
||||
-e 's: ${lcl_maybe_fortify}: :' \
|
||||
-e 's:${DEBUG_PREFIX_MAP}::' \
|
||||
-e 's:${RECIPE_SYSROOT}:$$[QT_SYSROOT]:' \
|
||||
-e 's:${TARGET_PREFIX}:$$[QT_HOST_PREFIX]${bindir}/${TARGET_SYS}/${TARGET_PREFIX}:'
|
||||
|
||||
isEmpty(QMAKE_CC): {
|
||||
QMAKE_AR = ${AR} cqs
|
||||
QMAKE_AR_LTCG = ${HOST_PREFIX}gcc-ar cqs
|
||||
QMAKE_STRIP = ${STRIP}
|
||||
QMAKE_OBJCOPY = ${OBJCOPY}
|
||||
QMAKE_CC = ${HOST_PREFIX}gcc
|
||||
QMAKE_CFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}
|
||||
QMAKE_CXX = ${HOST_PREFIX}g++
|
||||
QMAKE_CXXFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}
|
||||
QMAKE_LINK = ${HOST_PREFIX}g++
|
||||
QMAKE_LFLAGS += ${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS} ${TARGET_LDFLAGS}
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "arch"
|
||||
INHIBIT_PACKAGE_STRIP_FILES = "\
|
||||
${PKGD}${PTEST_PATH}/tests/auto/corelib/plugin/qpluginloader/elftest/corrupt2.elf64.so \
|
||||
${PKGD}${PTEST_PATH}/tests/auto/corelib/plugin/qpluginloader/elftest/corrupt3.elf64.so \
|
||||
${PKGD}${PTEST_PATH}/tests/auto/corelib/plugin/qpluginloader/elftest/debugobj.so \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
18
sources/meta-qt6/recipes-qt/qt6/qtcharts_git.bb
Normal file
18
sources/meta-qt6/recipes-qt/qt6/qtcharts_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
18
sources/meta-qt6/recipes-qt/qt6/qtcoap_git.bb
Normal file
18
sources/meta-qt6/recipes-qt/qt6/qtcoap_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
|
||||
|
||||
23
sources/meta-qt6/recipes-qt/qt6/qtconnectivity_git.bb
Normal file
23
sources/meta-qt6/recipes-qt/qt6/qtconnectivity_git.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
|
||||
|
||||
FILES:${PN}-tools = ""
|
||||
18
sources/meta-qt6/recipes-qt/qt6/qtdatavis3d_git.bb
Normal file
18
sources/meta-qt6/recipes-qt/qt6/qtdatavis3d_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake features_check
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
22
sources/meta-qt6/recipes-qt/qt6/qtdeclarative_git.bb
Normal file
22
sources/meta-qt6/recipes-qt/qt6/qtdeclarative_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/masm/LICENSE;md5=dadc3e328f07d2e6fca9177916e902b5 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native qtlanguageserver qtsvg"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
18
sources/meta-qt6/recipes-qt/qt6/qtdeviceutilities_git.bb
Normal file
18
sources/meta-qt6/recipes-qt/qt6/qtdeviceutilities_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"
|
||||
RDEPENDS:${PN} = "connman"
|
||||
|
||||
42
sources/meta-qt6/recipes-qt/qt6/qtdoc_git.bb
Normal file
42
sources/meta-qt6/recipes-qt/qt6/qtdoc_git.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause) & Apache-2.0 & CC-BY-4.0 & CC-BY-SA-4.0 & ISC"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/CC-BY-4.0.txt;md5=ed88d31cea57b15030a1f58ceb04e0d5 \
|
||||
file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8 \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/ISC.txt;md5=2494cdbaca137fd93842fe9702e9bc4d \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=caa060942f6b722bc4329d4195584c38 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "\
|
||||
qtbase \
|
||||
qtcharts \
|
||||
qtdeclarative qtdeclarative-native \
|
||||
qtgraphs \
|
||||
qtlocation \
|
||||
qtmultimedia \
|
||||
qtpositioning \
|
||||
qtquick3d qtquick3d-native \
|
||||
qtsensors \
|
||||
qtshadertools-native \
|
||||
qtsvg \
|
||||
qtwebsockets \
|
||||
"
|
||||
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
DEPENDS:append:arm = " qtquick3dphysics"
|
||||
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:x86 = " qtquick3dphysics"
|
||||
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
|
||||
PACKAGECONFIG ?= "examples"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
17
sources/meta-qt6/recipes-qt/qt6/qtgraphs_git.bb
Normal file
17
sources/meta-qt6/recipes-qt/qt6/qtgraphs_git.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtquick3d qtquick3d-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
@@ -0,0 +1,30 @@
|
||||
From 7e5ddd2e22c57fcd2eb7c8ae24150deb564a1b57 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Edelev <alexey.edelev@qt.io>
|
||||
Date: Wed, 16 Oct 2024 11:19:03 +0200
|
||||
Subject: [PATCH] Remove the export of QT_PROTO_INCLUDES property
|
||||
|
||||
The export is not needed in recent version since the QT_PROTO_INCLUDES
|
||||
property is calculated according to the QtProtobufWellknownTypes
|
||||
install/staging/build prefixes.
|
||||
|
||||
Pick-to: 6.8
|
||||
Fixes: QTBUG-130113
|
||||
Change-Id: I81ddc90334b4828ce5c73fe2ef0f12e3efe6b07c
|
||||
Upstream-Status: Submitted
|
||||
---
|
||||
src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake b/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
|
||||
index 50900553..49152702 100644
|
||||
--- a/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
|
||||
+++ b/src/wellknown/Qt6ProtobufWellKnownTypesBuildInternals.cmake
|
||||
@@ -121,8 +121,6 @@ function(qt_internal_add_protobuf_wellknown_types target)
|
||||
EXPORT_NAME_PREFIX "${INSTALL_CMAKE_NAMESPACE}${target}"
|
||||
)
|
||||
endif()
|
||||
-
|
||||
- set_property(TARGET ${target} APPEND PROPERTY EXPORT_PROPERTIES QT_PROTO_INCLUDES)
|
||||
endfunction()
|
||||
|
||||
# The function generates the header 'alias_file' containing the include of the original
|
||||
25
sources/meta-qt6/recipes-qt/qt6/qtgrpc_git.bb
Normal file
25
sources/meta-qt6/recipes-qt/qt6/qtgrpc_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (LGPL-3.0-only | GPL-2.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI += "file://0001-Remove-the-export-of-QT_PROTO_INCLUDES-property.patch"
|
||||
|
||||
DEPENDS += "qtbase qtgrpc-native protobuf protobuf-native"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[qml] = "-DFEATURE_grpcquick=ON,-DFEATURE_grpcquick=OFF,qtdeclarative qtdeclarative-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
17
sources/meta-qt6/recipes-qt/qt6/qthttpserver_git.bb
Normal file
17
sources/meta-qt6/recipes-qt/qt6/qthttpserver_git.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "websockets"
|
||||
PACKAGECONFIG[websockets] = ",,qtwebsockets"
|
||||
22
sources/meta-qt6/recipes-qt/qt6/qtimageformats_git.bb
Normal file
22
sources/meta-qt6/recipes-qt/qt6/qtimageformats_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "tiff webp"
|
||||
PACKAGECONFIG[jasper] = "-DFEATURE_jasper=ON,-DFEATURE_jasper=OFF,jasper"
|
||||
PACKAGECONFIG[mng] = "-DFEATURE_mng=ON,-DFEATURE_mng=OFF,libmng"
|
||||
PACKAGECONFIG[tiff] = "-DFEATURE_tiff=ON,-DFEATURE_libtiff=OFF,tiff"
|
||||
PACKAGECONFIG[webp] = "-DFEATURE_webp=ON,-DFEATURE_webp=OFF,libwebp"
|
||||
|
||||
12
sources/meta-qt6/recipes-qt/qt6/qtinsighttracker_git.bb
Normal file
12
sources/meta-qt6/recipes-qt/qt6/qtinsighttracker_git.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
LICENSE = "The-Qt-Company-Commercial"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
include recipes-qt/qt6/qt6-commercial.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
FILES:${PN} += "${QT6_INSTALL_DATADIR}/qtinsight"
|
||||
34
sources/meta-qt6/recipes-qt/qt6/qtinterfaceframework_git.bb
Normal file
34
sources/meta-qt6/recipes-qt/qt6/qtinterfaceframework_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "Qt Interface Framework"
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${QT6_INSTALL_DATADIR}/ifcodegen-templates \
|
||||
"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtinterfaceframework-native"
|
||||
|
||||
PACKAGECONFIG ?= "ifcodegen remoteobjects"
|
||||
PACKAGECONFIG:append:class-native = " host-tools-only"
|
||||
PACKAGECONFIG:append:class-nativesdk = " host-tools-only"
|
||||
|
||||
PACKAGECONFIG[host-tools-only] = "-DFEATURE_host_tools_only=ON,-DFEATURE_host_tools_only=OFF"
|
||||
PACKAGECONFIG[ifcodegen] = "-DFEATURE_ifcodegen=ON,-DFEATURE_ifcodegen=OFF,python3-qface,python3-qface"
|
||||
PACKAGECONFIG[remoteobjects] = "-DFEATURE_remoteobjects=ON,-DFEATURE_remoteobjects=OFF,qtremoteobjects qtremoteobjects-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
PRIVATE_LIBS:${PN}-examples = "libInstrumentCluster.so"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
20
sources/meta-qt6/recipes-qt/qt6/qtlanguageserver_git.bb
Normal file
20
sources/meta-qt6/recipes-qt/qt6/qtlanguageserver_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
26
sources/meta-qt6/recipes-qt/qt6/qtlocation_git.bb
Normal file
26
sources/meta-qt6/recipes-qt/qt6/qtlocation_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtpositioning"
|
||||
|
||||
PACKAGECONFIG ?= "osm qml"
|
||||
PACKAGECONFIG[esri] = "-DFEATURE_geoservices_esri=ON,-DFEATURE_geoservices_esri=OFF,"
|
||||
PACKAGECONFIG[mapbox] = "-DFEATURE_geoservices_mapbox=ON,-DFEATURE_geoservices_mapbox=OFF,"
|
||||
PACKAGECONFIG[nokia] = "-DFEATURE_geoservices_nokia=ON,-DFEATURE_geoservices_nokia=OFF,"
|
||||
PACKAGECONFIG[osm] = "-DFEATURE_geoservices_osm=ON,-DFEATURE_geoservices_osm=OFF,"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
15
sources/meta-qt6/recipes-qt/qt6/qtlottie_git.bb
Normal file
15
sources/meta-qt6/recipes-qt/qt6/qtlottie_git.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
17
sources/meta-qt6/recipes-qt/qt6/qtmqtt_git.bb
Normal file
17
sources/meta-qt6/recipes-qt/qt6/qtmqtt_git.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native qtwebsockets"
|
||||
|
||||
38
sources/meta-qt6/recipes-qt/qt6/qtmultimedia_git.bb
Normal file
38
sources/meta-qt6/recipes-qt/qt6/qtmultimedia_git.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-3.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only ) & Apache-2.0 & BSD-3-Clause & MPL-2.0"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/resonance-audio/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
file://src/3rdparty/eigen/COPYING.BSD;md5=bb155c6d1ebb4543dc4b7b5f33fa40ec \
|
||||
file://src/3rdparty/eigen/COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
|
||||
file://src/3rdparty/pffft/LICENSE;md5=0f39e43e9bc20e7e103e54750e1ec3a2 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtshadertools qtshadertools-native"
|
||||
|
||||
PACKAGECONFIG ?= "\
|
||||
${@bb.utils.contains_any('LICENSE_FLAGS_ACCEPTED','commercial commercial_ffmpeg','ffmpeg','',d)} \
|
||||
gstreamer pulseaudio qml spatialaudio spatialaudio_quick3d"
|
||||
|
||||
PACKAGECONFIG[alsa] = "-DFEATURE_alsa=ON,-DFEATURE_alsa=OFF,alsa-lib"
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtsvg"
|
||||
PACKAGECONFIG[ffmpeg] = "-DFEATURE_ffmpeg=ON,-DFEATURE_ffmpeg=OFF,ffmpeg"
|
||||
PACKAGECONFIG[gstreamer] = "-DFEATURE_gstreamer=ON,-DFEATURE_gstreamer=OFF,gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
|
||||
PACKAGECONFIG[pulseaudio] = "-DFEATURE_pulseaudio=ON,-DFEATURE_pulseaudio=OFF,pulseaudio"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
PACKAGECONFIG[spatialaudio] = "-DFEATURE_spatialaudio=ON,-DFEATURE_spatialaudio=OFF"
|
||||
PACKAGECONFIG[spatialaudio_quick3d] = "-DFEATURE_spatialaudio_quick3d=ON,-DFEATURE_spatialaudio_quick3d=OFF,qtquick3d qtquick3d-native"
|
||||
PACKAGECONFIG[vaapi] = "-DFEATURE_vaapi=ON,-DFEATURE_vaapi=OFF,libva"
|
||||
|
||||
QT_DEFAULT_MEDIA_BACKEND ?= "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', 'gstreamer', 'ffmpeg', d)}"
|
||||
EXTRA_OECMAKE += "-DQT_DEFAULT_MEDIA_BACKEND=${QT_DEFAULT_MEDIA_BACKEND}"
|
||||
15
sources/meta-qt6/recipes-qt/qt6/qtnetworkauth_git.bb
Normal file
15
sources/meta-qt6/recipes-qt/qt6/qtnetworkauth_git.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
42
sources/meta-qt6/recipes-qt/qt6/qtopcua_git.bb
Normal file
42
sources/meta-qt6/recipes-qt/qt6/qtopcua_git.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & CC-BY-SA-4.0 & CC0-1.0 & MIT & MPL-2.0"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
|
||||
file://LICENSES/CC-BY-SA-4.0.txt;md5=bb082061306cc1dc0afcd128f972d344 \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
|
||||
file://LICENSES/MPL-2.0.txt;md5=48a3fe23ed1353e0995dadfda05ffdb6 \
|
||||
file://src/3rdparty/open62541/BSD-3-CLAUSE;md5=8647c60c0b1892cb8f30c8efd60b318f \
|
||||
file://src/3rdparty/open62541/CC-BY-SA-4.0;md5=bb082061306cc1dc0afcd128f972d344 \
|
||||
file://src/3rdparty/open62541/LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
file://src/3rdparty/open62541/LICENSE-CC0;md5=6888abe69dbc6330301f0467e21c0317 \
|
||||
file://src/3rdparty/open62541/MIT;md5=6b7814836306cd82b4f9ca8be2a8ce55 \
|
||||
file://src/3rdparty/open62541/mpl-2.0.815ca599c9df.txt;md5=815ca599c9df247a0c7f619bab123dad \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
PACKAGECONFIG ?= "qml open62541"
|
||||
PACKAGECONFIG:class-native ?= ""
|
||||
PACKAGECONFIG:class-nativesdk ?= ""
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
PACKAGECONFIG[open62541] = "-DFEATURE_open62541=ON,-DFEATURE_open62541=OFF,openssl"
|
||||
|
||||
# src/3rdparty/open62541.pri adds -Wno-format, causing following error
|
||||
# because -Wformat-security cannot be used together with -Wno-format
|
||||
# cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
|
||||
SECURITY_STRINGFORMAT = ""
|
||||
|
||||
DEPENDS += "qtbase qtopcua-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
38
sources/meta-qt6/recipes-qt/qt6/qtpdf_git.bb
Normal file
38
sources/meta-qt6/recipes-qt/qt6/qtpdf_git.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
require recipes-qt/qt6/qtwebengine.inc
|
||||
require recipes-qt/qt6/chromium-gn.inc
|
||||
|
||||
DEPENDS += " \
|
||||
cups \
|
||||
nodejs-native \
|
||||
gperf-native \
|
||||
bison-native \
|
||||
nss nss-native \
|
||||
qtbase qtdeclarative qtdeclarative-native \
|
||||
gn-native \
|
||||
libxkbcommon \
|
||||
python3-html5lib-native \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DFEATURE_qtwebengine_build=OFF \
|
||||
-DFEATURE_qtpdf_build=ON \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= "qml widgets"
|
||||
PACKAGECONFIG[pdf-v8] = "-DFEATURE_pdf_v8=ON,-DFEATURE_pdf_v8=OFF,qemu-native"
|
||||
PACKAGECONFIG[pdf-xfa] = "-DFEATURE_pdf_xfa=ON,-DFEATURE_pdf_xfa=OFF"
|
||||
PACKAGECONFIG[pdf-xfa-bmp] = "-DFEATURE_pdf_xfa_bmp=ON,-DFEATURE_pdf_xfa_bmp=OFF"
|
||||
PACKAGECONFIG[pdf-xfa-gif] = "-DFEATURE_pdf_xfa_gif=ON,-DFEATURE_pdf_xfa_gif=OFF"
|
||||
PACKAGECONFIG[pdf-xfa-png] = "-DFEATURE_pdf_xfa_png=ON,-DFEATURE_pdf_xfa_png=OFF"
|
||||
PACKAGECONFIG[pdf-xfa-tiff] = "-DFEATURE_pdf_xfa_tiff=ON,-DFEATURE_pdf_xfa_tiff=OFF"
|
||||
PACKAGECONFIG[qml] = "-DFEATURE_qtpdf_quick_build=ON,-DFEATURE_qtpdf_quick_build=OFF"
|
||||
PACKAGECONFIG[widgets] = "-DFEATURE_qtpdf_widgets_build=ON,-DFEATURE_qtpdf_widgets_build=OFF"
|
||||
|
||||
ENABLE_QMLCOMPILER = "0"
|
||||
|
||||
do_install:append() {
|
||||
# remove conflicting files with QtWebEngine
|
||||
rm -f ${D}${libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebEngineTestsConfig.cmake
|
||||
rm -f ${D}${libdir}/cmake/Qt6/Find*.cmake
|
||||
rm -f ${D}${libdir}/sbom/qtwebengine*
|
||||
}
|
||||
26
sources/meta-qt6/recipes-qt/qt6/qtpositioning_git.bb
Normal file
26
sources/meta-qt6/recipes-qt/qt6/qtpositioning_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only) & BSD-3-Clause & BSL-1.0 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/clipper/LICENSE;md5=703fd70389dc10159a3da376b5480d52 \
|
||||
file://src/3rdparty/clip2tri/LICENSE;md5=20ada30cde771326c364b7987ff5585a \
|
||||
file://src/3rdparty/poly2tri/LICENSE;md5=ee547afd72a735d8f02ff92a09cfe403 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "nmea qml geoclue"
|
||||
PACKAGECONFIG[geoclue] = ",,,geoclue"
|
||||
PACKAGECONFIG[gypsy] = "-DFEATURE_gypsy=ON,-DFEATURE_gypsy=OFF,gconf gypsy"
|
||||
PACKAGECONFIG[nmea] = ",,qtserialport"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
@@ -0,0 +1,26 @@
|
||||
From f8deb4c6db7d1f8badbab5b1c81d1cab3f879db1 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Fri, 3 Jun 2022 06:50:08 +0000
|
||||
Subject: [PATCH] Skip embree on mingw
|
||||
|
||||
Build fails with older mingw headers, skip it complete since
|
||||
it's not needed for the toolchain.
|
||||
|
||||
Upstream-Status: Inappropriate [OE Specific]
|
||||
---
|
||||
src/3rdparty/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/3rdparty/CMakeLists.txt b/src/3rdparty/CMakeLists.txt
|
||||
index cbb855f5..5d11993f 100644
|
||||
--- a/src/3rdparty/CMakeLists.txt
|
||||
+++ b/src/3rdparty/CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@
|
||||
# macOS on x86_64 and arm64
|
||||
# Linux on x86_64 and arm64
|
||||
# because it's restricted to what Embree builds on in practice.
|
||||
-if((WIN32 AND (TEST_architecture_arch STREQUAL x86_64))
|
||||
+if((FALSE AND (TEST_architecture_arch STREQUAL x86_64))
|
||||
OR (MACOS AND ((TEST_architecture_arch STREQUAL x86_64) OR (TEST_architecture_arch STREQUAL arm64)))
|
||||
OR (LINUX AND ((TEST_architecture_arch STREQUAL x86_64) OR (TEST_architecture_arch STREQUAL arm64))))
|
||||
add_subdirectory(embree)
|
||||
46
sources/meta-qt6/recipes-qt/qt6/qtquick3d_git.bb
Normal file
46
sources/meta-qt6/recipes-qt/qt6/qtquick3d_git.bb
Normal file
@@ -0,0 +1,46 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GPL-3.0-only & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & CC-BY-4.0 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
|
||||
file://LICENSES/CC-BY-4.0.txt;md5=ed88d31cea57b15030a1f58ceb04e0d5 \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/assimp/LICENSE;md5=78dabdafb167945fef55b5c37ac94df3 \
|
||||
file://src/3rdparty/embree/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
file://src/3rdparty/tinyexr/LICENSE;md5=27559be3d3cfab88d56b352c10fb9476 \
|
||||
file://src/3rdparty/xatlas/LICENSE;md5=8605e91c32ad7d58bd62c310eb2c3bf6 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
ASSIMP_BRANCH = "qt6_assimp"
|
||||
|
||||
SRC_URI += " \
|
||||
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qtquick3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
|
||||
file://0001-Skip-embree-on-mingw.patch \
|
||||
"
|
||||
|
||||
DEPENDS = "qtbase qtdeclarative qtshadertools qtshadertools-native qtquick3d-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
PACKAGECONFIG:class-target ?= "qtquicktimeline"
|
||||
PACKAGECONFIG[qtquicktimeline] = ",,qtquicktimeline"
|
||||
PACKAGECONFIG[system-assimp] = "-DFEATURE_system_assimp=ON,-DFEATURE_system_assimp=OFF,assimp"
|
||||
|
||||
FILES:${PN}-qmlplugins += " \
|
||||
${QT6_INSTALL_QMLDIR}/QtQuick3D/Helpers/meshes/*.mesh \
|
||||
"
|
||||
|
||||
SRCREV_FORMAT = "qtquick3d_qtquick3d-assimp"
|
||||
|
||||
# Needed for supporting 64bit off_t
|
||||
CFLAGS:append:libc-musl = " -DIOAPI_NO_64 -D_GNU_SOURCE"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
26
sources/meta-qt6/recipes-qt/qt6/qtquick3dphysics_git.bb
Normal file
26
sources/meta-qt6/recipes-qt/qt6/qtquick3dphysics_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only ) & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/PhysX/LICENSE.md;md5=bf77e804d5e92c7e2764e9faf9ec1933 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
COMPATIBLE_MACHINE = "(-)"
|
||||
COMPATIBLE_MACHINE:aarch64 = "(.*)"
|
||||
COMPATIBLE_MACHINE:arm = "(.*)"
|
||||
COMPATIBLE_MACHINE:x86 = "(.*)"
|
||||
COMPATIBLE_MACHINE:x86-64 = "(.*)"
|
||||
|
||||
DEPENDS = "qtbase qtquick3d qtquick3d-native qtdeclarative-native"
|
||||
|
||||
FILES:${PN}-tools = ""
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
@@ -0,0 +1,15 @@
|
||||
LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
QT_GIT_PROJECT = "qt-labs"
|
||||
QT_MODULE_BRANCH = "dev"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
14
sources/meta-qt6/recipes-qt/qt6/qtquicktimeline_git.bb
Normal file
14
sources/meta-qt6/recipes-qt/qt6/qtquicktimeline_git.bb
Normal file
@@ -0,0 +1,14 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS = "qtbase qtdeclarative qtdeclarative-native"
|
||||
22
sources/meta-qt6/recipes-qt/qt6/qtremoteobjects_git.bb
Normal file
22
sources/meta-qt6/recipes-qt/qt6/qtremoteobjects_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtremoteobjects-native"
|
||||
|
||||
|
||||
BBCLASSEXTEND += "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
24
sources/meta-qt6/recipes-qt/qt6/qtscxml_git.bb
Normal file
24
sources/meta-qt6/recipes-qt/qt6/qtscxml_git.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtscxml-native"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
19
sources/meta-qt6/recipes-qt/qt6/qtsensors_git.bb
Normal file
19
sources/meta-qt6/recipes-qt/qt6/qtsensors_git.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
26
sources/meta-qt6/recipes-qt/qt6/qtserialbus_git.bb
Normal file
26
sources/meta-qt6/recipes-qt/qt6/qtserialbus_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "modbus-serialport socketcan"
|
||||
PACKAGECONFIG:class-native = ""
|
||||
PACKAGECONFIG:class-nativesdk = ""
|
||||
|
||||
PACKAGECONFIG[modbus-serialport] = "-DFEATURE_modbus_serialport=ON,-DFEATURE_modbus_serialport=OFF,qtserialport"
|
||||
PACKAGECONFIG[socketcan] = "-DFEATURE_socketcan=ON,-DFEATURE_socketcan=OFF,,libsocketcan"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
19
sources/meta-qt6/recipes-qt/qt6/qtserialport_git.bb
Normal file
19
sources/meta-qt6/recipes-qt/qt6/qtserialport_git.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
26
sources/meta-qt6/recipes-qt/qt6/qtshadertools_git.bb
Normal file
26
sources/meta-qt6/recipes-qt/qt6/qtshadertools_git.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only) & (Apache-2.0 | MIT) & BSD-3-Clause & BSD-2-Clause & Apache-2.0 & GPL-3-with-bison-exception"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=c846ebb396f8b174b10ded4771514fcc \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://LICENSES/LicenseRef-MIT-Khronos-old.txt;md5=a81aa9fd63b8e618b46e566919afa6a5 \
|
||||
file://src/3rdparty/SPIRV-Cross/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
file://src/3rdparty/glslang/LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS = "qtbase qtshadertools-native"
|
||||
DEPENDS:append:class-native = " spirv-tools-native"
|
||||
|
||||
RDEPENDS:${PN}-tools = "spirv-tools"
|
||||
RDEPENDS:${PN}-tools:remove:mingw32 = "spirv-tools"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
22
sources/meta-qt6/recipes-qt/qt6/qtspeech_git.bb
Normal file
22
sources/meta-qt6/recipes-qt/qt6/qtspeech_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (LGPL-3.0-only | GPL-2.0-only) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtmultimedia"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[flite] = "-DFEATURE_flite=ON,-DFEATURE_flite=OFF,flite"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
19
sources/meta-qt6/recipes-qt/qt6/qtsvg_git.bb
Normal file
19
sources/meta-qt6/recipes-qt/qt6/qtsvg_git.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND-sell-variant"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://src/svg/LICENSE.XSVG.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,45 @@
|
||||
From 6acac52cec61494e97d3e3db68df2da3c22cff5b Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Fri, 18 Oct 2024 09:02:20 +0000
|
||||
Subject: [PATCH] examples: don't track source path
|
||||
|
||||
Avoid using source path in the example binary as that causes
|
||||
QA error [buildpaths]
|
||||
|
||||
Upstream-Status: Pending
|
||||
Change-Id: Id5aebc2afa7d4ded38d6bdd43fbbb2813f4bad5d
|
||||
---
|
||||
examples/assistant/simpletextviewer/CMakeLists.txt | 4 ----
|
||||
examples/help/contextsensitivehelp/CMakeLists.txt | 4 ----
|
||||
2 files changed, 8 deletions(-)
|
||||
|
||||
diff --git a/examples/assistant/simpletextviewer/CMakeLists.txt b/examples/assistant/simpletextviewer/CMakeLists.txt
|
||||
index 8d459a261..89076bcd1 100644
|
||||
--- a/examples/assistant/simpletextviewer/CMakeLists.txt
|
||||
+++ b/examples/assistant/simpletextviewer/CMakeLists.txt
|
||||
@@ -27,10 +27,6 @@ set_target_properties(simpletextviewer PROPERTIES
|
||||
MACOSX_BUNDLE TRUE
|
||||
)
|
||||
|
||||
-target_compile_definitions(simpletextviewer PUBLIC
|
||||
- SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
|
||||
-)
|
||||
-
|
||||
target_link_libraries(simpletextviewer PUBLIC
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
diff --git a/examples/help/contextsensitivehelp/CMakeLists.txt b/examples/help/contextsensitivehelp/CMakeLists.txt
|
||||
index fb251dea7..dd0c30434 100644
|
||||
--- a/examples/help/contextsensitivehelp/CMakeLists.txt
|
||||
+++ b/examples/help/contextsensitivehelp/CMakeLists.txt
|
||||
@@ -27,10 +27,6 @@ set_target_properties(contextsensitivehelp PROPERTIES
|
||||
MACOSX_BUNDLE TRUE
|
||||
)
|
||||
|
||||
-target_compile_definitions(contextsensitivehelp PUBLIC
|
||||
- SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}/"
|
||||
-)
|
||||
-
|
||||
target_link_libraries(contextsensitivehelp PUBLIC
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
39
sources/meta-qt6/recipes-qt/qt6/qttools_git.bb
Normal file
39
sources/meta-qt6/recipes-qt/qt6/qttools_git.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause & BSL-1.0 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/BSL-1.0.txt;md5=8c92b4c255bdcce2989707d5b8a4d302 \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/assistant/qlitehtml/src/3rdparty/litehtml/LICENSE;md5=55d411204c54bf2524f471635a7d306a \
|
||||
file://src/assistant/qlitehtml/src/3rdparty/litehtml/src/gumbo/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI += " \
|
||||
${QT_GIT}/playground/qlitehtml.git;name=qttools-qlitehtml;branch=master;protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/assistant/qlitehtml \
|
||||
git://github.com/litehtml/litehtml.git;name=qttools-qlitehtml-litehtml;branch=master;destsuffix=git/src/assistant/qlitehtml/src/3rdparty/litehtml;protocol=https \
|
||||
file://0002-examples-don-t-track-source-path.patch \
|
||||
"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qttools-native"
|
||||
|
||||
QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') else ''}"
|
||||
PACKAGECONFIG:class-native = "${QTTOOLS_USE_CLANG}"
|
||||
PACKAGECONFIG:class-nativesdk = "${QTTOOLS_USE_CLANG}"
|
||||
PACKAGECONFIG:remove:mingw32 = "${QTTOOLS_USE_CLANG}"
|
||||
|
||||
PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"
|
||||
|
||||
FILES:${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRCREV_FORMAT = "qttools_qttools-qlitehtml_qttools-qlitehtml-litehtml"
|
||||
30
sources/meta-qt6/recipes-qt/qt6/qttranslations_git.bb
Normal file
30
sources/meta-qt6/recipes-qt/qt6/qttranslations_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0)"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qttools qttools-native"
|
||||
|
||||
PACKAGES = "${PN} ${PN}-dev"
|
||||
PACKAGES_DYNAMIC = "${PN}-*"
|
||||
PACKAGESPLITFUNCS:prepend = "split_translation_packages "
|
||||
|
||||
python split_translation_packages () {
|
||||
do_split_packages(d, d.expand('${QT6_INSTALL_TRANSLATIONSDIR}'),
|
||||
r'^(.*?)(?:_..)+\.qm$', d.expand('${PN}-%s'),
|
||||
'Qt translations for %s', extra_depends='')
|
||||
|
||||
# Add dynamic packages to the rrecommends of the main packages
|
||||
pn = d.getVar('PN')
|
||||
pkgs = oe.utils.packages_filter_out_system(d)
|
||||
d.setVar('RRECOMMENDS:' + pn, ' '.join(pkgs))
|
||||
}
|
||||
|
||||
FILES:${PN}-dev += "${QT6_INSTALL_TRANSLATIONSDIR}/catalogs.json"
|
||||
124
sources/meta-qt6/recipes-qt/qt6/qtvirtualkeyboard_git.bb
Normal file
124
sources/meta-qt6/recipes-qt/qt6/qtvirtualkeyboard_git.bb
Normal file
@@ -0,0 +1,124 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & GFDL-1.3-no-invariants-only) & Apache-2.0 & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/plugins/openwnn/3rdparty/openwnn/NOTICE;md5=50e3e853eb9dd5ccdf6192678106b3da \
|
||||
file://src/plugins/pinyin/3rdparty/pinyin/NOTICE;md5=42ec637ebc122938c27a784b351dafef \
|
||||
file://src/plugins/tcime/3rdparty/tcime/COPYING;md5=1474257e03071e0ffb9ed0db6dac8954 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
# To enabled Nuance T9 Write support, you need to provide the licensed components
|
||||
# and enable "t9write" in PACKAGECONFIG. This can be done in a separate .bbappend file.
|
||||
# for example:
|
||||
#T9WRITEPACKAGE = "${HOME}/Downloads/zzEval_QT_T9Write_Alpha_v750_20150916.zip"
|
||||
#SRC_URI += "file://${T9WRITEPACKAGE};subdir=git/src/virtualkeyboard/3rdparty/t9write"
|
||||
#PACKAGECONFIG = "t9write"
|
||||
|
||||
VKB_LANGUAGES ?= "\
|
||||
lang-ar_AR \
|
||||
lang-bg_BG \
|
||||
lang-cs_CZ \
|
||||
lang-da_DK \
|
||||
lang-de_DE \
|
||||
lang-el_GR \
|
||||
lang-en_GB \
|
||||
lang-en_US \
|
||||
lang-es_ES \
|
||||
lang-es_MX \
|
||||
lang-et_EE \
|
||||
lang-fa_FA \
|
||||
lang-fi_FI \
|
||||
lang-fr_CA \
|
||||
lang-fr_FR \
|
||||
lang-he_IL \
|
||||
lang-hi_IN \
|
||||
lang-hr_HR \
|
||||
lang-hu_HU \
|
||||
lang-id_ID \
|
||||
lang-it_IT \
|
||||
lang-ja_JP \
|
||||
lang-ko_KR \
|
||||
lang-ms_MY \
|
||||
lang-nb_NO \
|
||||
lang-nl_NL \
|
||||
lang-pl_PL \
|
||||
lang-pt_BR \
|
||||
lang-pt_PT \
|
||||
lang-ro_RO \
|
||||
lang-ru_RU \
|
||||
lang-sk_SK \
|
||||
lang-sl_SI \
|
||||
lang-sq_AL \
|
||||
lang-sr_SP \
|
||||
lang-sv_SE \
|
||||
lang-th_TH \
|
||||
lang-tr_TR \
|
||||
lang-uk_UA \
|
||||
lang-vi_VN \
|
||||
lang-zh_CN \
|
||||
lang-zh_TW \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= "${VKB_LANGUAGES} ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'desktop', '', d)}"
|
||||
|
||||
PACKAGECONFIG[desktop] = "-DFEATURE_vkb_desktop=ON,-DFEATURE_vkb_desktop=OFF"
|
||||
PACKAGECONFIG[arrow-keynavigation] = "-DFEATURE_vkb_arrow_keynavigation=ON,-DFEATURE_vkb_arrow_keynavigation=OFF"
|
||||
PACKAGECONFIG[hunspell] = "-DFEATURE_hunspell=ON,-DFEATURE_hunspell=OFF,hunspell"
|
||||
PACKAGECONFIG[t9write] = "-DFEATURE_t9write=ON,-DFEATURE_t9write=OFF"
|
||||
PACKAGECONFIG[lang-ar_AR] = "-DFEATURE_vkb_lang_ar_AR=ON,-DFEATURE_vkb_lang_ar_AR=OFF"
|
||||
PACKAGECONFIG[lang-bg_BG] = "-DFEATURE_vkb_lang_bg_BG=ON,-DFEATURE_vkb_lang_bg_BG=OFF"
|
||||
PACKAGECONFIG[lang-cs_CZ] = "-DFEATURE_vkb_lang_cs_CZ=ON,-DFEATURE_vkb_lang_cs_CZ=OFF"
|
||||
PACKAGECONFIG[lang-da_DK] = "-DFEATURE_vkb_lang_da_DK=ON,-DFEATURE_vkb_lang_da_DK=OFF"
|
||||
PACKAGECONFIG[lang-de_DE] = "-DFEATURE_vkb_lang_de_DE=ON,-DFEATURE_vkb_lang_de_DE=OFF"
|
||||
PACKAGECONFIG[lang-el_GR] = "-DFEATURE_vkb_lang_el_GR=ON,-DFEATURE_vkb_lang_el_GR=OFF"
|
||||
PACKAGECONFIG[lang-en_GB] = "-DFEATURE_vkb_lang_en_GB=ON,-DFEATURE_vkb_lang_en_GB=OFF"
|
||||
PACKAGECONFIG[lang-en_US] = "-DFEATURE_vkb_lang_en_US=ON,-DFEATURE_vkb_lang_en_US=OFF"
|
||||
PACKAGECONFIG[lang-es_ES] = "-DFEATURE_vkb_lang_es_ES=ON,-DFEATURE_vkb_lang_es_ES=OFF"
|
||||
PACKAGECONFIG[lang-es_MX] = "-DFEATURE_vkb_lang_es_MX=ON,-DFEATURE_vkb_lang_es_MX=OFF"
|
||||
PACKAGECONFIG[lang-et_EE] = "-DFEATURE_vkb_lang_et_EE=ON,-DFEATURE_vkb_lang_et_EE=OFF"
|
||||
PACKAGECONFIG[lang-fa_FA] = "-DFEATURE_vkb_lang_fa_FA=ON,-DFEATURE_vkb_lang_fa_FA=OFF"
|
||||
PACKAGECONFIG[lang-fi_FI] = "-DFEATURE_vkb_lang_fi_FI=ON,-DFEATURE_vkb_lang_fi_FI=OFF"
|
||||
PACKAGECONFIG[lang-fr_CA] = "-DFEATURE_vkb_lang_fr_CA=ON,-DFEATURE_vkb_lang_fr_CA=OFF"
|
||||
PACKAGECONFIG[lang-fr_FR] = "-DFEATURE_vkb_lang_fr_FR=ON,-DFEATURE_vkb_lang_fr_FR=OFF"
|
||||
PACKAGECONFIG[lang-he_IL] = "-DFEATURE_vkb_lang_he_IL=ON,-DFEATURE_vkb_lang_he_IL=OFF"
|
||||
PACKAGECONFIG[lang-hi_IN] = "-DFEATURE_vkb_lang_hi_IN=ON,-DFEATURE_vkb_lang_hi_IN=OFF"
|
||||
PACKAGECONFIG[lang-hr_HR] = "-DFEATURE_vkb_lang_hr_HR=ON,-DFEATURE_vkb_lang_hr_HR=OFF"
|
||||
PACKAGECONFIG[lang-hu_HU] = "-DFEATURE_vkb_lang_hu_HU=ON,-DFEATURE_vkb_lang_hu_HU=OFF"
|
||||
PACKAGECONFIG[lang-id_ID] = "-DFEATURE_vkb_lang_id_ID=ON,-DFEATURE_vkb_lang_id_ID=OFF"
|
||||
PACKAGECONFIG[lang-it_IT] = "-DFEATURE_vkb_lang_it_IT=ON,-DFEATURE_vkb_lang_it_IT=OFF"
|
||||
PACKAGECONFIG[lang-ja_JP] = "-DFEATURE_vkb_lang_ja_JP=ON,-DFEATURE_vkb_lang_ja_JP=OFF"
|
||||
PACKAGECONFIG[lang-ko_KR] = "-DFEATURE_vkb_lang_ko_KR=ON,-DFEATURE_vkb_lang_ko_KR=OFF"
|
||||
PACKAGECONFIG[lang-ms_MY] = "-DFEATURE_vkb_lang_ms_MY=ON,-DFEATURE_vkb_lang_ms_MY=OFF"
|
||||
PACKAGECONFIG[lang-nb_NO] = "-DFEATURE_vkb_lang_nb_NO=ON,-DFEATURE_vkb_lang_nb_NO=OFF"
|
||||
PACKAGECONFIG[lang-nl_NL] = "-DFEATURE_vkb_lang_nl_NL=ON,-DFEATURE_vkb_lang_nl_NL=OFF"
|
||||
PACKAGECONFIG[lang-pl_PL] = "-DFEATURE_vkb_lang_pl_PL=ON,-DFEATURE_vkb_lang_pl_PL=OFF"
|
||||
PACKAGECONFIG[lang-pt_BR] = "-DFEATURE_vkb_lang_pt_BR=ON,-DFEATURE_vkb_lang_pt_BR=OFF"
|
||||
PACKAGECONFIG[lang-pt_PT] = "-DFEATURE_vkb_lang_pt_PT=ON,-DFEATURE_vkb_lang_pt_PT=OFF"
|
||||
PACKAGECONFIG[lang-ro_RO] = "-DFEATURE_vkb_lang_ro_RO=ON,-DFEATURE_vkb_lang_ro_RO=OFF"
|
||||
PACKAGECONFIG[lang-ru_RU] = "-DFEATURE_vkb_lang_ru_RU=ON,-DFEATURE_vkb_lang_ru_RU=OFF"
|
||||
PACKAGECONFIG[lang-sk_SK] = "-DFEATURE_vkb_lang_sk_SK=ON,-DFEATURE_vkb_lang_sk_SK=OFF"
|
||||
PACKAGECONFIG[lang-sl_SI] = "-DFEATURE_vkb_lang_sl_SI=ON,-DFEATURE_vkb_lang_sl_SI=OFF"
|
||||
PACKAGECONFIG[lang-sq_AL] = "-DFEATURE_vkb_lang_sq_AL=ON,-DFEATURE_vkb_lang_sq_AL=OFF"
|
||||
PACKAGECONFIG[lang-sr_SP] = "-DFEATURE_vkb_lang_sr_SP=ON,-DFEATURE_vkb_lang_sr_SP=OFF"
|
||||
PACKAGECONFIG[lang-sv_SE] = "-DFEATURE_vkb_lang_sv_SE=ON,-DFEATURE_vkb_lang_sv_SE=OFF"
|
||||
PACKAGECONFIG[lang-th_TH] = "-DFEATURE_vkb_lang_th_TH=ON,-DFEATURE_vkb_lang_th_TH=OFF"
|
||||
PACKAGECONFIG[lang-tr_TR] = "-DFEATURE_vkb_lang_tr_TR=ON,-DFEATURE_vkb_lang_tr_TR=OFF"
|
||||
PACKAGECONFIG[lang-uk_UA] = "-DFEATURE_vkb_lang_uk_UA=ON,-DFEATURE_vkb_lang_uk_UA=OFF"
|
||||
PACKAGECONFIG[lang-vi_VN] = "-DFEATURE_vkb_lang_vi_VN=ON,-DFEATURE_vkb_lang_vi_VN=OFF"
|
||||
PACKAGECONFIG[lang-zh_CN] = "-DFEATURE_vkb_lang_zh_CN=ON,-DFEATURE_vkb_lang_zh_CN=OFF"
|
||||
PACKAGECONFIG[lang-zh_TW] = "-DFEATURE_vkb_lang_zh_TW=ON,-DFEATURE_vkb_lang_zh_TW=OFF"
|
||||
|
||||
PACKAGES += "${PN}-dictionaries"
|
||||
RRECOMMENDS:${PN} += "${PN}-dictionaries"
|
||||
FILES:${PN}-dictionaries = "${QT6_INSTALL_DATADIR}/qtvirtualkeyboard/*/*.dat"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtsvg qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
17
sources/meta-qt6/recipes-qt/qt6/qtvncserver_git.bb
Normal file
17
sources/meta-qt6/recipes-qt/qt6/qtvncserver_git.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
LICENSE = "The-Qt-Company-Commercial"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
include recipes-qt/qt6/qt6-commercial.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtwayland qtwayland-native"
|
||||
PACKAGECONFIG[libtomcrypt] = ",,libtomcrypt"
|
||||
@@ -0,0 +1,41 @@
|
||||
From 743bfbd8a9a11eb75234068c63e0b3f52e1a2823 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Wed, 29 Jan 2020 12:39:09 +0200
|
||||
Subject: [PATCH] Allow qtwaylandscanner to be built without dependencies
|
||||
|
||||
Change-Id: I15aa5fc5128fcd0925d5950596bd56710b5b81d4
|
||||
Upstream-Status: Inappropriate [OE Specific]
|
||||
---
|
||||
CMakeLists.txt | 5 -----
|
||||
src/CMakeLists.txt | 2 +-
|
||||
2 files changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c498e15b..21fadd02 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -18,11 +18,6 @@ find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
)
|
||||
qt_internal_project_setup()
|
||||
|
||||
-if(NOT MACOS AND NOT QNX AND (ANDROID OR NOT LINUX))
|
||||
- message(NOTICE "Skipping the build as the condition \"LINUX OR MACOS OR QNX\" is not met.")
|
||||
- return()
|
||||
-endif()
|
||||
-
|
||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
Core
|
||||
)
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index a38d9551..c4fe5fb1 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -20,7 +20,7 @@ endforeach()
|
||||
|
||||
qt_find_package(Wayland 1.15 PROVIDED_TARGETS ${wayland_libs})
|
||||
|
||||
-if (NOT WaylandScanner_FOUND OR NOT Wayland_FOUND)
|
||||
+if ((QT_FEATURE_wayland_server OR QT_FEATURE_wayland_client) AND (NOT WaylandScanner_FOUND OR NOT Wayland_FOUND))
|
||||
message(WARNING "QtWayland is missing required dependencies, nothing will be built. \
|
||||
Although this could be considered an error, the configuration will still pass as coin (Qt's \
|
||||
continuous integration system) will fail the build if configure fails, but will still try to \
|
||||
39
sources/meta-qt6/recipes-qt/qt6/qtwayland_git.bb
Normal file
39
sources/meta-qt6/recipes-qt/qt6/qtwayland_git.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause) & HPND & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/protocol/text-input/v2/HPND_LICENSE.txt;md5=147672b78461c805e65dc29a92591db1 \
|
||||
file://src/3rdparty/protocol/MIT_LICENSE.txt;md5=e8ad01a5182f2c1b3a2640e9ea268264 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
inherit features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland"
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI +="\
|
||||
file://0001-Allow-qtwaylandscanner-to-be-built-without-dependenc.patch \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= "\
|
||||
wayland-client \
|
||||
wayland-server \
|
||||
"
|
||||
PACKAGECONFIG:class-native ?= ""
|
||||
PACKAGECONFIG:class-nativesdk ?= ""
|
||||
|
||||
PACKAGECONFIG[wayland-client] = "-DFEATURE_wayland_client=ON,-DFEATURE_wayland_client=OFF,"
|
||||
PACKAGECONFIG[wayland-server] = "-DFEATURE_wayland_server=ON,-DFEATURE_wayland_server=OFF,"
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtwayland-native wayland wayland-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
22
sources/meta-qt6/recipes-qt/qt6/qtwebchannel_git.bb
Normal file
22
sources/meta-qt6/recipes-qt/qt6/qtwebchannel_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtwebsockets"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
47
sources/meta-qt6/recipes-qt/qt6/qtwebengine.inc
Normal file
47
sources/meta-qt6/recipes-qt/qt6/qtwebengine.inc
Normal file
@@ -0,0 +1,47 @@
|
||||
LICENSE = "(The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & LGPL-2.0-or-later & GFDL-1.3-no-invariants-only) & BSD-3-Clause & Apache-2.0 & MIT"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/Apache-2.0.txt;md5=b4c615f64dff32f71eeed614d13dfd4c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-2.0-or-later.txt;md5=efce6405b860a099130379f50121ec8b \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/MIT.txt;md5=3605d54ecceddcd50962eb89318779ec \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://LICENSE.Chromium;md5=d64fde5d347c3a68afe70f5e2e31fe83 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
inherit gettext
|
||||
inherit perlnative
|
||||
inherit python3native
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
# we don't want gettext.bbclass to append --enable-nls
|
||||
def gettext_oeconf(d):
|
||||
return ""
|
||||
|
||||
QT_MODULE = "qtwebengine"
|
||||
QT_MODULE_BRANCH_CHROMIUM = "122-based"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/qtwebengine:"
|
||||
|
||||
SRC_URI += " \
|
||||
${QT_GIT}/${QT_GIT_PROJECT}/qtwebengine-chromium.git;name=qtwebengine-chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty \
|
||||
file://0001-CMake-use-generated-yocto-toolchains.patch \
|
||||
file://0002-Enable-examples.patch \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0003-Do-not-build-webnn-with-xnnpack.patch;patchdir=src/3rdparty \
|
||||
"
|
||||
SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium"
|
||||
@@ -0,0 +1,62 @@
|
||||
From efa68fdedbec60380946f69a6a2f985958148e83 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Wed, 18 Aug 2021 15:09:41 +0300
|
||||
Subject: [PATCH] CMake: use generated yocto toolchains
|
||||
|
||||
Bitbake knows how to generate working toolchains, use those instead of
|
||||
ones done by webengine. No need to use separate host pkg-wrapper with
|
||||
these toolchain. No need to do separate host build, we'll use the
|
||||
target binaries where needed.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
|
||||
---
|
||||
cmake/Functions.cmake | 12 +++++-------
|
||||
src/CMakeLists.txt | 2 +-
|
||||
2 files changed, 6 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
|
||||
index 3371e5ff5..ac889d3f7 100644
|
||||
--- a/cmake/Functions.cmake
|
||||
+++ b/cmake/Functions.cmake
|
||||
@@ -825,7 +825,7 @@ endfunction()
|
||||
|
||||
macro(create_pkg_config_host_wrapper buildDir)
|
||||
find_package(PkgConfigHost)
|
||||
- if(CMAKE_CROSSCOMPILING)
|
||||
+ if(FALSE)
|
||||
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
|
||||
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
|
||||
endif()
|
||||
@@ -1097,14 +1097,12 @@ macro(append_toolchain_setup)
|
||||
elseif(LINUX)
|
||||
get_gn_arch(cpu ${TEST_architecture_arch})
|
||||
list(APPEND gnArgArg
|
||||
- custom_toolchain="${buildDir}/target_toolchain:target"
|
||||
- host_toolchain="${buildDir}/host_toolchain:host"
|
||||
+ custom_toolchain="//build/toolchain/yocto:yocto_target"
|
||||
+ host_toolchain="//build/toolchain/yocto:yocto_native"
|
||||
+ v8_snapshot_toolchain="//build/toolchain/yocto:yocto_target"
|
||||
)
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
- list(APPEND gnArgArg
|
||||
- v8_snapshot_toolchain="${buildDir}/v8_toolchain:v8"
|
||||
- target_cpu="${cpu}"
|
||||
- )
|
||||
+ list(APPEND gnArgArg target_cpu="${cpu}")
|
||||
else()
|
||||
list(APPEND gnArgArg host_cpu="${cpu}")
|
||||
endif()
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 0084697f2..1c9059ae6 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -161,7 +161,7 @@ endif()
|
||||
# HOST PROJECT
|
||||
##
|
||||
|
||||
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
|
||||
+if(FALSE)
|
||||
|
||||
if(NOT Gn_FOUND)
|
||||
message(FATAL_ERROR "\nHost gn not found - cross compilation not possible")
|
||||
@@ -0,0 +1,26 @@
|
||||
From 221aefe4d8777f45955cb100dfc4c7204c885a19 Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Tue, 31 Aug 2021 18:27:48 +0300
|
||||
Subject: [PATCH] Enable examples
|
||||
|
||||
The bug mentioned does not affect bitbake builds.
|
||||
|
||||
Change-Id: I076763d9241061f9cdb4d46bcd88e46bd4f783aa
|
||||
Upstream-Status: Inappropriate [OE Specific]
|
||||
---
|
||||
examples/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
|
||||
index ccad90e11..32cd6d69d 100644
|
||||
--- a/examples/CMakeLists.txt
|
||||
+++ b/examples/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
qt_examples_build_begin(EXTERNAL_BUILD)
|
||||
-if(NOT CMAKE_CROSSCOMPILING) #QTBUG-86533
|
||||
+if(TRUE) #QTBUG-86533
|
||||
if(TARGET Qt::WebEngineCore)
|
||||
add_subdirectory(webenginequick)
|
||||
endif()
|
||||
@@ -0,0 +1,65 @@
|
||||
From 23d02fd87c766b6aef2a5aa81186b3db3f13b82a Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
||||
Date: Tue, 7 Nov 2017 15:24:32 +0100
|
||||
Subject: [PATCH] v8: qemu wrapper
|
||||
|
||||
The patch below makes the V8 binaries run during the build be invoked through
|
||||
QEMU, as they are built for the target.
|
||||
|
||||
Upstream-Status: Inappropriate [embedder specific]
|
||||
|
||||
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
||||
Signed-off-by: Maksim Sisov <msisov@igalia.com>
|
||||
---
|
||||
chromium/tools/v8_context_snapshot/BUILD.gn | 1 +
|
||||
chromium/v8/BUILD.gn | 4 ++++
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/chromium/tools/v8_context_snapshot/BUILD.gn b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
index d868696dbf2..298273818ef 100644
|
||||
--- a/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
+++ b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
@@ -72,6 +72,7 @@ if (use_v8_context_snapshot) {
|
||||
output_path = rebase_path(output_file, root_build_dir)
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(get_label_info(":v8_context_snapshot_generator",
|
||||
"root_out_dir") +
|
||||
"/v8_context_snapshot_generator",
|
||||
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
|
||||
index 2f99c3d70b0..9b28cf2ed4c 100644
|
||||
--- a/chromium/v8/BUILD.gn
|
||||
+++ b/chromium/v8/BUILD.gn
|
||||
@@ -1870,6 +1870,7 @@ template("run_torque") {
|
||||
}
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
|
||||
root_build_dir),
|
||||
@@ -2002,6 +2003,7 @@ action("generate_bytecode_builtins_list") {
|
||||
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
|
||||
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(
|
||||
":bytecode_builtins_list_generator($v8_generator_toolchain)",
|
||||
@@ -2047,6 +2049,7 @@ template("run_mksnapshot") {
|
||||
data = []
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
|
||||
"root_out_dir") + "/mksnapshot",
|
||||
root_build_dir),
|
||||
@@ -5849,6 +5852,7 @@ if (v8_enable_i18n_support) {
|
||||
outputs = [ output_file ]
|
||||
|
||||
args = [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(
|
||||
get_label_info(
|
||||
":gen-regexp-special-case($v8_generator_toolchain)",
|
||||
@@ -0,0 +1,87 @@
|
||||
From 7eb6877c15ab9d73c9a7cf3a8a17a1a23f7396f9 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 29 Apr 2019 12:00:19 +0300
|
||||
Subject: [PATCH] Remove the GN settings done for clang that conflict with OE
|
||||
|
||||
clang cross compiler that is build with meta-clang has lot of these
|
||||
settings built-in and specifying them here confuses the compiler
|
||||
|
||||
--target option and -no-canonical-prefixes options result in clang
|
||||
|
||||
finding the headers in target sysroot
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Rebased-by: Maksim Sisov <msisov@igalia.com>
|
||||
Rebased-by: Randy MacLeod <randy.macleod@windriver.com>
|
||||
|
||||
---
|
||||
build/config/compiler/BUILD.gn | 38 ----------------------------------
|
||||
1 file changed, 38 deletions(-)
|
||||
|
||||
--- a/chromium/build/config/compiler/BUILD.gn
|
||||
+++ b/chromium/build/config/compiler/BUILD.gn
|
||||
@@ -1065,11 +1065,6 @@ config("compiler_cpu_abi") {
|
||||
]
|
||||
}
|
||||
} else if (current_cpu == "arm") {
|
||||
- if (is_clang && !is_android && !is_nacl &&
|
||||
- !(is_chromeos_lacros && is_chromeos_device)) {
|
||||
- cflags += [ "--target=arm-linux-gnueabihf" ]
|
||||
- ldflags += [ "--target=arm-linux-gnueabihf" ]
|
||||
- }
|
||||
if (!is_nacl) {
|
||||
cflags += ["-mfloat-abi=$arm_float_abi"]
|
||||
if (arm_arch != "") {
|
||||
@@ -1082,12 +1077,6 @@ config("compiler_cpu_abi") {
|
||||
if (arm_tune != "") {
|
||||
cflags += [ "-mtune=$arm_tune" ]
|
||||
}
|
||||
- } else if (current_cpu == "arm64") {
|
||||
- if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
|
||||
- !(is_chromeos_lacros && is_chromeos_device)) {
|
||||
- cflags += [ "--target=aarch64-linux-gnu" ]
|
||||
- ldflags += [ "--target=aarch64-linux-gnu" ]
|
||||
- }
|
||||
} else if (current_cpu == "mipsel" && !is_nacl) {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
@@ -1095,9 +1084,6 @@ config("compiler_cpu_abi") {
|
||||
if (is_android) {
|
||||
cflags += [ "--target=mipsel-linux-android" ]
|
||||
ldflags += [ "--target=mipsel-linux-android" ]
|
||||
- } else {
|
||||
- cflags += [ "--target=mipsel-linux-gnu" ]
|
||||
- ldflags += [ "--target=mipsel-linux-gnu" ]
|
||||
}
|
||||
} else {
|
||||
cflags += [ "-EL" ]
|
||||
@@ -1177,8 +1163,6 @@ config("compiler_cpu_abi") {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
if (is_clang) {
|
||||
- cflags += [ "--target=mips-linux-gnu" ]
|
||||
- ldflags += [ "--target=mips-linux-gnu" ]
|
||||
} else {
|
||||
cflags += [ "-EB" ]
|
||||
ldflags += [ "-EB" ]
|
||||
@@ -1226,9 +1210,6 @@ config("compiler_cpu_abi") {
|
||||
if (is_android) {
|
||||
cflags += [ "--target=mips64el-linux-android" ]
|
||||
ldflags += [ "--target=mips64el-linux-android" ]
|
||||
- } else {
|
||||
- cflags += [ "--target=mips64el-linux-gnuabi64" ]
|
||||
- ldflags += [ "--target=mips64el-linux-gnuabi64" ]
|
||||
}
|
||||
} else {
|
||||
cflags += [
|
||||
@@ -1286,8 +1267,6 @@ config("compiler_cpu_abi") {
|
||||
ldflags += [ "-Wl,--hash-style=sysv" ]
|
||||
if (custom_toolchain == "") {
|
||||
if (is_clang) {
|
||||
- cflags += [ "--target=mips64-linux-gnuabi64" ]
|
||||
- ldflags += [ "--target=mips64-linux-gnuabi64" ]
|
||||
} else {
|
||||
cflags += [
|
||||
"-EB",
|
||||
@@ -0,0 +1,34 @@
|
||||
From e7f11f7135104d1b05fb26637502ec3d19e4c2cd Mon Sep 17 00:00:00 2001
|
||||
From: Michal Klocek <michal.klocek@qt.io>
|
||||
Date: Wed, 14 Aug 2024 13:40:31 +0200
|
||||
Subject: [PATCH] Do not build webnn with xnnpack for arm64
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Change-Id: Ib23b6da98eddc8319fa79e8c1365b4e67d21086d
|
||||
---
|
||||
.../third_party/blink/renderer/modules/ml/webnn/features.gni | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
index 941740db3e3..50e139dc1af 100644
|
||||
--- a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
+++ b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
|
||||
@@ -3,12 +3,13 @@
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//build/config/chrome_build.gni")
|
||||
+import("//build/config/features.gni")
|
||||
declare_args() {
|
||||
# This enables building WebNN with XNNPACK. Currently only available for
|
||||
# Windows, macOS and Linux on x64, x86 and arm64.
|
||||
build_webnn_with_xnnpack = (is_linux || is_win || is_mac) &&
|
||||
(current_cpu == "x64" || current_cpu == "x86" ||
|
||||
- (current_cpu == "arm64" && !is_win))
|
||||
+ (current_cpu == "arm64" && !is_win && !is_qtwebengine))
|
||||
|
||||
# This build flag enables WebNN to access hardware acceleration using TFLite
|
||||
# via the ModelLoader mojo interface.
|
||||
--
|
||||
2.43.2
|
||||
|
||||
97
sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb
Normal file
97
sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb
Normal file
@@ -0,0 +1,97 @@
|
||||
require recipes-qt/qt6/qtwebengine.inc
|
||||
require recipes-qt/qt6/chromium-gn.inc
|
||||
|
||||
DEPENDS += " \
|
||||
fontconfig-native \
|
||||
nodejs-native \
|
||||
gperf-native \
|
||||
bison-native \
|
||||
qemu-native \
|
||||
nss nss-native \
|
||||
qtbase qtdeclarative qtdeclarative-native \
|
||||
gn-native \
|
||||
python3-html5lib-native \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DFEATURE_qtwebengine_build=ON \
|
||||
-DFEATURE_qtpdf_build=OFF \
|
||||
"
|
||||
|
||||
# chromium/third_party/openh264/BUILD.gn add -Wno-format to cflags
|
||||
# causing following error, because -Wformat-security cannot be used together with -Wno-format
|
||||
# cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
|
||||
# http://errors.yoctoproject.org/Errors/Details/150333/
|
||||
SECURITY_STRINGFORMAT = ""
|
||||
|
||||
PACKAGECONFIG ??= "\
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'ozone-x11', '', d)} \
|
||||
geolocation \
|
||||
glib \
|
||||
lcms2 \
|
||||
libevent \
|
||||
libjpeg \
|
||||
libpci \
|
||||
libpng \
|
||||
libwebp \
|
||||
opus \
|
||||
pepper-plugins \
|
||||
printing-and-pdf \
|
||||
snappy \
|
||||
spellchecker \
|
||||
webchannel \
|
||||
webrtc \
|
||||
zlib \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[alsa] = "-DFEATURE_webengine_system_alsa=ON,-DFEATURE_webengine_system_alsa=OFF,alsa-lib"
|
||||
PACKAGECONFIG[ffmpeg] = "-DFEATURE_webengine_system_ffmpeg=ON,-DFEATURE_webengine_system_ffmpeg=OFF,libav"
|
||||
PACKAGECONFIG[freetype] = "-DFEATURE_webengine_system_freetype=ON,-DFEATURE_webengine_system_freetype=OFF,freetype"
|
||||
PACKAGECONFIG[geolocation] = "-DFEATURE_webengine_geolocation=ON,-DFEATURE_webengine_geolocation=OFF,qtpositioning"
|
||||
PACKAGECONFIG[glib] = "-DFEATURE_webengine_system_glib=ON,-DFEATURE_webengine_system_glib=OFF,glib-2.0"
|
||||
PACKAGECONFIG[harfbuzz] = "-DFEATURE_webengine_system_harfbuzz=ON,-DFEATURE_webengine_system_harfbuzz=OFF,harfbuzz"
|
||||
PACKAGECONFIG[icu] = "-DFEATURE_webengine_system_icu=ON,-DFEATURE_webengine_system_icu=OFF,icu"
|
||||
PACKAGECONFIG[lcms2] = "-DFEATURE_webengine_system_lcms2=ON,-DFEATURE_webengine_system_lcms2=OFF,lcms"
|
||||
PACKAGECONFIG[libevent] = "-DFEATURE_webengine_system_libevent=ON,-DFEATURE_webengine_system_libevent=OFF,libevent libevent-native"
|
||||
PACKAGECONFIG[libjpeg] = "-DFEATURE_webengine_system_libjpeg=ON,-DFEATURE_webengine_system_libjpeg=OFF,jpeg"
|
||||
PACKAGECONFIG[libpng] = "-DFEATURE_webengine_system_libpng=ON,-DFEATURE_webengine_system_libpng=OFF,libpng"
|
||||
PACKAGECONFIG[libvpx] = "-DFEATURE_webengine_system_libvpx=ON,-DFEATURE_webengine_system_libvpx=OFF,libvpx"
|
||||
PACKAGECONFIG[libwebp] = "-DFEATURE_webengine_system_libwebp=ON,-DFEATURE_webengine_system_libwebp=OFF,libwebp libwebp-native"
|
||||
PACKAGECONFIG[libxml] = "-DFEATURE_webengine_system_libxml=ON,-DFEATURE_webengine_system_libxml=OFF,libxml2 libxslt"
|
||||
PACKAGECONFIG[opus] = "-DFEATURE_webengine_system_opus=ON,-DFEATURE_webengine_system_opus=OFF,libopus"
|
||||
PACKAGECONFIG[ozone-x11] = "-DFEATURE_webengine_ozone_x11=ON,-DFEATURE_webengine_ozone_x11=OFF,libxcomposite libxcursor libxi libxrandr libxtst libxkbfile libxdamage virtual/libgl"
|
||||
PACKAGECONFIG[libpci] = "-DFEATURE_webengine_system_libpci=ON,-DFEATURE_webengine_system_libpci=OFF,pciutils"
|
||||
PACKAGECONFIG[pepper-plugins] = "-DFEATURE_webengine_pepper_plugins=ON,-DFEATURE_webengine_pepper_plugins=OFF"
|
||||
PACKAGECONFIG[printing-and-pdf] = "-DFEATURE_webengine_printing_and_pdf=ON,-DFEATURE_webengine_printing_and_pdf=OFF,cups"
|
||||
PACKAGECONFIG[proprietary-codecs] = "-DFEATURE_webengine_proprietary_codecs=ON,-DFEATURE_webengine_proprietary_codecs=OFF"
|
||||
PACKAGECONFIG[pulseaudio] = "-DFEATURE_webengine_system_pulseaudio=ON,-DFEATURE_webengine_system_pulseaudio=OFF,pulseaudio"
|
||||
PACKAGECONFIG[re2] = "-DFEATURE_webengine_system_re2=ON,-DFEATURE_webengine_system_re2=OFF,re2"
|
||||
PACKAGECONFIG[snappy] = "-DFEATURE_webengine_system_snappy=ON,-DFEATURE_webengine_system_snappy=OFF,snappy"
|
||||
PACKAGECONFIG[spellchecker] = "-DFEATURE_webengine_spellchecker=ON,-DFEATURE_webengine_spellchecker=OFF"
|
||||
PACKAGECONFIG[webchannel] = "-DFEATURE_webengine_webchannel=ON,-DFEATURE_webengine_webchannel=OFF,qtwebchannel"
|
||||
PACKAGECONFIG[webrtc] = "-DFEATURE_webengine_webrtc=ON,-DFEATURE_webengine_webrtc=OFF,libvpx"
|
||||
PACKAGECONFIG[webrtc-pipewire] = "-DFEATURE_webengine_webrtc_pipewire=ON,-DFEATURE_webengine_webrtc_pipewire=OFF,pipewire glib-2.0 libepoxy virtual/libgbm"
|
||||
PACKAGECONFIG[zlib] = "-DFEATURE_webengine_system_zlib=ON -DFEATURE_webengine_system_minizip=ON,-DFEATURE_webengine_system_zlib=OFF -DFEATURE_webengine_system_minizip=OFF,zlib minizip"
|
||||
|
||||
do_install:append() {
|
||||
# remove conflicting files with QtPdf
|
||||
rm -f ${D}${libdir}/sbom/qtpdf*
|
||||
}
|
||||
|
||||
FILES:${PN} += "\
|
||||
${QT6_INSTALL_TRANSLATIONSDIR} \
|
||||
${QT6_INSTALL_DATADIR}/resources \
|
||||
"
|
||||
|
||||
FILES:${PN}-tools = ""
|
||||
|
||||
# QA Issue: qtwebengine: ELF binary /usr/lib/libQt6WebEngineCore.so.6.3.0 has relocations in .text [textrel]
|
||||
# when proprietary-codecs is enabled
|
||||
INSANE_SKIP:${PN} += "textrel"
|
||||
|
||||
# QTBUG-109565 workaround: Disable GCC -O2 on armv7a-neon due to stack alignment issue
|
||||
FULL_OPTIMIZATION:remove:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', '-O2', '', d)}"
|
||||
FULL_OPTIMIZATION:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', ' -O1', '', d)}"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
18
sources/meta-qt6/recipes-qt/qt6/qtwebsockets_git.bb
Normal file
18
sources/meta-qt6/recipes-qt/qt6/qtwebsockets_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
23
sources/meta-qt6/recipes-qt/qt6/qtwebview_git.bb
Normal file
23
sources/meta-qt6/recipes-qt/qt6/qtwebview_git.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
LICENSE = "The-Qt-Company-Commercial | GPL-3.0-only & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only) & GFDL-1.3-no-invariants-only & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
||||
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
||||
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qtwebengine"
|
||||
|
||||
COMPATIBLE_MACHINE = "(-)"
|
||||
COMPATIBLE_MACHINE:aarch64 = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv6 = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv7a = "(.*)"
|
||||
COMPATIBLE_MACHINE:armv7ve = "(.*)"
|
||||
COMPATIBLE_MACHINE:x86-64 = "(.*)"
|
||||
Reference in New Issue
Block a user