From 11def03ba2ed03580729a2077de82e090cf58ca2 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Mon, 15 Nov 2021 09:32:07 -0800 Subject: Add meta-agl-flutter layer - agl-image-flutter baseline agl-compositor based image that includes: ivi-homescreen - Toyota Flutter Embedder flutter gallery - Flutter Demo Application flutter_homescreen - Igalia Demo Application - flutter-app-homescreen - Igalia flutter_homescreen app - ivi-homescreen bbappend to lock SRCREV Bug-AGL: SPEC-3852 Signed-off-by: Joel Winarske Change-Id: I58779ab093e9d23a88005e60ef28b9133eca2479 --- meta-agl-flutter/conf/include/agl-flutter.inc | 1 + meta-agl-flutter/conf/layer.conf | 14 ++++++++++++++ .../flutter-apps/flutter-app-homescreen_git.bb | 19 +++++++++++++++++++ .../toyota/ivi-homescreen-debug_%.bbappend | 1 + .../toyota/ivi-homescreen-profile_%.bbappend | 1 + .../toyota/ivi-homescreen-release_%.bbappend | 1 + .../toyota/ivi-homescreen_aglflutter.inc | 2 ++ .../images/agl-image-flutter-debug.bb | 12 ++++++++++++ .../images/agl-image-flutter-profile.bb | 12 ++++++++++++ .../recipes-platform/images/agl-image-flutter.bb | 12 ++++++++++++ .../recipes-platform/images/agl-image-flutter.inc | 8 ++++++++ 11 files changed, 83 insertions(+) create mode 100644 meta-agl-flutter/conf/include/agl-flutter.inc create mode 100644 meta-agl-flutter/conf/layer.conf create mode 100644 meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-homescreen_git.bb create mode 100644 meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-debug_%.bbappend create mode 100644 meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-profile_%.bbappend create mode 100644 meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-release_%.bbappend create mode 100644 meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen_aglflutter.inc create mode 100644 meta-agl-flutter/recipes-platform/images/agl-image-flutter-debug.bb create mode 100644 meta-agl-flutter/recipes-platform/images/agl-image-flutter-profile.bb create mode 100644 meta-agl-flutter/recipes-platform/images/agl-image-flutter.bb create mode 100644 meta-agl-flutter/recipes-platform/images/agl-image-flutter.inc (limited to 'meta-agl-flutter') diff --git a/meta-agl-flutter/conf/include/agl-flutter.inc b/meta-agl-flutter/conf/include/agl-flutter.inc new file mode 100644 index 00000000..fc7ad35e --- /dev/null +++ b/meta-agl-flutter/conf/include/agl-flutter.inc @@ -0,0 +1 @@ +AGL_FEATURES += "agl-flutter" diff --git a/meta-agl-flutter/conf/layer.conf b/meta-agl-flutter/conf/layer.conf new file mode 100644 index 00000000..f7c437d3 --- /dev/null +++ b/meta-agl-flutter/conf/layer.conf @@ -0,0 +1,14 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-agl-flutter" +BBFILE_PATTERN_meta-agl-flutter = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-agl-flutter = "61" + +LAYERVERSION_meta-agl-flutter = "1" +LAYERDEPENDS_meta-agl-flutter = "core meta-flutter" +LAYERSERIES_COMPAT_meta-agl-flutter = "dunfell" diff --git a/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-homescreen_git.bb b/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-homescreen_git.bb new file mode 100644 index 00000000..1f57cd7e --- /dev/null +++ b/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-homescreen_git.bb @@ -0,0 +1,19 @@ +SUMMARY = "Igalia Flutter Homescreen" +DESCRIPTION = "Flutter Gallery Application" +AUTHOR = "Igalia" +HOMEPAGE = "https://github.com/felipeerias/flutter_homescreen" +BUGTRACKER = "https://github.com/felipeerias/flutter_homescreen/issues" +SECTION = "graphics" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI = "git://github.com/felipeerias/flutter_homescreen.git;protocol=https;branch=main" + +SRCREV = "283f915354dcc81410b30534c1eda063d0e78888" + +S = "${WORKDIR}/git" + +PUBSPEC_APPNAME = "flutter_homescreen" + +inherit flutter-app diff --git a/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-debug_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-debug_%.bbappend new file mode 100644 index 00000000..9727092c --- /dev/null +++ b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-debug_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', '${BPN}_aglflutter.inc', '', d)} diff --git a/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-profile_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-profile_%.bbappend new file mode 100644 index 00000000..9727092c --- /dev/null +++ b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-profile_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', '${BPN}_aglflutter.inc', '', d)} diff --git a/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-release_%.bbappend b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-release_%.bbappend new file mode 100644 index 00000000..9727092c --- /dev/null +++ b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen-release_%.bbappend @@ -0,0 +1 @@ +require ${@bb.utils.contains('AGL_FEATURES', 'agl-flutter', '${BPN}_aglflutter.inc', '', d)} diff --git a/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen_aglflutter.inc b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen_aglflutter.inc new file mode 100644 index 00000000..233e911c --- /dev/null +++ b/meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen_aglflutter.inc @@ -0,0 +1,2 @@ + +SRCREV = "08f074ccc42c1129cf8587f48970bdfbd154693a" diff --git a/meta-agl-flutter/recipes-platform/images/agl-image-flutter-debug.bb b/meta-agl-flutter/recipes-platform/images/agl-image-flutter-debug.bb new file mode 100644 index 00000000..ef1b70e7 --- /dev/null +++ b/meta-agl-flutter/recipes-platform/images/agl-image-flutter-debug.bb @@ -0,0 +1,12 @@ +SUMMARY = "Baseline Flutter Image for Development" + +LICENSE = "MIT" + +require agl-image-flutter.inc + +IMAGE_INSTALL:append = "\ + weston-ini-conf-landscape \ + ivi-homescreen-debug \ + flutter-gallery-debug \ + flutter-engine-debug \ + " diff --git a/meta-agl-flutter/recipes-platform/images/agl-image-flutter-profile.bb b/meta-agl-flutter/recipes-platform/images/agl-image-flutter-profile.bb new file mode 100644 index 00000000..1ec164b0 --- /dev/null +++ b/meta-agl-flutter/recipes-platform/images/agl-image-flutter-profile.bb @@ -0,0 +1,12 @@ +SUMMARY = "Baseline Flutter Image for Profiling" + +LICENSE = "MIT" + +require agl-image-flutter.inc + +IMAGE_INSTALL:append = "\ + weston-ini-conf-landscape \ + ivi-homescreen-profile \ + flutter-gallery-profile \ + flutter-engine-profile \ + " diff --git a/meta-agl-flutter/recipes-platform/images/agl-image-flutter.bb b/meta-agl-flutter/recipes-platform/images/agl-image-flutter.bb new file mode 100644 index 00000000..8f85e25a --- /dev/null +++ b/meta-agl-flutter/recipes-platform/images/agl-image-flutter.bb @@ -0,0 +1,12 @@ +SUMMARY = "Baseline Flutter Image for Release" + +LICENSE = "MIT" + +require agl-image-flutter.inc + +IMAGE_INSTALL:append = "\ + weston-ini-conf-landscape \ + ivi-homescreen-release \ + flutter-gallery-release \ + flutter-engine-release \ + " diff --git a/meta-agl-flutter/recipes-platform/images/agl-image-flutter.inc b/meta-agl-flutter/recipes-platform/images/agl-image-flutter.inc new file mode 100644 index 00000000..84bd9e99 --- /dev/null +++ b/meta-agl-flutter/recipes-platform/images/agl-image-flutter.inc @@ -0,0 +1,8 @@ +require recipes-platform/images/agl-image-weston.inc + +IMAGE_INSTALL:append = "\ + agl-compositor \ + packagegroup-agl-profile-graphical \ + " + +CLANGSDK = "1" -- cgit 1.2.3-korg