meta-agl-flutter:Application updates 71/27771/4
authorJoel Winarske <joel.winarske@gmail.com>
Fri, 15 Jul 2022 15:17:15 +0000 (08:17 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 19 Jul 2022 12:48:47 +0000 (12:48 +0000)
-upstream is now pinning ivi-homescreen
-fix breaking change.  Change --a to --b
-adds test apps to images: secure storage, EGL texture, and video_player
-adds Igalia homescreen to images
-add Pumped Fuel ped recipe to images

v2 (jsmoeller): fixup missing require in recipes
v3 (jsmoeller): rework duplication in recipes and use BBCLASSEXTEND
v4 (jsmoeller): add dependencies to application framework and pipewire
v5 (jsmoeller): update agl-image-flutter to use new naming

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I924335eb2ceb9ad91944630b43b72a6fe296b98d

meta-agl-flutter/classes/flutterdebug.bbclass [new file with mode: 0644]
meta-agl-flutter/classes/flutterprofile.bbclass [new file with mode: 0644]
meta-agl-flutter/classes/flutterrelease.bbclass [new file with mode: 0644]
meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-igalia-homescreen_git.bb [moved from meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-homescreen_git.bb with 82% similarity]
meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-pumped-fuel-ped_git.bb [new file with mode: 0644]
meta-agl-flutter/recipes-graphics/toyota/ivi-homescreen_aglflutter.inc
meta-agl-flutter/recipes-platform/images/agl-image-flutter-debug.bb
meta-agl-flutter/recipes-platform/images/agl-image-flutter-profile.bb
meta-agl-flutter/recipes-platform/images/agl-image-flutter.bb
templates/feature/agl-flutter/included.dep [new file with mode: 0644]

diff --git a/meta-agl-flutter/classes/flutterdebug.bbclass b/meta-agl-flutter/classes/flutterdebug.bbclass
new file mode 100644 (file)
index 0000000..158ddb3
--- /dev/null
@@ -0,0 +1 @@
+FLUTTER_RUNTIME = "debug"
diff --git a/meta-agl-flutter/classes/flutterprofile.bbclass b/meta-agl-flutter/classes/flutterprofile.bbclass
new file mode 100644 (file)
index 0000000..38d114e
--- /dev/null
@@ -0,0 +1 @@
+FLUTTER_RUNTIME = "profile"
diff --git a/meta-agl-flutter/classes/flutterrelease.bbclass b/meta-agl-flutter/classes/flutterrelease.bbclass
new file mode 100644 (file)
index 0000000..cf75bc1
--- /dev/null
@@ -0,0 +1 @@
+FLUTTER_RUNTIME = "release"
@@ -1,5 +1,5 @@
 SUMMARY = "Igalia Flutter Homescreen"
-DESCRIPTION = "Flutter Gallery Application"
+DESCRIPTION = "A prototype home screen for automotive grade Linux."
 AUTHOR = "Igalia"
 HOMEPAGE = "https://github.com/felipeerias/flutter_homescreen"
 BUGTRACKER = "https://github.com/felipeerias/flutter_homescreen/issues"
@@ -20,3 +20,5 @@ FLUTTER_APPLICATION_INSTALL_PREFIX = "/flutter"
 FLUTTER_BUILD_ARGS = "bundle -v"
 
 inherit flutter-app
+
+BBCLASSEXTEND = "flutterrelease flutterprofile flutterdebug"
\ No newline at end of file
diff --git a/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-pumped-fuel-ped_git.bb b/meta-agl-flutter/recipes-graphics/flutter-apps/flutter-app-pumped-fuel-ped_git.bb
new file mode 100644 (file)
index 0000000..541bc8e
--- /dev/null
@@ -0,0 +1,34 @@
+SUMMARY = "Pumped End Device"
+DESCRIPTION = "Pumped is a combination of 3 core projects to connect \
+               vehicle drivers with retail merchants, initially starting \
+               with fuel stations. Our objective is to offer the best fuel \
+               prices, closest stations, friendliest service, cleanest restrooms, \
+               tastiest coffee and so much more, direct to vehicle drivers."
+AUTHOR = "Pumped Fuel"
+HOMEPAGE = "https://github.com/bernardpumped/ped"
+BUGTRACKER = "https://github.com/bernardpumped/ped/issues"
+SECTION = "graphics"
+
+RDEPENDS:${PN} += "\
+    geoclue \
+    libsecret \
+    xdg-user-dirs \
+    "
+
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e49f4652534af377a713df3d9dec60cb"
+
+SRC_URI = "git://github.com/bernardpumped/ped.git;protocol=https;branch=main"
+
+SRCREV = "7a670295d5a94508862316e045e789e0dfd01b20"
+
+S = "${WORKDIR}/git"
+
+PUBSPEC_APPNAME = "pumped_end_device"
+FLUTTER_APPLICATION_INSTALL_PREFIX = "/flutter"
+
+FLUTTER_BUILD_ARGS = "bundle -v"
+
+inherit flutter-app
+
+BBCLASSEXTEND += "flutterrelease flutterdebug flutterprofile"
index 4c01341..a2ad49f 100644 (file)
@@ -1,5 +1,4 @@
-# Potentially pin SRCREV here.  Use upstream's AUTOINC default for
-# development for now.
+# Upstream is now pinning ivi-homescreen
 #SRCREV = ""
 
 # For now disable gstreamer to avoid needing to enable "commercial"
@@ -7,7 +6,7 @@
 PACKAGECONFIG:remove = "gstreamer"
 
 # AGL specifics
-IVI_HOMESCREEN_APP_OVERRIDE = "--a=/usr/share/flutter/gallery"
+IVI_HOMESCREEN_APP_OVERRIDE = "--b=/usr/share/flutter/gallery"
 
 SERVICE_UNIT        = "Requires=agl-compositor.service\nAfter=agl-compositor.service"
 SERVICE_INSTALL     = "WantedBy=agl-session.target"
index ef1b70e..2c24699 100644 (file)
@@ -6,7 +6,15 @@ require agl-image-flutter.inc
 
 IMAGE_INSTALL:append = "\
     weston-ini-conf-landscape \
+    \
     ivi-homescreen-debug \
-    flutter-gallery-debug \
     flutter-engine-debug \
+    \
+    flutter-gallery-debug \
+    flutter-test-secure-storage-debug \
+    flutter-test-texture-egl-debug \
+    flutter-test-video-player-debug \
+    \
+    flutter-app-igalia-homescreen-debug \
+    flutter-app-pumped-fuel-ped-debug \
     "
index 1ec164b..33ae39c 100644 (file)
@@ -6,7 +6,15 @@ require agl-image-flutter.inc
 
 IMAGE_INSTALL:append = "\
     weston-ini-conf-landscape \
+    \
     ivi-homescreen-profile \
-    flutter-gallery-profile \
     flutter-engine-profile \
+    \
+    flutter-gallery-profile \
+    flutter-test-secure-storage-profile \
+    flutter-test-texture-egl-profile \
+    flutter-test-video-player-profile \
+    \
+    flutter-app-igalia-homescreen-profile \
+    flutter-app-pumped-fuel-ped-profile        \
     "
index 8f85e25..8380942 100644 (file)
@@ -6,7 +6,15 @@ require agl-image-flutter.inc
 
 IMAGE_INSTALL:append = "\
     weston-ini-conf-landscape \
+    \
     ivi-homescreen-release \
-    flutter-gallery-release \
     flutter-engine-release \
+    \
+    flutter-gallery-release \
+    flutter-test-secure-storage-release \
+    flutter-test-texture-egl-release \
+    flutter-test-video-player-release \
+    \
+    flutter-app-igalia-homescreen-flutterrelease \
+    flutter-app-pumped-fuel-ped-flutterrelease \
     "
diff --git a/templates/feature/agl-flutter/included.dep b/templates/feature/agl-flutter/included.dep
new file mode 100644 (file)
index 0000000..4f4e49e
--- /dev/null
@@ -0,0 +1 @@
+agl-pipewire agl-app-framework