From 1ccfd76fbdd7bb5fba6c98ddd965a00798c393dd Mon Sep 17 00:00:00 2001 From: Ouyang Jun Date: Mon, 15 Jul 2019 00:30:48 -0700 Subject: Add a shrink agl-demo-platform version Base on agl-demo-platform, make a shrink version for low performance board can run agl-demo-platform. Weston, hmi-framework, some APPs and some services were deleted. Using cluster-dashboard as 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: I96bb337f6ae157f696fc2e4fb61cdd7afc8f5109 --- .../images/agl-cluster-demo-qtcompositor.bb | 15 ++++++ .../images/agl-cluster-demo-qtcompositor.inc | 2 + .../packagegroup-agl-cluster-demo-qtcompositor.bb | 60 ++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 recipes-platform/images/agl-cluster-demo-qtcompositor.bb create mode 100644 recipes-platform/images/agl-cluster-demo-qtcompositor.inc create mode 100644 recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb (limited to 'recipes-platform') diff --git a/recipes-platform/images/agl-cluster-demo-qtcompositor.bb b/recipes-platform/images/agl-cluster-demo-qtcompositor.bb new file mode 100644 index 0000000..d6f3256 --- /dev/null +++ b/recipes-platform/images/agl-cluster-demo-qtcompositor.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "AGL Cluster Demo Qtwayland Compositor image currently contains a \ +simple cluster interface and some AGL service." + +require agl-cluster-demo-qtcompositor.inc + +LICENSE = "MIT" + +IMAGE_FEATURES_append = " \ + " + +# add packages for cluster demo qtcompositor +IMAGE_INSTALL_append = " \ + packagegroup-agl-cluster-demo-qtcompositor \ + " + diff --git a/recipes-platform/images/agl-cluster-demo-qtcompositor.inc b/recipes-platform/images/agl-cluster-demo-qtcompositor.inc new file mode 100644 index 0000000..11c1ebc --- /dev/null +++ b/recipes-platform/images/agl-cluster-demo-qtcompositor.inc @@ -0,0 +1,2 @@ +# Base image +require recipes-platform/images/agl-image-cluster-qt5.inc diff --git a/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb new file mode 100644 index 0000000..879248c --- /dev/null +++ b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb @@ -0,0 +1,60 @@ +SUMMARY = "The software for AGL Cluster Demo Qtwayland Compositor" +DESCRIPTION = "A set of packages belong to AGL Cluster Demo Qtwayland Compositor" + +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-cluster-demo-qtcompositor \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} += "\ + packagegroup-agl-profile-cluster-qtcompositor \ + " + +AGL_SERVICE = " \ + agl-service-bluetooth \ + agl-service-can-low-level \ + agl-service-data-persistence \ + agl-service-gps \ + agl-service-network \ + agl-service-unicens \ + agl-service-hvac \ + agl-service-nfc \ + agl-service-identity-agent \ + " + +SMARTDEVICELINK = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-sdl', \ + 'sdl-core', '', d)}" + +# fonts +TTF_FONTS = " \ + ttf-bitstream-vera \ + ttf-dejavu-sans \ + ttf-dejavu-sans-mono \ + ttf-dejavu-serif \ + " + +AGL_APPS = " \ + cluster-gauges-qtcompositor \ + " + +RDEPENDS_${PN}_append = " \ + libva-utils \ + linux-firmware-ralink \ + connman \ + connman-client \ + connman-tools \ + cluster-connman-conf \ + iproute2 \ + dhcp-client \ + can-utils \ + most \ + ${TTF_FONTS} \ + ${AGL_SERVICE} \ + ${AGL_APPS} \ + ${SMARTDEVICELINK} \ +" -- cgit 1.2.3-korg