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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to