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:
Martin Jansa 2013-07-22 14:55:26 +02:00
parent a4c346ba8f
commit 43872948d4
1 changed files with 11 additions and 1 deletions

View File

@ -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)}"