qtmultimedia: add gst-plugins-base dependency and openal PACKAGECONFIG
* this will need small patch in qtmultimedia.pro to run qtCompileTest(openal) only with OE_OPENAL_ENABLED Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
a4c346ba8f
commit
43872948d4
|
@ -1,3 +1,13 @@
|
|||
require qt5.inc
|
||||
|
||||
DEPENDS += "qtdeclarative gstreamer alsa-lib "
|
||||
DEPENDS += "qtdeclarative gstreamer gst-plugins-base alsa-lib "
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[openal] = ",,openal-soft"
|
||||
|
||||
do_configure_prepend() {
|
||||
# disable openal test if it isn't enabled by PACKAGECONFIG
|
||||
sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:qtCompileTest(openal)/g' ${S}/qtmultimedia.pro
|
||||
}
|
||||
|
||||
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}"
|
||||
|
|
Loading…
Reference in New Issue