xref: /haiku/src/apps/mediaplayer/Jamfile (revision 5f4f984a94d150153bcb00a2ed780d0437859543)
1SubDir HAIKU_TOP src apps mediaplayer ;
2
3# for BRecentItems
4UsePublicHeaders [ FDirName be_apps Tracker ] ;
5UsePrivateHeaders interface shared ;
6UseLibraryHeaders agg ;
7
8for architectureObject in [ MultiArchSubDirSetup ] {
9	on $(architectureObject) {
10		# source directories
11		local sourceDirs =
12			interface
13			media_node_framework
14			media_node_framework/audio
15			media_node_framework/video
16			playlist
17			supplier
18			support
19			settings
20		;
21
22		local sourceDir ;
23		for sourceDir in $(sourceDirs) {
24			SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps mediaplayer $(sourceDir) ] ;
25		}
26
27		Application [ MultiArchDefaultGristFiles MediaPlayer ] :
28			# interface
29			DurationView.cpp
30			PeakView.cpp
31			PlayPauseButton.cpp
32			PositionToolTip.cpp
33			SeekSlider.cpp
34			SubtitleBitmap.cpp
35			SymbolButton.cpp
36			TransportControlGroup.cpp
37			VolumeSlider.cpp
38
39			# media_node_framework
40			NodeManager.cpp
41			PlaybackListener.cpp
42			PlaybackLOAdapter.cpp
43			PlaybackManager.cpp
44
45			# media_node_framework/audio
46			AudioAdapter.cpp
47			AudioChannelConverter.cpp
48			AudioFormatConverter.cpp
49			AudioProducer.cpp
50			AudioReader.cpp
51			AudioResampler.cpp
52			AudioSupplier.cpp
53			AudioVolumeConverter.cpp
54
55			# media_node_framework/video
56			VideoConsumer.cpp
57			VideoProducer.cpp
58			VideoSupplier.cpp
59			VideoTarget.cpp
60
61			# plylist
62			CopyPLItemsCommand.cpp
63			FilePlaylistItem.cpp
64			ImportPLItemsCommand.cpp
65			ListViews.cpp
66			MovePLItemsCommand.cpp
67			Playlist.cpp
68			PlaylistItem.cpp
69			PlaylistListView.cpp
70			PlaylistObserver.cpp
71			PlaylistWindow.cpp
72			PLItemsCommand.cpp
73			RandomizePLItemsCommand.cpp
74			RemovePLItemsCommand.cpp
75			UrlPlaylistItem.cpp
76
77			# settings
78			Settings.cpp
79			SettingsWindow.cpp
80
81			# supplier
82			AudioTrackSupplier.cpp
83			ImageTrackVideoSupplier.cpp
84			MediaFileTrackSupplier.cpp
85			MediaTrackAudioSupplier.cpp
86			MediaTrackVideoSupplier.cpp
87			ProxyAudioSupplier.cpp
88			ProxyVideoSupplier.cpp
89			TrackSupplier.cpp
90			SubTitles.cpp
91			SubTitlesSRT.cpp
92			VideoTrackSupplier.cpp
93
94			# support
95			AbstractLOAdapter.cpp
96			ColorSpaceToString.cpp
97			Command.cpp
98			CommandStack.cpp
99			DurationToString.cpp
100			Event.cpp
101			EventQueue.cpp
102			FileReadWrite.cpp
103			Listener.cpp
104			ListenerAdapter.cpp
105			MessageEvent.cpp
106			Notifier.cpp
107			SettingsMessage.cpp
108			StackBlurFilter.cpp
109
110			# .
111			Controller.cpp
112			ControllerObserver.cpp
113			ControllerView.cpp
114			InfoWin.cpp
115			MainApp.cpp
116			MainWin.cpp
117			NetworkStreamWin.cpp
118			VideoView.cpp
119
120			: be game media tracker translation textencoding [ TargetLibstdc++ ]
121			  localestub shared bnetapi
122			: MediaPlayer.rdef
123		;
124
125		DoCatalogs MediaPlayer :
126			x-vnd.Haiku-MediaPlayer
127			:
128			CopyPLItemsCommand.cpp
129			ImportPLItemsCommand.cpp
130			InfoWin.cpp
131			MainApp.cpp
132			MainWin.cpp
133			MovePLItemsCommand.cpp
134			NetworkStreamWin.cpp
135			PeakView.cpp
136			PlaylistItem.cpp
137			PlaylistWindow.cpp
138			RandomizePLItemsCommand.cpp
139			RemovePLItemsCommand.cpp
140			SettingsWindow.cpp
141		;
142	}
143}
144