Platform eglfs should be enabled if using a qtwayland
compositor instead of weston.
Bug-AGL: SPEC-2487
Signed-off-by: Ouyang Jun <ouyangj.fnst@cn.fujitsu.com>
Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
Change-Id: Ic4d35999ea5f3f08b7a47baa5cf2f48bc01df6ee
--- /dev/null
+SUMMARY = "The middleware for AGL Qt5 based cluster qtcompositor"
+DESCRIPTION = "The set of packages required for AGL Qt5 based Cluster Demo Qtcompositor Distribution"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+ packagegroup-agl-profile-cluster-qtcompositor \
+ profile-cluster-qt5 \
+ "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+ packagegroup-agl-image-boot \
+ packagegroup-agl-core-security \
+ packagegroup-agl-core-connectivity \
+"
+
+QT_LITE = " \
+ qtbase \
+ qtdeclarative \
+ qtwayland \
+ qtgraphicaleffects-qmlplugins \
+ qtsvg-plugins \
+ qtwebsockets \
+ qtwebsockets-qmlplugins \
+"
+
+RDEPENDS_${PN}_append = " \
+ ${QT_LITE} \
+ agl-login-manager \
+"
+
+RDEPENDS_profile-cluster-qt5 = "${PN}"
--- /dev/null
+#Enable eglfs for QT based application
+
+PACKAGECONFIG_GL_append = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' eglfs kms gbm', '', d)}"