summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-21 02:57:20 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-21 18:05:16 -0500
commit02cfa485e1304b5d81685a1e3cb0ad331c0a35d3 (patch)
treef33acaa54eab3d6a63b809ae839210b3db09ddaf
parent27c0f82cb598135902c5ace777241b650f4421d7 (diff)
Update Flutter demo image to use Flutter homescreen
Changes: - Update Flutter demo image packagegroup to replace the Qt demo homescreen and launcher with the new Flutter homescreen. The list of apps to install has been tweaked to drop the Qt HVAC and dashboard applications and add the Qt settings, mediaplayer, and navigation apps, to better reflect what is likely to be usable for ALS and CES. - A AGL_FLUTTER_RUNTIME variable has been used in the Flutter demo image packagegroup to allow potentially switching the Flutter packages from release to debug or profile versions. - Add Flutter homescreen specific weston-ini-conf-flutter package to the Flutter demo image. - Tweak the application display names for the Flutter dashboard and HVAC applications to drop the Flutter prefix since they will be the only versions present in the Flutter demo image. Bug-AGL: SPEC-4615 Change-Id: Iec1c139b72cbd953420f23484942ad255080f4f7 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--recipes-demo/flutter-dashboard/flutter-dashboard_git.bb7
-rw-r--r--recipes-demo/flutter-hvac/flutter-hvac_git.bb2
-rw-r--r--recipes-platform/images/agl-ivi-demo-platform-flutter.bb1
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb21
4 files changed, 15 insertions, 16 deletions
diff --git a/recipes-demo/flutter-dashboard/flutter-dashboard_git.bb b/recipes-demo/flutter-dashboard/flutter-dashboard_git.bb
index d44b30c97..e7297c359 100644
--- a/recipes-demo/flutter-dashboard/flutter-dashboard_git.bb
+++ b/recipes-demo/flutter-dashboard/flutter-dashboard_git.bb
@@ -31,16 +31,11 @@ FLUTTER_BUILD_ARGS = "bundle -v"
#########
AGL_APP_TEMPLATE = "agl-app-flutter"
AGL_APP_ID = "dashboard_app"
-AGL_APP_NAME = "Flutter Dashboard"
-
-
+AGL_APP_NAME = "Dashboard"
do_install:append() {
install -d ${D}${sysconfdir}/xdg/AGL
install -m 0644 ${WORKDIR}/dashboard_config.yaml ${D}${sysconfdir}/xdg/AGL/
-
-
-
}
FILES:${PN} += "${sysconfdir}/xdg/AGL"
diff --git a/recipes-demo/flutter-hvac/flutter-hvac_git.bb b/recipes-demo/flutter-hvac/flutter-hvac_git.bb
index a2062411c..cfd0522a3 100644
--- a/recipes-demo/flutter-hvac/flutter-hvac_git.bb
+++ b/recipes-demo/flutter-hvac/flutter-hvac_git.bb
@@ -30,7 +30,7 @@ FLUTTER_BUILD_ARGS = "bundle -v"
#########
AGL_APP_TEMPLATE = "agl-app-flutter"
AGL_APP_ID = "flutter_hvac"
-AGL_APP_NAME = "Flutter Hvac"
+AGL_APP_NAME = "HVAC"
do_install:append() {
install -d ${D}${sysconfdir}/xdg/AGL
diff --git a/recipes-platform/images/agl-ivi-demo-platform-flutter.bb b/recipes-platform/images/agl-ivi-demo-platform-flutter.bb
index 7884a2d0b..097c1fd37 100644
--- a/recipes-platform/images/agl-ivi-demo-platform-flutter.bb
+++ b/recipes-platform/images/agl-ivi-demo-platform-flutter.bb
@@ -5,5 +5,6 @@ DESCRIPTION = "AGL Flutter based Demo Platform image"
# add packages for demo platform (include demo apps) here
IMAGE_INSTALL:append = " \
packagegroup-agl-demo-platform-flutter \
+ weston-ini-conf-flutter \
"
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb
index 2ab688236..76bff18c4 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb
@@ -13,22 +13,25 @@ PACKAGES = "\
RDEPENDS:${PN} += "\
packagegroup-agl-image-ivi \
packagegroup-agl-profile-graphical-qt5 \
- packagegroup-hmi-framework \
packagegroup-agl-demo \
"
+AGL_FLUTTER_RUNTIME ?= "runtimerelease"
+
AGL_APPS = " \
- hvac \
- dashboard \
- flutter-dashboard \
- flutter-hvac \
- flutter-nav \
- flutter-mediaplayer \
+ settings \
+ mediaplayer \
+ ondemandnavi \
+ flutter-dashboard-${AGL_FLUTTER_RUNTIME} \
+ flutter-hvac-${AGL_FLUTTER_RUNTIME} \
+ flutter-mediaplayer-${AGL_FLUTTER_RUNTIME} \
+ flutter-nav-${AGL_FLUTTER_RUNTIME} \
"
RDEPENDS:${PN}:append = " \
- flutter-auto-runtimerelease \
- launcher \
+ agl-compositor \
+ flutter-auto-${AGL_FLUTTER_RUNTIME} \
+ flutter-homescreen-${AGL_FLUTTER_RUNTIME} \
qtquickcontrols2-agl \
qtquickcontrols2-agl-style \
${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'unzip mpc' , '', d)} \