aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwayland_git.bb
blob: 170b3673ec9de53bf6311c30a402a5acd0023411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require qt5-git.inc
require ${PN}.inc

# qtwayland wasn't released yet, last tag before this SRCREV is 5.0.0-beta1,
# but we'll use 5.0.2+git to indicate this version is compatible with 5.0.2
PV = "5.0.2+git${SRCPV}"

# drop when bumping SRCREV
PR = "r2"

SRCREV = "5cb159395eccb1d96fb73a78e499eef30aacb46d"

SRC_URI += " \
    file://0004-EGL-Specify-vec2d-precision-qualifier-in-fragment-sh.patch \
"

do_configure_prepend() {
    # Temporary hack to get qtwayland build for Qt 5.0.2
    if ! grep -q MODULE_VERSION ${S}/.qmake.conf; then
        echo "MODULE_VERSION = 0.0.0" >> ${S}/.qmake.conf
    fi
}