From 062a9b29bc424ab4c9fdeebd65293be5bec074f6 Mon Sep 17 00:00:00 2001 From: Hritik Chouhan Date: Wed, 10 Aug 2022 22:27:34 +0200 Subject: Add flutter dashboard app - This adds the Flutter dashboard app in the AGL. - Pin the flutter dashboard app in IVI flutter demo homescreen. - Integrate with kuksa-val server. - change the homepage same as SRC_URI. - change the AGL_APP_NAME. Bug-AGL: SPEC-4524 Change-Id: I37dbcac2aa7a26b64250dd8fbec4de6051f16198 Signed-off-by: Hritik Chouhan --- .../flutter-dashboard/flutter-app-dashboard_git.bb | 30 ++++++++++++++++++++++ recipes-demo/flutter-hvac/flutter-app-hvac_git.bb | 30 ++++++++++++++++++++++ .../packagegroup-agl-demo-platform-flutter.bb | 3 ++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 recipes-demo/flutter-dashboard/flutter-app-dashboard_git.bb create mode 100644 recipes-demo/flutter-hvac/flutter-app-hvac_git.bb diff --git a/recipes-demo/flutter-dashboard/flutter-app-dashboard_git.bb b/recipes-demo/flutter-dashboard/flutter-app-dashboard_git.bb new file mode 100644 index 000000000..822bb804c --- /dev/null +++ b/recipes-demo/flutter-dashboard/flutter-app-dashboard_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "Flutter Dashboard" +DESCRIPTION = "A Flutter based IVI Dashboard Application for automotive grade Linux." + +HOMEPAGE = "https://github.com/hritik-chouhan/dashboard_for_recipe" + +BUGTRACKER = "https://github.com/hritik-chouhan/dashboard_for_recipe/issues" + +SECTION = "graphics" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://License.md;md5=f712ede8d4f845976061925d1416fc40" + + +SRC_URI = "git://github.com/hritik-chouhan/dashboard_for_recipe.git;protocol=https;branch=main" +SRCREV = "c3234da907ff46fb113f308b5ab257089fdcab4f" +S = "${WORKDIR}/git" + +inherit agl-app flutter-app + +# flutter-app +############# +PUBSPEC_APPNAME = "dashboard_app" +FLUTTER_APPLICATION_INSTALL_PREFIX = "/flutter" +FLUTTER_BUILD_ARGS = "bundle -v" + +# agl-app +######### +AGL_APP_TEMPLATE = "agl-app-flutter" +AGL_APP_ID = "dashboard_app" +AGL_APP_NAME = "Flutter Dashboard" diff --git a/recipes-demo/flutter-hvac/flutter-app-hvac_git.bb b/recipes-demo/flutter-hvac/flutter-app-hvac_git.bb new file mode 100644 index 000000000..eadf642de --- /dev/null +++ b/recipes-demo/flutter-hvac/flutter-app-hvac_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "Flutter HVAC" +DESCRIPTION = "A Flutter based IVI Dashboard Application for automotive grade Linux." + +HOMEPAGE = "https://github.com/hritik-chouhan/HVAC_dashboard" + +BUGTRACKER = "https://github.com/hritik-chouhan/HVAC_dashboard/issues" + +SECTION = "graphics" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://License.md;md5=f712ede8d4f845976061925d1416fc40" + + +SRC_URI = "git://github.com/hritik-chouhan/HVAC_dashboard.git;protocol=https;branch=main" +SRCREV = "0f9b82048e867afde53bd72b4736511dae8d09ff" +S = "${WORKDIR}/git" + +inherit agl-app flutter-app + +# flutter-app +############# +PUBSPEC_APPNAME = "flutter_hvac" +FLUTTER_APPLICATION_INSTALL_PREFIX = "/flutter" +FLUTTER_BUILD_ARGS = "bundle -v" + +# agl-app +######### +AGL_APP_TEMPLATE = "agl-app-flutter" +AGL_APP_ID = "flutter_hvac" +AGL_APP_NAME = "Flutter Hvac" diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb index 747fb6f8b..eb7907a04 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb @@ -20,7 +20,8 @@ RDEPENDS:${PN} += "\ AGL_APPS = " \ hvac \ dashboard \ - flutter-gallery-runtimerelease \ + flutter-app-dashboard \ + flutter-app-hvac \ " RDEPENDS:${PN}:append = " \ -- cgit 1.2.3-korg