summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-22 14:55:26 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-25 12:14:12 +0200
commit43872948d4bb764c723d122cac8dcc0cb1ed93c6 (patch)
tree511057336f56db5248dfc95e01a8517bbc931a85
parenta4c346ba8f66cf06e92b3624d9487bccc19c1358 (diff)
downloadmeta-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.inc12
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 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtdeclarative gstreamer alsa-lib " 3DEPENDS += "qtdeclarative gstreamer gst-plugins-base alsa-lib "
4
5PACKAGECONFIG ??= ""
6PACKAGECONFIG[openal] = ",,openal-soft"
7
8do_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
13EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}"