summaryrefslogtreecommitdiffstats
path: root/src/plugins/phonon/qt7/qt7.pro
blob: 665baee433864c3aba7ed19eb1e44bcdc1913664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
QT += opengl phonon
TARGET = phonon_qt7
DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend

# The Quicktime framework is only awailable for 32-bit builds, so we
# need to check for this before linking against it.
# QMAKE_MAC_XARCH is not awailable on Tiger, but at the same time,
# we never build for 64-bit architechtures on Tiger either:
contains(QMAKE_MAC_XARCH, no) {
    LIBS += -framework QuickTime
} else {
    LIBS += -Xarch_i386 -framework QuickTime -Xarch_ppc -framework QuickTime
}

LIBS += -framework AudioUnit \
	-framework AudioToolbox -framework CoreAudio \
	-framework QuartzCore -framework QTKit

DEPENDPATH += .
INCLUDEPATH += . 

PHONON_QUICKTIME_DIR=$$QT_SOURCE_TREE/src/3rdparty/phonon/qt7

# Input
HEADERS += $$PHONON_QUICKTIME_DIR/medianode.h \
		$$PHONON_QUICKTIME_DIR/backend.h \
		$$PHONON_QUICKTIME_DIR/videowidget.h \
		$$PHONON_QUICKTIME_DIR/mediaobject.h \
		$$PHONON_QUICKTIME_DIR/quicktimevideoplayer.h \
	   	$$PHONON_QUICKTIME_DIR/backendheader.h \
	   	$$PHONON_QUICKTIME_DIR/medianodevideopart.h \
	 	$$PHONON_QUICKTIME_DIR/medianodeevent.h  \
		$$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.h \
	   	$$PHONON_QUICKTIME_DIR/audionode.h  \
		$$PHONON_QUICKTIME_DIR/audiograph.h \
	 	$$PHONON_QUICKTIME_DIR/audiooutput.h \
	 	$$PHONON_QUICKTIME_DIR/quicktimemetadata.h \
	   	$$PHONON_QUICKTIME_DIR/audiomixer.h \
	 	$$PHONON_QUICKTIME_DIR/audiodevice.h \
	 	$$PHONON_QUICKTIME_DIR/backendinfo.h \
	 	$$PHONON_QUICKTIME_DIR/audioconnection.h \
	 	$$PHONON_QUICKTIME_DIR/audiopartoutput.h \
	   	$$PHONON_QUICKTIME_DIR/videoframe.h \
	 	$$PHONON_QUICKTIME_DIR/audiosplitter.h \
	 	$$PHONON_QUICKTIME_DIR/audioeffects.h \
	 	$$PHONON_QUICKTIME_DIR/quicktimestreamreader.h \
	 	$$PHONON_QUICKTIME_DIR/mediaobjectaudionode.h 
# HEADERS += objc_help.h videoeffect.h

OBJECTIVE_SOURCES += $$PHONON_QUICKTIME_DIR/quicktimevideoplayer.mm \
			$$PHONON_QUICKTIME_DIR/backendheader.mm \
	   		$$PHONON_QUICKTIME_DIR/medianodevideopart.mm \
	 		$$PHONON_QUICKTIME_DIR/medianodeevent.mm \
	 		$$PHONON_QUICKTIME_DIR/audiooutput.mm \
	 		$$PHONON_QUICKTIME_DIR/backendinfo.mm \
	 		$$PHONON_QUICKTIME_DIR/audiosplitter.mm \
	 		$$PHONON_QUICKTIME_DIR/audioeffects.mm \
	 		$$PHONON_QUICKTIME_DIR/quicktimestreamreader.mm \
			$$PHONON_QUICKTIME_DIR/medianode.mm \
			$$PHONON_QUICKTIME_DIR/backend.mm \
			$$PHONON_QUICKTIME_DIR/mediaobject.mm \
			$$PHONON_QUICKTIME_DIR/mediaobjectaudionode.mm \
	   		$$PHONON_QUICKTIME_DIR/audiomixer.mm  \
			$$PHONON_QUICKTIME_DIR/quicktimeaudioplayer.mm \
			$$PHONON_QUICKTIME_DIR/videoframe.mm \
	 		$$PHONON_QUICKTIME_DIR/quicktimemetadata.mm \
			$$PHONON_QUICKTIME_DIR/audiodevice.mm \
	 		$$PHONON_QUICKTIME_DIR/audioconnection.mm \
	 		$$PHONON_QUICKTIME_DIR/audiograph.mm \
	   		$$PHONON_QUICKTIME_DIR/audionode.mm \
			$$PHONON_QUICKTIME_DIR/videowidget.mm

target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend
INSTALLS += target

include(../../qpluginbase.pri)