[oe] [meta-qt5][PATCH] gstreamer1.0-plugins-bad: add expansion parameter

Samuli Piippo samuli.piippo at qt.io
Fri Nov 10 07:11:19 UTC 2017


The expansion is now again optional, but for brief time
it was required. Add the default value (True) so that
the layer can be used also with older oe-core versions.

Signed-off-by: Samuli Piippo <samuli.piippo at qt.io>
---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index b186677..b42338a 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -8,8 +8,8 @@ PACKAGECONFIG[qt5] = '--enable-qt \
 
 # The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled
 python() {
-    cur_packageconfig = d.getVar('PACKAGECONFIG').split()
+    cur_packageconfig = d.getVar('PACKAGECONFIG',True).split()
     if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)):
-        gl_packageconfig = d.getVar('PACKAGECONFIG_GL')
+        gl_packageconfig = d.getVar('PACKAGECONFIG_GL',True)
         d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig)
 }
-- 
2.7.4




More information about the Openembedded-devel mailing list