Re: [meta-arago][master][PATCH v2 1/2] gstreamer1.0-plugins-good: Add QT6 PACKAGECONFIG support
Ryan Eatmon <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arago |
|---|---|
| Message-ID | <[email protected]> |
On 1/16/2026 9:02 AM, Ryan Eatmon via lists.yoctoproject.org wrote: > > > On 1/16/2026 8:37 AM, Telukula Jeevan Kumar Sahu wrote: >> 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 <[email protected]> >> --- >> meta-arago-extras/conf/layer.conf | 4 ++++ >> .../gstreamer/gstreamer1.0-plugins-good_1.26-qt6.inc | 11 +++++++++++ >> .../gstreamer1.0-plugins-good_1.26.%.bbappend | 4 ++++ >> 3 files changed, 19 insertions(+) >> create mode 100644 >> meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-qt6.inc >> create mode 100644 >> meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend >> >> 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-qt6.inc b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26-qt6.inc >> 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-qt6.inc > > The -qt6 is not needed in the filename. The guard just needs to be to > the name of the recipe being appended. That way if you need to add more > later we aren't creating multiple .inc files. I hit send to fast. The convention we have to use -arago.inc for the filename. Change the -qt6 to -arago. > >> @@ -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 >> +} >> 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..27426f4d >> --- /dev/null >> +++ >> b/meta-arago-extras/dynamic-layers/qt6-layer/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.%.bbappend >> @@ -0,0 +1,4 @@ >> +GSTREAMER1p0_PLUGINS_GOOD_1p26_QT6 = "" >> +GSTREAMER1p0_PLUGINS_GOOD_1p26_QT6:arago = >> "gstreamer1.0-plugins-good_1.26-qt6.inc" > > Same here, the _QT6 in the variable is not needed. Same here... replace _QT6 with _ARAGO. > >> + >> +require ${GSTREAMER1p0_PLUGINS_GOOD_1p26_QT6} > -- Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS