diff mbox series

[meta-ti,master,10/12] meta-ti-test: Import the dynamic-layers recipes

Message ID 20260429150920.978263-10-reatmon@ti.com
State New
Headers show
Series [meta-ti,master,01/12] meta-ti-test: Create layout for new layer | expand

Commit Message

Ryan Eatmon April 29, 2026, 3:09 p.m. UTC
We are moving the meta-arago-test layer to meta-ti-test.  This commit
imports all of the recipes under dynamic-layers.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-ti-test/conf/layer.conf                  |  2 +
 .../flutter-samples-material-3-demo-ti.inc    |  1 +
 ...flutter-samples-material-3-demo_%.bbappend |  4 +
 .../flutter/flutter-wayland-client-ti.inc     |  3 +
 .../flutter/flutter-wayland-client_%.bbappend |  4 +
 ...-message_codec.h-Include-cstdint-lib.patch | 93 +++++++++++++++++++
 .../packagegroups/ti-test.bbappend            |  7 ++
 7 files changed, 114 insertions(+)
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
 create mode 100644 meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
 create mode 100644 meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
diff mbox series

Patch

diff --git a/meta-ti-test/conf/layer.conf b/meta-ti-test/conf/layer.conf
index 1997f0b4..216ab344 100644
--- a/meta-ti-test/conf/layer.conf
+++ b/meta-ti-test/conf/layer.conf
@@ -24,6 +24,8 @@  LAYERDEPENDS_meta-ti-test = " \
 "
 
 BBFILES_DYNAMIC += " \
+    qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
+    flutter-layer:${LAYERDIR}/dynamic-layers/flutter-layer/recipes*/*/*.bbappend \
 "
 
 # Codecs in ffmpeg with questionable patent status are not included by
diff --git a/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc
new file mode 100644
index 00000000..b2c9e13d
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo-ti.inc
@@ -0,0 +1 @@ 
+FLUTTER_BUILD_ARGS:append = " --no-pub"
diff --git a/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend
new file mode 100644
index 00000000..985615c8
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-samples-material-3-demo_%.bbappend
@@ -0,0 +1,4 @@ 
+FLUTTER_TI = ""
+FLUTTER_TI:ti-soc = "flutter-samples-material-3-demo-ti.inc"
+
+require ${FLUTTER_TI}
diff --git a/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc
new file mode 100644
index 00000000..4d211568
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client-ti.inc
@@ -0,0 +1,3 @@ 
+FILESEXTRAPATHS:prepend := "${THISDIR}/flutter:"
+
+SRC_URI += "file://0001-message_codec.h-Include-cstdint-lib.patch"
diff --git a/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
new file mode 100644
index 00000000..46fdd2af
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter-wayland-client_%.bbappend
@@ -0,0 +1,4 @@ 
+FLUTTER_TI = ""
+FLUTTER_TI:ti-soc = "flutter-wayland-client-ti.inc"
+
+require ${FLUTTER_TI}
diff --git a/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
new file mode 100644
index 00000000..7a9bff41
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/flutter-layer/recipes-graphics/flutter/flutter/0001-message_codec.h-Include-cstdint-lib.patch
@@ -0,0 +1,93 @@ 
+From dcfcb92c7f42cd6bd92b1048b5e4ea6f01d40e21 Mon Sep 17 00:00:00 2001
+From: Antonios Christidis <a-christidis@ti.com>
+Date: Tue, 10 Mar 2026 11:01:28 -0500
+Subject: [PATCH] message_codec.h: Include cstdint lib
+
+Include cstdint lib within message_codec.h.
+
+Upstream-Status: Inactive-Upstream
+
+Signed-off-by: Antonios Christidis <a-christidis@ti.com>
+---
+ .../client_wrapper/include/flutter/basic_message_channel.h       | 1 +
+ .../common/client_wrapper/include/flutter/binary_messenger.h     | 1 +
+ .../common/client_wrapper/include/flutter/engine_method_result.h | 1 +
+ .../common/client_wrapper/include/flutter/message_codec.h        | 1 +
+ .../common/client_wrapper/include/flutter/method_channel.h       | 1 +
+ .../common/client_wrapper/include/flutter/method_codec.h         | 1 +
+ 6 files changed, 6 insertions(+)
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
+index c081946..fcc6b23 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h
+@@ -7,6 +7,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "message_codec.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
+index d552b49..82e47da 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
+@@ -7,6 +7,7 @@
+
+ #include <functional>
+ #include <string>
++#include <cstdint>
+
+ namespace flutter {
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
+index 3cc8b6a..9634ead 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/engine_method_result.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "method_codec.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
+index c84d25f..c007b1e 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/message_codec.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ namespace flutter {
+
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
+index 6e39a64..34687a6 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_channel.h
+@@ -7,6 +7,7 @@
+
+ #include <iostream>
+ #include <string>
++#include <cstdint>
+
+ #include "binary_messenger.h"
+ #include "engine_method_result.h"
+diff --git a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
+index b40fa64..edd14d6 100644
+--- a/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
++++ b/src/flutter/shell/platform/common/client_wrapper/include/flutter/method_codec.h
+@@ -8,6 +8,7 @@
+ #include <memory>
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ #include "method_call.h"
+ #include "method_result.h"
+--
+2.34.1
diff --git a/meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend b/meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
new file mode 100644
index 00000000..8d1f95f7
--- /dev/null
+++ b/meta-ti-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
@@ -0,0 +1,7 @@ 
+# Include the examples for Qt6 related tests
+# Include qtwayland for wayland support if the distro enables it
+
+TI_TEST_EXTRAS:append = " \
+    qtbase-examples \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
+"