xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunrequire qt5.inc
2*4882a593Smuzhiyunrequire qt5-git.inc
3*4882a593Smuzhiyunrequire qt5-ptest.inc
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunHOMEPAGE = "http://www.qt.io"
6*4882a593SmuzhiyunLICENSE = "GFDL-1.3 & BSD-3-Clause & ( GPL-3.0-only & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0-or-later | LGPL-3.0-only | The-Qt-Company-Commercial )"
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = " \
8*4882a593Smuzhiyun    file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
9*4882a593Smuzhiyun    file://LICENSE.GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10*4882a593Smuzhiyun    file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
11*4882a593Smuzhiyun    file://LICENSE.GPL3-EXCEPT;md5=763d8c535a234d9a3fb682c7ecb6c073 \
12*4882a593Smuzhiyun    file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
13*4882a593Smuzhiyun"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunDEPENDS += "qtbase"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunPACKAGECONFIG ?= ""
18*4882a593SmuzhiyunPACKAGECONFIG:class-target ?= "qtdeclarative"
19*4882a593SmuzhiyunPACKAGECONFIG[qtdeclarative] = ",,qtdeclarative"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyundo_configure:prepend() {
22*4882a593Smuzhiyun    # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG
23*4882a593Smuzhiyun    sed -e 's/qtHaveModule(qml)/OE_QTDECLARATIVE_ENABLED/' -i ${S}/src/src.pro
24*4882a593Smuzhiyun}
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunEXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtdeclarative', 'CONFIG+=OE_QTDECLARATIVE_ENABLED', '', d)}"
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunSRCREV = "97209f5679a72cc926d14ba689b801db3af4f96b"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunBBCLASSEXTEND =+ "native nativesdk"
31