|
1 QT += opengl phonon |
|
2 TARGET = phonon_qt7 |
|
3 DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend |
|
4 |
|
5 # The Quicktime framework is only awailable for 32-bit builds, so we |
|
6 # need to check for this before linking against it. |
|
7 # QMAKE_MAC_XARCH is not awailable on Tiger, but at the same time, |
|
8 # we never build for 64-bit architechtures on Tiger either: |
|
9 contains(QMAKE_MAC_XARCH, no) { |
|
10 LIBS += -framework QuickTime |
|
11 } else { |
|
12 LIBS += -Xarch_i386 -framework QuickTime -Xarch_ppc -framework QuickTime |
|
13 } |
|
14 |
|
15 LIBS += -framework AppKit -framework AudioUnit \ |
|
16 -framework AudioToolbox -framework CoreAudio \ |
|
17 -framework QuartzCore -framework QTKit |
|
18 |
|
19 DEPENDPATH += . |
|
20 INCLUDEPATH += . |
|
21 |
|
22 PHONON_QUICKTIME_DIR=$$QT_SOURCE_TREE/src/3rdparty/phonon/qt7 |
|
23 |
|
24 # Input |
|
25 HEADERS += $$PHONON_QUICKTIME_DIR/medianode.h \ |
|
26 $$PHONON_QUICKTIME_DIR/backend.h \ |
|
27 $$PHONON_QUICKTIME_DIR/videowidget.h \ |
|
28 $$PHONON_QUICKTIME_DIR/mediaobject.h \ |
|
29 $$PHONON_QUICKTIME_DIR/quicktimevideoplayer.h \ |
|
30 $$PHONON_QUICKTIME_DIR/backendheader.h \ |
|
31 $$PHONON_QUICKTIME_DIR/medianodevideopart.h \ |
|
32 $$PHONON_QUICKTIME_DIR/medianodeevent.h \ |
|
33 $$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.h \ |
|
34 $$PHONON_QUICKTIME_DIR/audionode.h \ |
|
35 $$PHONON_QUICKTIME_DIR/audiograph.h \ |
|
36 $$PHONON_QUICKTIME_DIR/audiooutput.h \ |
|
37 $$PHONON_QUICKTIME_DIR/quicktimemetadata.h \ |
|
38 $$PHONON_QUICKTIME_DIR/audiomixer.h \ |
|
39 $$PHONON_QUICKTIME_DIR/audiodevice.h \ |
|
40 $$PHONON_QUICKTIME_DIR/backendinfo.h \ |
|
41 $$PHONON_QUICKTIME_DIR/audioconnection.h \ |
|
42 $$PHONON_QUICKTIME_DIR/audiopartoutput.h \ |
|
43 $$PHONON_QUICKTIME_DIR/videoframe.h \ |
|
44 $$PHONON_QUICKTIME_DIR/audiosplitter.h \ |
|
45 $$PHONON_QUICKTIME_DIR/audioeffects.h \ |
|
46 $$PHONON_QUICKTIME_DIR/quicktimestreamreader.h \ |
|
47 $$PHONON_QUICKTIME_DIR/mediaobjectaudionode.h |
|
48 # HEADERS += objc_help.h videoeffect.h |
|
49 |
|
50 OBJECTIVE_SOURCES += $$PHONON_QUICKTIME_DIR/quicktimevideoplayer.mm \ |
|
51 $$PHONON_QUICKTIME_DIR/backendheader.mm \ |
|
52 $$PHONON_QUICKTIME_DIR/medianodevideopart.mm \ |
|
53 $$PHONON_QUICKTIME_DIR/medianodeevent.mm \ |
|
54 $$PHONON_QUICKTIME_DIR/audiooutput.mm \ |
|
55 $$PHONON_QUICKTIME_DIR/backendinfo.mm \ |
|
56 $$PHONON_QUICKTIME_DIR/audiosplitter.mm \ |
|
57 $$PHONON_QUICKTIME_DIR/audioeffects.mm \ |
|
58 $$PHONON_QUICKTIME_DIR/quicktimestreamreader.mm \ |
|
59 $$PHONON_QUICKTIME_DIR/medianode.mm \ |
|
60 $$PHONON_QUICKTIME_DIR/backend.mm \ |
|
61 $$PHONON_QUICKTIME_DIR/mediaobject.mm \ |
|
62 $$PHONON_QUICKTIME_DIR/mediaobjectaudionode.mm \ |
|
63 $$PHONON_QUICKTIME_DIR/audiomixer.mm \ |
|
64 $$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.mm \ |
|
65 $$PHONON_QUICKTIME_DIR/videoframe.mm \ |
|
66 $$PHONON_QUICKTIME_DIR/quicktimemetadata.mm \ |
|
67 $$PHONON_QUICKTIME_DIR/audiodevice.mm \ |
|
68 $$PHONON_QUICKTIME_DIR/audioconnection.mm \ |
|
69 $$PHONON_QUICKTIME_DIR/audiograph.mm \ |
|
70 $$PHONON_QUICKTIME_DIR/audionode.mm \ |
|
71 $$PHONON_QUICKTIME_DIR/videowidget.mm |
|
72 |
|
73 target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend |
|
74 INSTALLS += target |
|
75 |
|
76 include(../../qpluginbase.pri) |