src/plugins/phonon/mmf/mmf.pro
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
    18 # This is necessary because both epoc32/include and Phonon contain videoplayer.h.
    18 # This is necessary because both epoc32/include and Phonon contain videoplayer.h.
    19 # By making /epoc32/include the first SYSTEMINCLUDE, we ensure that
    19 # By making /epoc32/include the first SYSTEMINCLUDE, we ensure that
    20 # '#include <videoplayer.h>' picks up the Symbian header, as intended.
    20 # '#include <videoplayer.h>' picks up the Symbian header, as intended.
    21 PREPEND_INCLUDEPATH = /epoc32/include
    21 PREPEND_INCLUDEPATH = /epoc32/include
    22 
    22 
       
    23 PREPEND_INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty
       
    24 
    23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
    25 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
    24 
    26 
    25 HEADERS +=                                           \
    27 HEADERS +=                                           \
    26            $$PHONON_MMF_DIR/abstractaudioeffect.h    \
    28            $$PHONON_MMF_DIR/abstractaudioeffect.h    \
    27            $$PHONON_MMF_DIR/abstractmediaplayer.h    \
    29            $$PHONON_MMF_DIR/abstractmediaplayer.h    \
    28            $$PHONON_MMF_DIR/abstractplayer.h         \
    30            $$PHONON_MMF_DIR/abstractplayer.h         \
    29            $$PHONON_MMF_DIR/ancestormovemonitor.h    \
    31            $$PHONON_MMF_DIR/abstractvideooutput.h    \
       
    32            $$PHONON_MMF_DIR/abstractvideoplayer.h    \
    30            $$PHONON_MMF_DIR/audioequalizer.h         \
    33            $$PHONON_MMF_DIR/audioequalizer.h         \
    31            $$PHONON_MMF_DIR/audiooutput.h            \
    34            $$PHONON_MMF_DIR/audiooutput.h            \
    32            $$PHONON_MMF_DIR/audioplayer.h            \
    35            $$PHONON_MMF_DIR/audioplayer.h            \
    33            $$PHONON_MMF_DIR/backend.h                \
    36            $$PHONON_MMF_DIR/backend.h                \
    34            $$PHONON_MMF_DIR/bassboost.h              \
    37            $$PHONON_MMF_DIR/bassboost.h              \
    35            $$PHONON_MMF_DIR/defs.h                   \
    38            $$PHONON_MMF_DIR/defs.h                   \
    36            $$PHONON_MMF_DIR/dummyplayer.h            \
    39            $$PHONON_MMF_DIR/dummyplayer.h            \
    37            $$PHONON_MMF_DIR/effectfactory.h          \
    40            $$PHONON_MMF_DIR/effectfactory.h          \
       
    41            $$PHONON_MMF_DIR/effectparameter.h        \
       
    42            $$PHONON_MMF_DIR/environmentalreverb.h    \
       
    43            $$PHONON_MMF_DIR/loudness.h               \
    38            $$PHONON_MMF_DIR/mediaobject.h            \
    44            $$PHONON_MMF_DIR/mediaobject.h            \
    39            $$PHONON_MMF_DIR/mmf_medianode.h          \
    45            $$PHONON_MMF_DIR/mmf_medianode.h          \
    40            $$PHONON_MMF_DIR/mmf_videoplayer.h        \
    46            $$PHONON_MMF_DIR/stereowidening.h         \
    41            $$PHONON_MMF_DIR/objectdump.h             \
    47            $$PHONON_MMF_DIR/objectdump.h             \
    42            $$PHONON_MMF_DIR/objectdump_symbian.h     \
    48            $$PHONON_MMF_DIR/objectdump_symbian.h     \
    43            $$PHONON_MMF_DIR/objecttree.h             \
    49            $$PHONON_MMF_DIR/objecttree.h             \
    44            $$PHONON_MMF_DIR/utils.h                  \
    50            $$PHONON_MMF_DIR/utils.h                  \
    45            $$PHONON_MMF_DIR/videooutput.h            \
       
    46            $$PHONON_MMF_DIR/videowidget.h
    51            $$PHONON_MMF_DIR/videowidget.h
    47 
    52 
    48 SOURCES +=                                           \
    53 SOURCES +=                                           \
    49            $$PHONON_MMF_DIR/abstractaudioeffect.cpp  \
    54            $$PHONON_MMF_DIR/abstractaudioeffect.cpp  \
    50            $$PHONON_MMF_DIR/abstractmediaplayer.cpp  \
    55            $$PHONON_MMF_DIR/abstractmediaplayer.cpp  \
    51            $$PHONON_MMF_DIR/abstractplayer.cpp       \
    56            $$PHONON_MMF_DIR/abstractplayer.cpp       \
    52            $$PHONON_MMF_DIR/ancestormovemonitor.cpp  \
       
    53            $$PHONON_MMF_DIR/audioequalizer.cpp       \
    57            $$PHONON_MMF_DIR/audioequalizer.cpp       \
    54            $$PHONON_MMF_DIR/audiooutput.cpp          \
    58            $$PHONON_MMF_DIR/audiooutput.cpp          \
    55            $$PHONON_MMF_DIR/audioplayer.cpp          \
    59            $$PHONON_MMF_DIR/audioplayer.cpp          \
       
    60            $$PHONON_MMF_DIR/abstractvideooutput.cpp  \
       
    61            $$PHONON_MMF_DIR/abstractvideoplayer.cpp  \
    56            $$PHONON_MMF_DIR/backend.cpp              \
    62            $$PHONON_MMF_DIR/backend.cpp              \
    57            $$PHONON_MMF_DIR/bassboost.cpp            \
    63            $$PHONON_MMF_DIR/bassboost.cpp            \
    58            $$PHONON_MMF_DIR/dummyplayer.cpp          \
    64            $$PHONON_MMF_DIR/dummyplayer.cpp          \
    59            $$PHONON_MMF_DIR/effectfactory.cpp        \
    65            $$PHONON_MMF_DIR/effectfactory.cpp        \
       
    66            $$PHONON_MMF_DIR/effectparameter.cpp      \
       
    67            $$PHONON_MMF_DIR/environmentalreverb.cpp  \
       
    68            $$PHONON_MMF_DIR/loudness.cpp             \
    60            $$PHONON_MMF_DIR/mediaobject.cpp          \
    69            $$PHONON_MMF_DIR/mediaobject.cpp          \
    61            $$PHONON_MMF_DIR/mmf_medianode.cpp        \
    70            $$PHONON_MMF_DIR/mmf_medianode.cpp        \
    62            $$PHONON_MMF_DIR/mmf_videoplayer.cpp      \
    71            $$PHONON_MMF_DIR/stereowidening.cpp       \
    63            $$PHONON_MMF_DIR/objectdump.cpp           \
    72            $$PHONON_MMF_DIR/objectdump.cpp           \
    64            $$PHONON_MMF_DIR/objectdump_symbian.cpp   \
    73            $$PHONON_MMF_DIR/objectdump_symbian.cpp   \
    65            $$PHONON_MMF_DIR/objecttree.cpp           \
    74            $$PHONON_MMF_DIR/objecttree.cpp           \
    66            $$PHONON_MMF_DIR/utils.cpp                \
    75            $$PHONON_MMF_DIR/utils.cpp                \
    67            $$PHONON_MMF_DIR/videooutput.cpp          \
       
    68            $$PHONON_MMF_DIR/videowidget.cpp
    76            $$PHONON_MMF_DIR/videowidget.cpp
       
    77 
       
    78 # Test for whether the build environment supports video rendering to graphics
       
    79 # surfaces.
       
    80 exists($${EPOCROOT}epoc32/include/platform/videoplayer2.h) {
       
    81     HEADERS +=                                       \
       
    82            $$PHONON_MMF_DIR/videooutput_surface.h    \
       
    83            $$PHONON_MMF_DIR/videoplayer_surface.h
       
    84     SOURCES +=                                       \
       
    85            $$PHONON_MMF_DIR/videooutput_surface.cpp  \
       
    86            $$PHONON_MMF_DIR/videoplayer_surface.cpp
       
    87     DEFINES += PHONON_MMF_VIDEO_SURFACES
       
    88 } else {
       
    89     HEADERS +=                                       \
       
    90            $$PHONON_MMF_DIR/ancestormovemonitor.h    \
       
    91            $$PHONON_MMF_DIR/videooutput_dsa.h        \
       
    92            $$PHONON_MMF_DIR/videoplayer_dsa.h
       
    93     SOURCES +=                                       \
       
    94            $$PHONON_MMF_DIR/ancestormovemonitor.cpp  \
       
    95            $$PHONON_MMF_DIR/videooutput_dsa.cpp      \
       
    96            $$PHONON_MMF_DIR/videoplayer_dsa.cpp      \
       
    97 }
    69 
    98 
    70 LIBS += -lcone
    99 LIBS += -lcone
    71 LIBS += -lws32
   100 LIBS += -lws32
    72 
   101 
    73 # This is only needed for debug builds, but is always linked against.
   102 # This is only needed for debug builds, but is always linked against.
    79 LIBS += -lcone                    # For CCoeEnv
   108 LIBS += -lcone                    # For CCoeEnv
    80 LIBS += -lws32                    # For RWindow
   109 LIBS += -lws32                    # For RWindow
    81 LIBS += -lefsrv                   # For file server
   110 LIBS += -lefsrv                   # For file server
    82 LIBS += -lapgrfx -lapmime         # For recognizer
   111 LIBS += -lapgrfx -lapmime         # For recognizer
    83 LIBS += -lmmfcontrollerframework  # For CMMFMetaDataEntry
   112 LIBS += -lmmfcontrollerframework  # For CMMFMetaDataEntry
       
   113 LIBS += -lmediaclientaudiostream  # For CMdaAudioOutputStream
    84 
   114 
    85 # These are for effects.
   115 # These are for effects.
    86 LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect
   116 LIBS += -lAudioEqualizerEffect -lBassBoostEffect -lDistanceAttenuationEffect -lDopplerBase -lEffectBase -lEnvironmentalReverbEffect -lListenerDopplerEffect -lListenerLocationEffect -lListenerOrientationEffect -lLocationBase -lLoudnessEffect -lOrientationBase -lSourceDopplerEffect -lSourceLocationEffect -lSourceOrientationEffect -lStereoWideningEffect
    87 
   117 
    88 # This is needed for having the .qtplugin file properly created on Symbian.
   118 # This is needed for having the .qtplugin file properly created on Symbian.