Skip to contentSkip to conversation

gstreamer1.0-plugins-good: Include qttools-native during the build with qt5 PACKAGECONFIG

PATCH New Marek Vasut 1 participant 1 message Apr 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-good: Include qttools-native during the build with qt5 PACKAGECONFIG

The qttools provide 'lrelease' tool, which is checked by recent versions of meson build system. Unless the qttools are available in sysroot, meson will fail to detect qt5 installation at build time and the gstreamer build will fail. Fix this by including the qttools-native.

---
Cc: Alexandre Belloni <[email protected]>
Cc: Anuj Mittal <[email protected]>
Cc: Randy MacLeod <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Wang Mingyu <[email protected]>

---
 .../gstreamer/gstreamer1.0-plugins-good_1.22.11.bb              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.22.11.bb +1 -1
index edd8609b7c..85143aa1b9 100644
@@ -52,7 +52,7 @@ PACKAGECONFIG[libpng]     = "-Dpng=enabled,-Dpng=disabled,libpng"
 PACKAGECONFIG[libv4l2]    = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils"
 PACKAGECONFIG[mpg123]     = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
 PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
-PACKAGECONFIG[qt5]        = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
+PACKAGECONFIG[qt5]        = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native qttools-native ${QT5WAYLANDDEPENDS}"
 PACKAGECONFIG[soup2]      = "-Dsoup=enabled,,libsoup-2.4,,,soup3"
 PACKAGECONFIG[soup3]      = "-Dsoup=enabled,,libsoup,,,soup2"
 PACKAGECONFIG[speex]      = "-Dspeex=enabled,-Dspeex=disabled,speex"
Signature · 1 line
2.43.0