xref: /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwebglplugin_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunrequire qt5.inc
2*4882a593Smuzhiyunrequire qt5-git.inc
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunLICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = " \
6*4882a593Smuzhiyun    file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
7*4882a593Smuzhiyun"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunDEPENDS += "qtbase qtwebsockets"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunPACKAGECONFIG ?= "qtdeclarative"
12*4882a593SmuzhiyunPACKAGECONFIG[qtdeclarative] = ",,qtdeclarative"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyundo_configure:prepend() {
15*4882a593Smuzhiyun    # disable qtdeclarative test if it isn't enabled by PACKAGECONFIG
16*4882a593Smuzhiyun    sed -e 's/^\(qtHaveModule(quick)\)/OE_QTDECLARATIVE_ENABLED:\1/' -i ${S}/src/plugins/platforms/webgl/webgl.pro
17*4882a593Smuzhiyun}
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunEXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'qtdeclarative', 'CONFIG+=OE_QTDECLARATIVE_ENABLED', '', d)}"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSRCREV = "e0a130b9a4d83f90e4b3965fd2644a6acc48cbc4"
22