diff options
author | Tomi Vihria <tomi.vihria@nokia.com> | 2011-05-18 14:43:14 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-05-25 17:11:52 (GMT) |
commit | c9eb2ffd1ed940133392831747605bf735d92086 (patch) | |
tree | 44d3e095b65c6682c22cb227a2341b5e65557bcf /src/plugins/phonon/mmf/mmf.pro | |
parent | 9663956626fe95ace6baa4cf0ba30898a88147a7 (diff) | |
download | Qt-c9eb2ffd1ed940133392831747605bf735d92086.zip Qt-c9eb2ffd1ed940133392831747605bf735d92086.tar.gz Qt-c9eb2ffd1ed940133392831747605bf735d92086.tar.bz2 |
Fixing Linux compatibility issues for Symbian
The patch applies everything from the original, except for the
filename case changes in LIBS which are handled differently
based on the auto-detected is_using_gnupoc CONFIG value.
Reviewed-by: Laszlo Agocs
Diffstat (limited to 'src/plugins/phonon/mmf/mmf.pro')
-rw-r--r-- | src/plugins/phonon/mmf/mmf.pro | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/plugins/phonon/mmf/mmf.pro b/src/plugins/phonon/mmf/mmf.pro index a9e5746..75e42af 100644 --- a/src/plugins/phonon/mmf/mmf.pro +++ b/src/plugins/phonon/mmf/mmf.pro @@ -103,7 +103,11 @@ symbian { exists($${EPOCROOT}epoc32/include/mw/downloadmgrclient.h) { HEADERS += $$PHONON_MMF_DIR/download.h SOURCES += $$PHONON_MMF_DIR/download.cpp - LIBS += -lDownloadMgr + contains(CONFIG, is_using_gnupoc) { + LIBS += -ldownloadmgr + } else { + LIBS += -lDownloadMgr + } DEFINES += PHONON_MMF_PROGRESSIVE_DOWNLOAD } } @@ -125,7 +129,11 @@ symbian { LIBS += -lmediaclientaudiostream # For CMdaAudioOutputStream # These are for effects. - LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerbase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect + CONTAINS(config, is_using_gnupoc) { + LIBS += -laudioequalizereffect -lbassboosteffect -ldistanceattenuationeffect -ldopplerbase -leffectbase -lenvironmentalreverbeffect -llistenerdopplereffect -llistenerlocationeffect -llistenerorientationeffect -llocationbase -lloudnesseffect -lorientationbase -lsourcedopplereffect -lsourcelocationeffect -lsourceorientationeffect -lstereowideningeffect + } else { + LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerbase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect + } # This is to allow IAP to be specified LIBS += -lcommdb |