diff mbox series

[meta-arago,master,v2,2/2] ti-test: Add ffmpeg and mpv to ti-test-multimedia

Message ID 20260303171751.393226-2-reatmon@ti.com
State New
Headers show
Series [meta-arago,master,v2,1/2] ti-test: Break into multiple packagegroups | expand

Commit Message

Ryan Eatmon March 3, 2026, 5:17 p.m. UTC
FFMPEG and MPV are required during automated testing. Explicitly add
these to ti-test.

Also add the commercial_ffmpeg setting to LICENSE_FLAGS_ACCEPTED for the
layer.

Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Move ffmpeg to be tied to building a ti-soc to bypass yocto-check-layers
    error.

 meta-arago-test/conf/layer.conf                       | 5 +++++
 meta-arago-test/recipes-core/packagegroups/ti-test.bb | 5 +++++
 2 files changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-test/conf/layer.conf b/meta-arago-test/conf/layer.conf
index ea0a3398..7e8bf1ab 100644
--- a/meta-arago-test/conf/layer.conf
+++ b/meta-arago-test/conf/layer.conf
@@ -26,3 +26,8 @@  LAYERDEPENDS_meta-arago-test = " \
 BBFILES_DYNAMIC += " \
     qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
 "
+
+# Codecs in ffmpeg with questionable patent status are not included by
+# default.  As this entire layer is purely optional for testing purposes only
+# and not meant to be shipped, add support for the ffmpeg commercial license.
+LICENSE_FLAGS_ACCEPTED:append:ti-soc = " commercial_ffmpeg"
diff --git a/meta-arago-test/recipes-core/packagegroups/ti-test.bb b/meta-arago-test/recipes-core/packagegroups/ti-test.bb
index d3458b9d..c5bad051 100644
--- a/meta-arago-test/recipes-core/packagegroups/ti-test.bb
+++ b/meta-arago-test/recipes-core/packagegroups/ti-test.bb
@@ -87,10 +87,15 @@  TI_TEST_GRAPHICS = " \
 
 TI_TEST_MULTIMEDIA = "\
     gst-devtools \
+    mpv \
     v4l-utils \
     yavta \
 "
 
+TI_TEST_MULTIMEDIA:append:ti-soc = " \
+    ffmpeg \
+"
+
 TI_TEST_NETWORKING = "\
     bridge-utils \
     ethtool \