xref: /haiku/src/apps/mediaplayer/Jamfile (revision 2ca1376080f866aafba1edc95eaa036b92ed2078)
1SubDir HAIKU_TOP src apps mediaplayer ;
2
3# for BRecentItems
4UsePublicHeaders [ FDirName be_apps Tracker ] ;
5UsePrivateHeaders interface shared ;
6UseLibraryHeaders agg ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		# source directories
12		local sourceDirs =
13			interface
14			media_node_framework
15			media_node_framework/audio
16			media_node_framework/video
17			playlist
18			supplier
19			support
20			settings
21		;
22
23		local sourceDir ;
24		for sourceDir in $(sourceDirs) {
25			SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src apps mediaplayer $(sourceDir) ] ;
26		}
27
28		Application [ MultiArchDefaultGristFiles MediaPlayer ] :
29			# interface
30			DurationView.cpp
31			PeakView.cpp
32			PlayPauseButton.cpp
33			PositionToolTip.cpp
34			SeekSlider.cpp
35			SubtitleBitmap.cpp
36			SymbolButton.cpp
37			TransportControlGroup.cpp
38			VolumeSlider.cpp
39
40			# media_node_framework
41			NodeManager.cpp
42			PlaybackListener.cpp
43			PlaybackLOAdapter.cpp
44			PlaybackManager.cpp
45
46			# media_node_framework/audio
47			AudioAdapter.cpp
48			AudioChannelConverter.cpp
49			AudioFormatConverter.cpp
50			AudioProducer.cpp
51			AudioReader.cpp
52			AudioResampler.cpp
53			AudioSupplier.cpp
54			AudioVolumeConverter.cpp
55
56			# media_node_framework/video
57			VideoConsumer.cpp
58			VideoProducer.cpp
59			VideoSupplier.cpp
60			VideoTarget.cpp
61
62			# plylist
63			CopyPLItemsCommand.cpp
64			FilePlaylistItem.cpp
65			ImportPLItemsCommand.cpp
66			ListViews.cpp
67			MovePLItemsCommand.cpp
68			Playlist.cpp
69			PlaylistItem.cpp
70			PlaylistListView.cpp
71			PlaylistObserver.cpp
72			PlaylistWindow.cpp
73			PLItemsCommand.cpp
74			RandomizePLItemsCommand.cpp
75			RemovePLItemsCommand.cpp
76			UrlPlaylistItem.cpp
77
78			# settings
79			Settings.cpp
80			SettingsWindow.cpp
81
82			# supplier
83			AudioTrackSupplier.cpp
84			ImageTrackVideoSupplier.cpp
85			MediaFileTrackSupplier.cpp
86			MediaTrackAudioSupplier.cpp
87			MediaTrackVideoSupplier.cpp
88			ProxyAudioSupplier.cpp
89			ProxyVideoSupplier.cpp
90			TrackSupplier.cpp
91			SubTitles.cpp
92			SubTitlesSRT.cpp
93			VideoTrackSupplier.cpp
94
95			# support
96			AbstractLOAdapter.cpp
97			ColorSpaceToString.cpp
98			Command.cpp
99			CommandStack.cpp
100			DurationToString.cpp
101			Event.cpp
102			EventQueue.cpp
103			FileReadWrite.cpp
104			Listener.cpp
105			ListenerAdapter.cpp
106			MessageEvent.cpp
107			Notifier.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