aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-demo/flutter-gallery/flutter-gallery-release_agldemo.inc5
-rw-r--r--recipes-demo/flutter-gallery/flutter-gallery-release_git.bbappend1
-rw-r--r--recipes-platform/images/agl-ivi-demo-platform-flutter.bb9
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb34
-rw-r--r--templates/feature/agl-demo/included.dep2
5 files changed, 50 insertions, 1 deletions
diff --git a/recipes-demo/flutter-gallery/flutter-gallery-release_agldemo.inc b/recipes-demo/flutter-gallery/flutter-gallery-release_agldemo.inc
new file mode 100644
index 000000000..4a7d3652a
--- /dev/null
+++ b/recipes-demo/flutter-gallery/flutter-gallery-release_agldemo.inc
@@ -0,0 +1,5 @@
+inherit agl-app
+
+AGL_APP_TEMPLATE = "agl-app-flutter"
+AGL_APP_ID = "gallery"
+AGL_APP_NAME = "Gallery"
diff --git a/recipes-demo/flutter-gallery/flutter-gallery-release_git.bbappend b/recipes-demo/flutter-gallery/flutter-gallery-release_git.bbappend
new file mode 100644
index 000000000..6a9edecd0
--- /dev/null
+++ b/recipes-demo/flutter-gallery/flutter-gallery-release_git.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'agldemo', 'flutter-gallery-release_agldemo.inc', '', d)}
diff --git a/recipes-platform/images/agl-ivi-demo-platform-flutter.bb b/recipes-platform/images/agl-ivi-demo-platform-flutter.bb
new file mode 100644
index 000000000..7884a2d0b
--- /dev/null
+++ b/recipes-platform/images/agl-ivi-demo-platform-flutter.bb
@@ -0,0 +1,9 @@
+require agl-image-ivi.bb
+
+DESCRIPTION = "AGL Flutter based Demo Platform image"
+
+# add packages for demo platform (include demo apps) here
+IMAGE_INSTALL:append = " \
+ packagegroup-agl-demo-platform-flutter \
+"
+
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb
new file mode 100644
index 000000000..4eaeb062c
--- /dev/null
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-flutter.bb
@@ -0,0 +1,34 @@
+SUMMARY = "The software for Flutter Demo platform of AGL IVI profile"
+DESCRIPTION = "A set of packages for AGL Flutter Demo Platform"
+
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PROVIDES = "${PACKAGES}"
+PACKAGES = "\
+ packagegroup-agl-demo-platform-flutter \
+ "
+
+RDEPENDS:${PN} += "\
+ packagegroup-agl-image-ivi \
+ packagegroup-agl-profile-graphical-qt5 \
+ packagegroup-hmi-framework \
+ packagegroup-agl-demo \
+ "
+
+AGL_APPS = " \
+ hvac \
+ dashboard \
+ flutter-gallery-release \
+ "
+
+RDEPENDS:${PN}:append = " \
+ flutter-embedder-release \
+ launcher \
+ qtquickcontrols2-agl \
+ qtquickcontrols2-agl-style \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', 'unzip mpc' , '', d)} \
+ ${AGL_APPS} \
+ psplash-portrait-config \
+ "
diff --git a/templates/feature/agl-demo/included.dep b/templates/feature/agl-demo/included.dep
index a96ab796f..e94759e39 100644
--- a/templates/feature/agl-demo/included.dep
+++ b/templates/feature/agl-demo/included.dep
@@ -1 +1 @@
-agl-pipewire agl-app-framework agl-selinux
+agl-pipewire agl-app-framework agl-selinux agl-flutter