blob: f67337db48d09e8219c01f566f39a74879222c01 (
plain)
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
|
LICENSE = "GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
"
inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6-lts.inc
include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qttools qttools-native"
PACKAGES = "${PN}"
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))
}
|