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_symbian.h \
|
---|
43 | $$PHONON_MMF_DIR/objecttree.h \
|
---|
44 | $$PHONON_MMF_DIR/utils.h \
|
---|
45 | $$PHONON_MMF_DIR/videooutput.h \
|
---|
46 | $$PHONON_MMF_DIR/videowidget.h
|
---|
47 |
|
---|
48 | SOURCES += \
|
---|
49 | $$PHONON_MMF_DIR/abstractaudioeffect.cpp \
|
---|
50 | $$PHONON_MMF_DIR/abstractmediaplayer.cpp \
|
---|
51 | $$PHONON_MMF_DIR/abstractplayer.cpp \
|
---|
52 | $$PHONON_MMF_DIR/ancestormovemonitor.cpp \
|
---|
53 | $$PHONON_MMF_DIR/audioequalizer.cpp \
|
---|
54 | $$PHONON_MMF_DIR/audiooutput.cpp \
|
---|
55 | $$PHONON_MMF_DIR/audioplayer.cpp \
|
---|
56 | $$PHONON_MMF_DIR/backend.cpp \
|
---|
57 | $$PHONON_MMF_DIR/bassboost.cpp \
|
---|
58 | $$PHONON_MMF_DIR/dummyplayer.cpp \
|
---|
59 | $$PHONON_MMF_DIR/effectfactory.cpp \
|
---|
60 | $$PHONON_MMF_DIR/mediaobject.cpp \
|
---|
61 | $$PHONON_MMF_DIR/mmf_medianode.cpp \
|
---|
62 | $$PHONON_MMF_DIR/mmf_videoplayer.cpp \
|
---|
63 | $$PHONON_MMF_DIR/objectdump.cpp \
|
---|
64 | $$PHONON_MMF_DIR/objectdump_symbian.cpp \
|
---|
65 | $$PHONON_MMF_DIR/objecttree.cpp \
|
---|
66 | $$PHONON_MMF_DIR/utils.cpp \
|
---|
67 | $$PHONON_MMF_DIR/videooutput.cpp \
|
---|
68 | $$PHONON_MMF_DIR/videowidget.cpp
|
---|
69 |
|
---|
70 | LIBS += -lcone
|
---|
71 | LIBS += -lws32
|
---|
72 |
|
---|
73 | # This is only needed for debug builds, but is always linked against.
|
---|
74 | LIBS += -lhal
|
---|
75 |
|
---|
76 | TARGET.CAPABILITY = all -tcb
|
---|
77 |
|
---|
78 | LIBS += -lmediaclientvideo # For CVideoPlayerUtility
|
---|
79 | LIBS += -lcone # For CCoeEnv
|
---|
80 | LIBS += -lws32 # For RWindow
|
---|
81 | LIBS += -lefsrv # For file server
|
---|
82 | LIBS += -lapgrfx -lapmime # For recognizer
|
---|
83 | LIBS += -lmmfcontrollerframework # For CMMFMetaDataEntry
|
---|
84 |
|
---|
85 | # These are for effects.
|
---|
86 | LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect
|
---|
87 |
|
---|
88 | # This is needed for having the .qtplugin file properly created on Symbian.
|
---|
89 | QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend
|
---|
90 |
|
---|
91 | target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend
|
---|
92 | INSTALLS += target
|
---|
93 |
|
---|
94 | include(../../qpluginbase.pri)
|
---|
95 |
|
---|
96 | TARGET.UID3=0x2001E629
|
---|
97 |
|
---|