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