summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
new file mode 100644
index 00000000..b1866778
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -0,0 +1,15 @@
1inherit qmake5_paths
2
3PACKAGECONFIG[qt5] = '--enable-qt \
4 --with-moc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/moc" \
5 --with-uic="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic" \
6 --with-rcc="${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/rcc" \
7 ,--disable-qt,qtbase qtdeclarative qtbase-native'
8
9# The GStreamer Qt5 plugin needs desktop OpenGL or OpenGL ES to work, so make sure it is enabled
10python() {
11 cur_packageconfig = d.getVar('PACKAGECONFIG').split()
12 if 'qt5' in cur_packageconfig and not (('opengl' in cur_packageconfig) or ('gles2' in cur_packageconfig)):
13 gl_packageconfig = d.getVar('PACKAGECONFIG_GL')
14 d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig)
15}