0
|
1 |
TARGET = phonon
|
|
2 |
include(../qbase.pri)
|
|
3 |
|
|
4 |
PHONON_MAJOR_VERSION = $${QT_MAJOR_VERSION}
|
|
5 |
PHONON_MINOR_VERSION = 3
|
|
6 |
PHONON_PATCH_VERSION = 1
|
|
7 |
VERSION = $${PHONON_MAJOR_VERSION}.$${PHONON_MINOR_VERSION}.$${PHONON_PATCH_VERSION}
|
|
8 |
|
|
9 |
DEPENDPATH += .
|
|
10 |
DEFINES += MAKE_PHONON_LIB
|
|
11 |
|
|
12 |
PHONON_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/phonon
|
|
13 |
|
|
14 |
unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtNetwork
|
|
15 |
|
|
16 |
# Input
|
|
17 |
HEADERS += $$PHONON_DIR/abstractaudiooutput.h \
|
|
18 |
$$PHONON_DIR/abstractaudiooutput_p.h \
|
|
19 |
$$PHONON_DIR/abstractmediastream.h \
|
|
20 |
$$PHONON_DIR/abstractmediastream_p.h \
|
|
21 |
$$PHONON_DIR/abstractvideooutput.h \
|
|
22 |
$$PHONON_DIR/abstractvideooutput_p.h \
|
|
23 |
$$PHONON_DIR/addoninterface.h \
|
|
24 |
$$PHONON_DIR/audiooutput.h \
|
|
25 |
$$PHONON_DIR/audiooutput_p.h \
|
|
26 |
$$PHONON_DIR/audiooutputinterface.h \
|
|
27 |
$$PHONON_DIR/backendcapabilities.h \
|
|
28 |
$$PHONON_DIR/backendcapabilities_p.h \
|
|
29 |
$$PHONON_DIR/backendinterface.h \
|
|
30 |
$$PHONON_DIR/effect.h \
|
|
31 |
$$PHONON_DIR/effect_p.h \
|
|
32 |
$$PHONON_DIR/effectinterface.h \
|
|
33 |
$$PHONON_DIR/effectparameter.h \
|
|
34 |
$$PHONON_DIR/effectparameter_p.h \
|
|
35 |
$$PHONON_DIR/effectwidget.h \
|
|
36 |
$$PHONON_DIR/effectwidget_p.h \
|
|
37 |
$$PHONON_DIR/factory_p.h \
|
|
38 |
$$PHONON_DIR/frontendinterface_p.h \
|
|
39 |
$$PHONON_DIR/globalconfig_p.h \
|
|
40 |
$$PHONON_DIR/iodevicestream_p.h \
|
|
41 |
$$PHONON_DIR/mediacontroller.h \
|
|
42 |
$$PHONON_DIR/medianode.h \
|
|
43 |
$$PHONON_DIR/medianode_p.h \
|
|
44 |
$$PHONON_DIR/medianodedestructionhandler_p.h \
|
|
45 |
$$PHONON_DIR/mediaobject.h \
|
|
46 |
$$PHONON_DIR/mediaobject_p.h \
|
|
47 |
$$PHONON_DIR/mediaobjectinterface.h \
|
|
48 |
$$PHONON_DIR/mediasource.h \
|
|
49 |
$$PHONON_DIR/mediasource_p.h \
|
|
50 |
$$PHONON_DIR/objectdescription.h \
|
|
51 |
$$PHONON_DIR/objectdescription_p.h \
|
|
52 |
$$PHONON_DIR/objectdescriptionmodel.h \
|
|
53 |
$$PHONON_DIR/objectdescriptionmodel_p.h \
|
|
54 |
$$PHONON_DIR/path.h \
|
|
55 |
$$PHONON_DIR/path_p.h \
|
|
56 |
$$PHONON_DIR/phonondefs.h \
|
|
57 |
$$PHONON_DIR/phonondefs_p.h \
|
|
58 |
$$PHONON_DIR/phononnamespace.h \
|
|
59 |
$$PHONON_DIR/phononnamespace_p.h \
|
|
60 |
$$PHONON_DIR/platform_p.h \
|
|
61 |
$$PHONON_DIR/platformplugin.h \
|
|
62 |
$$PHONON_DIR/qsettingsgroup_p.h \
|
|
63 |
$$PHONON_DIR/seekslider.h \
|
|
64 |
$$PHONON_DIR/seekslider_p.h \
|
|
65 |
$$PHONON_DIR/streaminterface.h \
|
|
66 |
$$PHONON_DIR/streaminterface_p.h \
|
|
67 |
$$PHONON_DIR/videoplayer.h \
|
|
68 |
$$PHONON_DIR/videowidget.h \
|
|
69 |
$$PHONON_DIR/videowidget_p.h \
|
|
70 |
$$PHONON_DIR/videowidgetinterface.h \
|
|
71 |
$$PHONON_DIR/volumefadereffect.h \
|
|
72 |
$$PHONON_DIR/volumefadereffect_p.h \
|
|
73 |
$$PHONON_DIR/volumefaderinterface.h \
|
|
74 |
$$PHONON_DIR/volumeslider.h \
|
|
75 |
$$PHONON_DIR/volumeslider_p.h
|
|
76 |
SOURCES += $$PHONON_DIR/objectdescription.cpp \
|
|
77 |
$$PHONON_DIR/objectdescriptionmodel.cpp \
|
|
78 |
$$PHONON_DIR/phononnamespace.cpp \
|
|
79 |
$$PHONON_DIR/mediasource.cpp \
|
|
80 |
$$PHONON_DIR/abstractmediastream.cpp \
|
|
81 |
$$PHONON_DIR/streaminterface.cpp \
|
|
82 |
$$PHONON_DIR/mediaobject.cpp \
|
|
83 |
$$PHONON_DIR/medianode.cpp \
|
|
84 |
$$PHONON_DIR/path.cpp \
|
|
85 |
$$PHONON_DIR/effectparameter.cpp \
|
|
86 |
$$PHONON_DIR/effect.cpp \
|
|
87 |
$$PHONON_DIR/volumefadereffect.cpp \
|
|
88 |
$$PHONON_DIR/abstractaudiooutput.cpp \
|
|
89 |
$$PHONON_DIR/abstractaudiooutput_p.cpp \
|
|
90 |
$$PHONON_DIR/audiooutput.cpp \
|
|
91 |
$$PHONON_DIR/audiooutputinterface.cpp \
|
|
92 |
$$PHONON_DIR/abstractvideooutput.cpp \
|
|
93 |
$$PHONON_DIR/abstractvideooutput_p.cpp \
|
|
94 |
$$PHONON_DIR/backendcapabilities.cpp \
|
|
95 |
$$PHONON_DIR/globalconfig.cpp \
|
|
96 |
$$PHONON_DIR/factory.cpp \
|
|
97 |
$$PHONON_DIR/platform.cpp \
|
|
98 |
$$PHONON_DIR/mediacontroller.cpp \
|
|
99 |
$$PHONON_DIR/videowidget.cpp \
|
|
100 |
$$PHONON_DIR/videoplayer.cpp \
|
|
101 |
$$PHONON_DIR/seekslider.cpp \
|
|
102 |
$$PHONON_DIR/volumeslider.cpp \
|
|
103 |
$$PHONON_DIR/effectwidget.cpp \
|
|
104 |
$$PHONON_DIR/iodevicestream.cpp
|
|
105 |
|
|
106 |
contains(QT_CONFIG, dbus) {
|
|
107 |
QT += dbus
|
|
108 |
HEADERS += $$PHONON_DIR/audiooutputadaptor_p.h
|
|
109 |
SOURCES += $$PHONON_DIR/audiooutputadaptor.cpp
|
|
110 |
unix:QMAKE_PKGCONFIG_REQUIRES += QtDBus
|
|
111 |
} else {
|
|
112 |
DEFINES += QT_NO_DBUS
|
|
113 |
}
|
|
114 |
|
|
115 |
contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols
|
|
116 |
|
|
117 |
symbian: {
|
|
118 |
# Phonon depends on numeric_limits. Enabling STL support in Qt
|
|
119 |
# would bring in link dependencies, and we don't need that for
|
|
120 |
# numeric_limits, hence we here merely ensure we bring in the necessary
|
|
121 |
# header.
|
|
122 |
INCLUDEPATH *= $$OS_LAYER_STDCPP_SYSTEMINCLUDE
|
|
123 |
|
|
124 |
# Without this setting, code using numeric_limits will fail
|
|
125 |
# for winscw, although armv5 works fine no matter what.
|
|
126 |
QMAKE_CXXFLAGS.CW *= $$STLLIB_USAGE_CW_FLAGS
|
|
127 |
|
|
128 |
TARGET.UID3 = 0x2001E624
|
|
129 |
}
|