-
Notifications
You must be signed in to change notification settings - Fork 30
/
qtdeclarative_git.bbappend
45 lines (36 loc) · 1.35 KB
/
qtdeclarative_git.bbappend
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2014-2022 LG Electronics, Inc.
inherit webos_qt_global
EXTENDPRAUTO:append = "webos77"
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
PATCHTOOL = "git"
# Upstream-Status: Backport
SRC_URI:append = " \
file://0001-Correctly-handle-QQuickState-when.patch;maxver=6.2.3 \
"
# Upstream-Status: Submitted
# NOTE: Increase maxver when upgrading Qt version
SRC_URI:append = " \
file://0001-Check-if-a-device-in-knownPointingDevices-is-destroy.patch;maxver=6.3.0 \
"
# Upstream-Status: Inappropriate
# NOTE: Increase maxver when upgrading Qt version
SRC_URI:append = " \
file://0002-Revert-Don-t-hide-the-inputMethod-when-finishing-the.patch;maxver=6.3.0 \
"
# Supplement tool for qmllint
inherit webos_qmake6_paths
DEPENDS:append:class-native = " python3-regex-native"
SRC_URI:append:class-native = " file://qmllint-supplement.py"
do_install:append:class-native() {
install -m 755 ${WORKDIR}/qmllint-supplement.py ${D}${OE_QMAKE_PATH_QT_BINS}
}
# TODO: To workaround the build issue where a recipe that depends on
# qtdeclarative fails at do_configure with CMake errors like:
# The imported target "Qt6::qmltyperegistrar" references the file
# ".../recipe-sysroot/usr/libexec/qmltyperegistrar"
# The imported target "Qt6::qmldom" references the file
# ".../recipe-sysroot/usr/bin/qmldom"
SYSROOT_DIRS:append = " \
${bindir} \
${libexecdir} \
"