Replace mmfphonondebug.lib with #ifndef QT_NO_DEBUG.
[qt:matteos-kde-qt.git] / src / plugins / phonon / mmf / mmf.pro
1 # MMF Phonon backend
2
3 QT += phonon
4 TARGET = phonon_mmf
5 PHONON_MMF_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/mmf
6
7 # Uncomment the following line in order to use the CDrmPlayerUtility client
8 # API for audio playback, rather than CMdaAudioPlayerUtility.
9 #CONFIG += phonon_mmf_audio_drm
10
11 phonon_mmf_audio_drm {
12     LIBS += -lDrmAudioPlayUtility
13     DEFINES += QT_PHONON_MMF_AUDIO_DRM
14 } else {
15     LIBS += -lmediaclientaudio
16 }
17
18 # This is necessary because both epoc32/include and Phonon contain videoplayer.h.
19 # By making /epoc32/include the first SYSTEMINCLUDE, we ensure that
20 # '#include <videoplayer.h>' picks up the Symbian header, as intended.
21 PREPEND_INCLUDEPATH = /epoc32/include
22
23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
24
25 HEADERS +=                                           \
26            $$PHONON_MMF_DIR/abstractaudioeffect.h    \
27            $$PHONON_MMF_DIR/abstractmediaplayer.h    \
28            $$PHONON_MMF_DIR/abstractplayer.h         \
29            $$PHONON_MMF_DIR/ancestormovemonitor.h    \
30            $$PHONON_MMF_DIR/audioequalizer.h         \
31            $$PHONON_MMF_DIR/audiooutput.h            \
32            $$PHONON_MMF_DIR/audioplayer.h            \
33            $$PHONON_MMF_DIR/backend.h                \
34            $$PHONON_MMF_DIR/bassboost.h              \
35            $$PHONON_MMF_DIR/defs.h                   \
36            $$PHONON_MMF_DIR/dummyplayer.h            \
37            $$PHONON_MMF_DIR/effectfactory.h          \
38            $$PHONON_MMF_DIR/mediaobject.h            \
39            $$PHONON_MMF_DIR/mmf_medianode.h          \
40            $$PHONON_MMF_DIR/mmf_videoplayer.h        \
41            $$PHONON_MMF_DIR/objectdump.h             \
42            $$PHONON_MMF_DIR/objectdump_global.h      \
43            $$PHONON_MMF_DIR/objecttree.h             \
44            $$PHONON_MMF_DIR/utils.h                  \
45            $$PHONON_MMF_DIR/videooutput.h            \
46            $$PHONON_MMF_DIR/videooutputobserver.h    \
47            $$PHONON_MMF_DIR/videowidget.h            \
48            $$PHONON_MMF_DIR/volumeobserver.h
49
50 SOURCES +=                                           \
51            $$PHONON_MMF_DIR/abstractaudioeffect.cpp  \
52            $$PHONON_MMF_DIR/abstractmediaplayer.cpp  \
53            $$PHONON_MMF_DIR/abstractplayer.cpp       \
54            $$PHONON_MMF_DIR/ancestormovemonitor.cpp  \
55            $$PHONON_MMF_DIR/audioequalizer.cpp       \
56            $$PHONON_MMF_DIR/audiooutput.cpp          \
57            $$PHONON_MMF_DIR/audioplayer.cpp          \
58            $$PHONON_MMF_DIR/backend.cpp              \
59            $$PHONON_MMF_DIR/bassboost.cpp            \
60            $$PHONON_MMF_DIR/dummyplayer.cpp          \
61            $$PHONON_MMF_DIR/effectfactory.cpp        \
62            $$PHONON_MMF_DIR/mediaobject.cpp          \
63            $$PHONON_MMF_DIR/mmf_medianode.cpp        \
64            $$PHONON_MMF_DIR/mmf_videoplayer.cpp      \
65            $$PHONON_MMF_DIR/objectdump.cpp           \
66            $$PHONON_MMF_DIR/objecttree.cpp           \
67            $$PHONON_MMF_DIR/utils.cpp                \
68            $$PHONON_MMF_DIR/videooutput.cpp          \
69            $$PHONON_MMF_DIR/videowidget.cpp
70
71 HEADERS += $$PHONON_MMF_DIR/objectdump_symbian.h
72 SOURCES += $$PHONON_MMF_DIR/objectdump_symbian.cpp
73
74 LIBS += -lcone
75 LIBS += -lws32
76
77 # This is only needed for debug builds, but is always linked against.
78 LIBS += -lhal
79
80 TARGET.CAPABILITY = all -tcb
81
82 LIBS += -lmediaclientvideo        # For CVideoPlayerUtility
83 LIBS += -lcone                    # For CCoeEnv
84 LIBS += -lws32                    # For RWindow
85 LIBS += -lefsrv                   # For file server
86 LIBS += -lapgrfx -lapmime         # For recognizer
87 LIBS += -lmmfcontrollerframework  # For CMMFMetaDataEntry
88
89 # These are for effects.
90 LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect
91
92 # This is needed for having the .qtplugin file properly created on Symbian.
93 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend
94
95 target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend
96 INSTALLS += target
97
98 include(../../qpluginbase.pri)
99
100 TARGET.UID3=0x2001E629
101