Skip to contentSkip to conversation

gstreamer1.0-plugins-bad: add expansion parameter

PATCH In review Samuli Piippo 2 participants 2 messages Nov 10, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-bad: add expansion parameter

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.

---
 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +2 -2
index b186677..b42338a 100644
@@ -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)
 }
Signature · 1 line
2.7.4
#1 lore raw
Quoted 5 lines · Samuli Piippo

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.

Nack! We shouldn't keep carrying the old code support.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750