diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-22 14:55:26 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-25 12:14:12 +0200 |
commit | 43872948d4bb764c723d122cac8dcc0cb1ed93c6 (patch) | |
tree | 511057336f56db5248dfc95e01a8517bbc931a85 | |
parent | a4c346ba8f66cf06e92b3624d9487bccc19c1358 (diff) |
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>
-rw-r--r-- | recipes-qt/qt5/qtmultimedia.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtmultimedia.inc b/recipes-qt/qt5/qtmultimedia.inc index 6a1a7375..87269850 100644 --- a/recipes-qt/qt5/qtmultimedia.inc +++ b/recipes-qt/qt5/qtmultimedia.inc @@ -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)}" |