diff mbox series

[meta-arago,master,2/2] meta-arago-test: dynamic layer for qt6 support

Message ID 20250129001448.2768568-3-rs@ti.com
State Changes Requested
Delegated to: Ryan Eatmon
Headers show
Series Drop qt5 and enable qt6 in ti-test | expand

Commit Message

Randolph Sapp Jan. 29, 2025, 12:14 a.m. UTC
From: Randolph Sapp <rs@ti.com>

Add a dynamic layer for Qt6 example applications so we can run a quick
test and see if things are configured correctly.

This is being introduced into test as opposed to the distro layer as
there will soon be automated tests for Qt6, there are no explicit
dependencies for Qt in meta-arago-distro anymore, and the example
applications are currently only necessary for testing.

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 meta-arago-test/conf/layer.conf                            | 4 ++++
 .../qt6-layer/recipes-core/packagegroups/ti-test.bbappend  | 7 +++++++
 .../qt6-layer/recipes-qt/qt6/qtbase_%.bbappend             | 3 +++
 3 files changed, 14 insertions(+)
 create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
 create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
diff mbox series

Patch

diff --git a/meta-arago-test/conf/layer.conf b/meta-arago-test/conf/layer.conf
index 1e94c30d..7977a138 100644
--- a/meta-arago-test/conf/layer.conf
+++ b/meta-arago-test/conf/layer.conf
@@ -22,3 +22,7 @@  LAYERDEPENDS_meta-arago-test = " \
     filesystems-layer \
     meta-python \
 "
+
+BBFILES_DYNAMIC += " \
+    qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
+"
diff --git a/meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend b/meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend
new file mode 100644
index 00000000..8d1f95f7
--- /dev/null
+++ b/meta-arago-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)} \
+"
diff --git a/meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend b/meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
new file mode 100644
index 00000000..e2799572
--- /dev/null
+++ b/meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
@@ -0,0 +1,3 @@ 
+# Include the examples for Qt6 related tests
+
+PACKAGECONFIG:append = " examples"