diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-11-21 02:57:20 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-11-22 00:58:30 +0000 |
commit | e25fa72b19f9a550cdb631cbb1e7e287c7223e93 (patch) | |
tree | 4cd9713ce3e1b64c42a13c266f749cb9332e1122 | |
parent | 301c4e13cd68cbe378bf43f5c3f7244b43356f8b (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>
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)} \ |