summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt/qtbase_agldemo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt/qtbase_agldemo.inc')
-rw-r--r--recipes-qt/qt/qtbase_agldemo.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-qt/qt/qtbase_agldemo.inc b/recipes-qt/qt/qtbase_agldemo.inc
new file mode 100644
index 000000000..357e1e8bb
--- /dev/null
+++ b/recipes-qt/qt/qtbase_agldemo.inc
@@ -0,0 +1,16 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:"
+
+PACKAGECONFIG_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
+
+PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
+# FIXME CLUSTER
+#PACKAGECONFIG_GL_append = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' eglfs kms gbm', '', d)}"
+#
+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"