X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-qt%2Fqt5%2Fqtbase_%25.bbappend;h=203b3264b8f90f1ee0bc330284e31f616ec0619f;hb=ea4276348fa0eb54be3240f69c269278c4a36acd;hp=026e76fec5d7713bbbbf6bf9749a76ca10b9850a;hpb=c893ae9b7e61a833899b181e0017ee2cfab8b97e;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend index 026e76fec..203b3264b 100644 --- a/recipes-qt/qt5/qtbase_%.bbappend +++ b/recipes-qt/qt5/qtbase_%.bbappend @@ -1,13 +1,19 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" DEPENDS_append_koelsch = " libegl" -DEPENDS_append_porter = " libegl" +#DEPENDS_append_porter = " libegl" +DEPENDS_append_porter = " ${@base_conditional('PREFERRED_PROVIDER_virtual/egl', 'mesa', 'mesa', 'libegl', d)}" +PACKAGECONFIG_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" -PACKAGECONFIG_append = " icu accessibility eglfs" -PACKAGECONFIG_append_rpi = " fontconfig" +PACKAGECONFIG_append = " ${PACKAGECONFIG_WAYLAND} icu accessibility" +PACKAGECONFIG_append = " fontconfig" +PACKAGECONFIG_append = " sql-sqlite" EXTRA_OECONF_append = "" +# '-qpa wayland-egl' set wayland-egl as default of platform plagins +PACKAGECONFIG[wayland]="-qpa wayland-egl -no-qpa-platform-guard" -PACKAGECONFIG[gles2]="-opengl es2 -eglfs,,virtual/libgles2 virtual/egl" +# Temporarily fix bug due to binutils 2.28 +QT_CONFIG_FLAGS_append = " -no-use-gold-linker"