diff options
author | Ouyang Jun <ouyangj.fnst@cn.fujitsu.com> | 2019-07-04 06:06:44 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-25 21:46:15 +0000 |
commit | b2881c336770d5a04a6b0ec8595617cad85d7dcf (patch) | |
tree | b715b916d38ed5bb871a0d801773f883cab62eaf | |
parent | 4cdc4af08bd542a9e04d8b619698c21dcac8e674 (diff) |
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 <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
-rw-r--r-- | meta-agl-profile-cluster-qt5/recipes-platform/packagegroups/packagegroup-agl-profile-cluster-qtcompositor.bb | 35 | ||||
-rw-r--r-- | meta-agl-profile-cluster-qt5/recipes-qt/qt5/qtbase_%.bbappend | 3 |
2 files changed, 38 insertions, 0 deletions
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)}" |