diff mbox series

[meta-arago,master,1/2] gstreamer1.0-plugins-good: Add QT6 PACKAGECONFIG support

Message ID 20260116121044.2028660-1-j-sahu@ti.com
State New
Headers show
Series [meta-arago,master,1/2] gstreamer1.0-plugins-good: Add QT6 PACKAGECONFIG support | expand

Commit Message

Telukula Jeevan Kumar Sahu Jan. 16, 2026, 12:10 p.m. UTC
GStreamer's Qt6 qmlgl plugin enables video rendering in Qt6/QML applications
by providing GstGLVideoItem QML element. This plugin is essential for integrating
GStreamer pipelines with Qt6 Quick/QML user interfaces.

Enable Qt6 PACKAGECONFIG to build the qmlgl plugin when qt6-layer is present
utilizing dynamic-layer.

Signed-off-by: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
---
 meta-arago-extras/conf/layer.conf                     |  4 ++++
 .../gstreamer1.0-plugins-good_1.26.%.bbappend         | 11 +++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend

Comments

PRC Automation Jan. 16, 2026, 12:15 p.m. UTC | #1
meta-arago / na / 20260116121044.2028660-1-j-sahu

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/2] gstreamer1.0-plugins-good: Add QT6 PACKAGECONFIG support
- Submitter: From: Telukula Jeevan Kumar Sahu <j-sahu@ti.com>
- Date: Date: Fri, 16 Jan 2026 17:40:43 +0530
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: f97eb19b5402ae13be6814773e0c1f8d7faf900a

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: packagegroup-arago-console: Fix package names for alsa-utils-*
- Commit SHA: be06bc570c51981bdb0b71de0eec0dda1b52d2f6

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
    WARN: .bbappend files might need a guard to make them check-layer compliant. (GUARD-1)
        meta-arago-extras/dynamic-layers/qt6-layer/recipes-devtools/meson/meson_%.bbappend
    
    WARN: .bbappend files might need a guard to make them check-layer compliant. (GUARD-1)
        meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend
    
    For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
diff mbox series

Patch

diff --git a/meta-arago-extras/conf/layer.conf b/meta-arago-extras/conf/layer.conf
index 3927a913..1a4a5bdd 100644
--- a/meta-arago-extras/conf/layer.conf
+++ b/meta-arago-extras/conf/layer.conf
@@ -22,3 +22,7 @@  LAYERDEPENDS_meta-arago-extras = " \
     networking-layer \
     openembedded-layer \
 "
+
+BBFILES_DYNAMIC += " \
+    qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \
+"
diff --git a/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend
new file mode 100644
index 00000000..e30440e1
--- /dev/null
+++ b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend
@@ -0,0 +1,11 @@ 
+PACKAGECONFIG:append = " qt6"
+
+QT6WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
+
+PACKAGECONFIG[qt6] = "-Dqt6=enabled, -Dqt6=disabled, qtbase qtbase-native qtdeclarative qttools-native ${QT6WAYLANDDEPENDS}"
+
+# Qt tools like rcc, moc and uic are located in /usr/libexec, instead of
+# /usr/bin, which is not in PATH by default.
+do_configure:prepend:class-target() {
+	export PATH=${STAGING_DIR_NATIVE}${libexecdir}:$PATH
+}