summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend4
1 files 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 b1866778..b42338ab 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 \
8 8
9# The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled 9# The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled
10python() { 10python() {
11 cur_packageconfig = d.getVar('PACKAGECONFIG').split() 11 cur_packageconfig = d.getVar('PACKAGECONFIG',True).split()
12 if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)): 12 if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)):
13 gl_packageconfig = d.getVar('PACKAGECONFIG_GL') 13 gl_packageconfig = d.getVar('PACKAGECONFIG_GL',True)
14 d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig) 14 d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig)
15} 15}