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) | |
| download | meta-qt5-43872948d4bb764c723d122cac8dcc0cb1ed93c6.tar.gz | |
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 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | 2 | ||
| 3 | DEPENDS += "qtdeclarative gstreamer alsa-lib " | 3 | DEPENDS += "qtdeclarative gstreamer gst-plugins-base alsa-lib " |
| 4 | |||
| 5 | PACKAGECONFIG ??= "" | ||
| 6 | PACKAGECONFIG[openal] = ",,openal-soft" | ||
| 7 | |||
| 8 | do_configure_prepend() { | ||
| 9 | # disable openal test if it isn't enabled by PACKAGECONFIG | ||
| 10 | sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:qtCompileTest(openal)/g' ${S}/qtmultimedia.pro | ||
| 11 | } | ||
| 12 | |||
| 13 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}" | ||
