57fcfb48b587a38e31419064416107639c81488b
[AGL/meta-agl.git] / meta-agl-core / dynamic-layers / meta-qt5 / recipes-qt / qt5 / qtbase_aglcore.inc
1 FILESEXTRAPATHS:prepend := "${THISDIR}/qtbase:"
2
3 SRC_URI:append = " \
4     file://0001-Don-t-use-a-deprecated-function-if-built-linked-with.patch \
5     file://0002-Adapt-for-q_EVP_PKEY_base_id-q_EVP_PKEY_get_base_id-.patch \
6 "
7
8 PACKAGECONFIG_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
9
10 PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
11
12 PACKAGECONFIG:append = " ${PACKAGECONFIG_WAYLAND}"
13
14 # '-qpa wayland-egl' set wayland-egl as default of platform plugins
15 PACKAGECONFIG[wayland]="-qpa wayland-egl -no-qpa-platform-guard"