From b2881c336770d5a04a6b0ec8595617cad85d7dcf Mon Sep 17 00:00:00 2001 From: Ouyang Jun Date: Thu, 4 Jul 2019 06:06:44 -0700 Subject: Enable eglfs for QT based application in cluster profile Platform eglfs should be enabled if using a qtwayland compositor instead of weston. Bug-AGL: SPEC-2487 Signed-off-by: Ouyang Jun Signed-off-by: Zhou Mingying Signed-off-by: Liu Wenlong Change-Id: Ic4d35999ea5f3f08b7a47baa5cf2f48bc01df6ee --- ...ackagegroup-agl-profile-cluster-qtcompositor.bb | 35 ++++++++++++++++++++++ .../recipes-qt/qt5/qtbase_%.bbappend | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 meta-agl-profile-cluster-qt5/recipes-platform/packagegroups/packagegroup-agl-profile-cluster-qtcompositor.bb create mode 100644 meta-agl-profile-cluster-qt5/recipes-qt/qt5/qtbase_%.bbappend diff --git a/meta-agl-profile-cluster-qt5/recipes-platform/packagegroups/packagegroup-agl-profile-cluster-qtcompositor.bb b/meta-agl-profile-cluster-qt5/recipes-platform/packagegroups/packagegroup-agl-profile-cluster-qtcompositor.bb new file mode 100644 index 000000000..31280bb20 --- /dev/null +++ b/meta-agl-profile-cluster-qt5/recipes-platform/packagegroups/packagegroup-agl-profile-cluster-qtcompositor.bb @@ -0,0 +1,35 @@ +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}" diff --git a/meta-agl-profile-cluster-qt5/recipes-qt/qt5/qtbase_%.bbappend b/meta-agl-profile-cluster-qt5/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 000000000..be4a62ae1 --- /dev/null +++ b/meta-agl-profile-cluster-qt5/recipes-qt/qt5/qtbase_%.bbappend @@ -0,0 +1,3 @@ +#Enable eglfs for QT based application + +PACKAGECONFIG_GL_append = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' eglfs kms gbm', '', d)}" -- cgit 1.2.3-korg