Commit Graph

4 Commits

Author SHA1 Message Date
Marco Felsch
f6f61b07a4 gstreamer1.0-plugins-good: fix qt5 dependency
Commit 73f99f2 ("gstreamer1.0-plugins-{good,bad}: move the qt5
PACKAGECONFIG from bad to good bbappend") just copied the bbappend file
without checking the dependencies.

The qt5 plugin needs the gl plugin which was moved in gstreamer 1.14
from bad to base. So the pyhton() function checking the PACKAGECONFIG_GL
isn't needed here, furthermore it causes bitbake errors:

     0013:        gl_packageconfig = d.getVar('PACKAGECONFIG_GL', expand=True)
     0014:        with open("/tmp/marcotest", "w") as f:
     0015:            print(gl_packageconfig, file=f)
     0016:        d.appendVar('PACKAGECONFIG', ' ' + gl_packageconfig)
 *** 0017:}
Exception: TypeError: can only concatenate str (not "NoneType") to str

The patch removes the python() function to fix this and adds the
gstreamer1.0-plugins-base dependency to have access to the gl plugin.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
2019-02-08 22:18:59 +00:00
Martin Jansa
73f99f2370 gstreamer1.0-plugins-{good,bad}: move the qt5 PACKAGECONFIG from bad to good bbappend
* the plugin was moved in gstreamer 1.14 and now this bbappend was causing:
  http://errors.yoctoproject.org/Errors/Details/178525/
  ERROR: QA Issue: gstreamer1.0-plugins-bad: configure was passed unrecognised options: --disable-qt [unknown-configure-option]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-05-12 14:54:00 +00:00
Samuli Piippo
f3e0cef1ed 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.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-12-20 08:21:07 +00:00
Carlos Rafael Giani
1619723dfc gstreamer1.0-plugins-bad: add qt5 packageconfig
This adds a new command line switch to the configure script to make sure
the right paths to moc, uic, rcc are used. It also makes sure OpenGL is
enabled if the qt5 packageconfig is in use.

Note that the moc/uic/rcc path configure switches were introduced
in GStreamer 1.12.2, so this version is a requirement.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:32:36 +02:00