backport the "remove growl lib as Qt supports growl built in" commit
[amarok:history.git] / src / CMakeLists.txt
1 ADD_DEFINITIONS(${TAGLIB_CFLAGS})
2
3 if(MP4V2_FOUND)
4     ADD_DEFINITIONS(-DHAVE_MP4V2)
5     include_directories( ${MP4V2_INCLUDE_DIR} )
6         endif(MP4V2_FOUND)
7
8 if(APPLE)       
9     set(mac_SRCS 
10                 app_mac.cpp 
11                 mac/GrowlInterface.cpp 
12                 )
13                 include_directories ( services/lastfm/ )
14                 set( MAC_FILES_DIR  ${CMAKE_SOURCE_DIR}/src/mac )
15 endif(APPLE)
16
17 # add_subdirectory( playlistmanager )
18 add_subdirectory( collection )
19 add_subdirectory( collectionscanner )
20 add_subdirectory( context )
21 add_subdirectory( images )
22 add_subdirectory( metadata )
23 add_subdirectory( services )
24 add_subdirectory( scripts )
25 add_subdirectory( strigi )
26 add_subdirectory( themes )
27
28
29 include_directories(
30 #    analyzers
31     browsers/playlistbrowser
32     browsers/servicebrowser
33     browsers/servicebrowser/scriptableservice
34     charset-detector/include
35     charset-detector/src
36     charset-detector/src/tables
37     collection
38     configdialog
39     configdialog/dialogs
40     context
41     context/widgets
42     dbus
43     dialogs
44     dynamic
45     meta
46     playlistmanager
47     plugin
48     podcasts
49     statusbar
50     widgets
51     ${CMAKE_CURRENT_BINARY_DIR} #for amarokconfig.h
52     ${KDE4_INCLUDE_DIR}
53     ${TAGLIB_INCLUDE_DIR}
54     ${QT_INCLUDES}
55     ${QT_QTSCRIPT_INCLUDE_DIR}
56 )
57
58 if ( KDEMULTIMEDIA_FOUND )
59     include_directories( ${KDEMULTIMEDIA_INCLUDE_DIR} )
60 endif ( KDEMULTIMEDIA_FOUND )
61
62 #####################################################################
63 # PLUGIN
64 #####################################################################
65 set(libplugin_SRCS
66     plugin/plugin.cpp
67     plugin/pluginconfig.cpp
68 )
69
70 #####################################################################
71 # SERVICEFRAMEWORK
72 #####################################################################
73 set(libserviceframework_SRCS
74     services/DynamicServiceQueryMaker.cpp
75     services/InfoParserBase.cpp
76     services/ServiceAlbumCoverDownloader.cpp
77     services/ServiceBase.cpp
78     services/ServiceCollection.cpp
79     services/ServiceCollectionLocation.cpp
80     services/ServiceCollectionTreeView.cpp
81     services/ServiceCurrentTrackActionsCapability.cpp
82     services/ServiceCustomActionsCapability.cpp
83     services/ServiceInfoProxy.cpp
84     services/ServiceMetaBase.cpp
85     services/ServicePluginManager.cpp
86     services/ServiceSourceInfoCapability.cpp
87     services/ServiceSqlCollection.cpp
88     services/ServiceSqlQueryMaker.cpp
89     services/ServiceSqlRegistry.cpp
90     services/ShowInServiceAction.cpp
91 )
92
93
94 #####################################################################
95 # SERVICEBROWSER
96 #####################################################################
97     set(libservicebrowser_SRCS
98     browsers/servicebrowser/ServiceBrowser.cpp
99     browsers/servicebrowser/ServiceListDelegate.cpp
100     browsers/servicebrowser/ServiceListModel.cpp
101     browsers/servicebrowser/ServiceListSortFilterProxyModel.cpp
102 )
103         
104
105 #####################################################################
106 # SCRIPTABLESERVICE
107 #####################################################################
108 set(libscriptableservice_SRCS
109     services/scriptable/ScriptableService.cpp
110     services/scriptable/ScriptableServiceCollection.cpp
111     services/scriptable/ScriptableServiceInfoParser.cpp
112     services/scriptable/ScriptableServiceManager.cpp
113     services/scriptable/ScriptableServiceMeta.cpp
114     services/scriptable/ScriptableServiceQueryMaker.cpp
115 )
116
117 #####################################################################
118 # CONFIGDIALOG
119 #####################################################################
120 set(libconfigdialog_SRCS
121     configdialog/ConfigDialog.cpp
122     configdialog/ConfigDialogBase.cpp
123     configdialog/dialogs/CollectionConfig.cpp
124     configdialog/dialogs/GeneralConfig.cpp
125     configdialog/dialogs/OsdConfig.cpp
126     configdialog/dialogs/PlaybackConfig.cpp
127     configdialog/dialogs/ServiceConfig.cpp
128 )
129
130 kde4_add_ui_files(libconfigdialog_SRCS
131     configdialog/dialogs/CollectionConfig.ui
132     configdialog/dialogs/GeneralConfig.ui
133     configdialog/dialogs/OsdConfig.ui
134     configdialog/dialogs/PlaybackConfig.ui
135 )
136
137 #####################################################################
138 # COLLECTIONBROWSER
139 #####################################################################
140 set(libcollectionbrowser_SRCS
141     browsers/collectionbrowser/CollectionSortFilterProxyModel.cpp
142     browsers/collectionbrowser/CollectionTreeItem.cpp
143     browsers/collectionbrowser/CollectionTreeItemModel.cpp
144     browsers/collectionbrowser/CollectionTreeItemModelBase.cpp
145     browsers/collectionbrowser/CollectionTreeView.cpp
146     browsers/collectionbrowser/CollectionWidget.cpp
147     browsers/collectionbrowser/SingleCollectionTreeItemModel.cpp
148 )
149
150 #####################################################################
151 # ANALYZERS
152 #####################################################################
153 #set(libanalyzers_SRCS
154 #    analyzers/analyzerbase.cpp
155 #    analyzers/analyzerfactory.cpp
156 #    analyzers/baranalyzer.cpp
157 #    analyzers/blockanalyzer.cpp
158 #    analyzers/glanalyzer.cpp
159 #    analyzers/glanalyzer2.cpp
160 #    analyzers/glanalyzer3.cpp
161 #    analyzers/sonogram.cpp
162 #    analyzers/turbine.cpp
163 #    analyzers/boomanalyzer.cpp
164 #)
165
166 #####################################################################
167 # STATUSBAR
168 #####################################################################
169 set(libstatusbar_SRCS
170     statusbar/StatusBar.cpp
171     statusbar/ProgressBar.cpp
172     statusbar/KJobProgressBar.cpp
173     statusbar/CompoundProgressBar.cpp
174     statusbar/PopupWidget.cpp
175     statusbar/LongMessageWidget.cpp
176 )
177
178 #####################################################################
179 # META
180 #####################################################################
181 set(meta_SRCS
182     meta/Capability.cpp
183     meta/CollectionCapability.cpp
184     meta/CurrentTrackActionsCapability.cpp
185     meta/CustomActionsCapability.cpp
186     meta/EditCapability.cpp
187     meta/EditablePlaylistCapability.cpp
188     meta/ImportCapability.cpp
189     meta/LastFmCapability.cpp
190     meta/M3UPlaylist.cpp
191     meta/Meta.cpp
192     meta/MetaUtility.cpp
193     meta/MultiPlayableCapability.cpp
194     meta/OrganiseCapability.cpp
195     meta/PLSPlaylist.cpp
196     meta/SqlPlaylist.cpp
197     meta/PlaylistFileSupport.cpp
198     meta/SourceInfoCapability.cpp
199     meta/StreamInfoCapability.cpp
200     meta/UpdateCapability.cpp
201     meta/XSPFPlaylist.cpp
202     meta/PrivateMetaRegistry.cpp
203     meta/file/File.cpp
204     meta/proxy/MetaProxy.cpp
205     meta/stream/Stream.cpp
206 )
207
208 #####################################################################
209 # COLLECTION
210 #####################################################################
211 set(collection_SRCS
212     collection/Collection.cpp
213     collection/CollectionManager.cpp
214     collection/CollectionLocation.cpp
215     collection/MetaQueryMaker.cpp
216     collection/QueryMaker.cpp
217     collection/support/MemoryFilter.cpp
218     collection/support/MemoryMatcher.cpp
219     collection/support/MemoryQueryMaker.cpp
220     collection/support/XmlQueryReader.cpp
221     collection/support/XmlQueryWriter.cpp
222     collection/support/FileCollectionLocation.cpp
223 )
224
225 #####################################################################
226 # CONTEXT
227 #####################################################################
228 #
229
230 set( libcontextview_SRCS
231     context/Applet.cpp
232     context/Containment.cpp
233     context/ContextObserver.cpp
234     context/ContextScene.cpp
235     context/ContextView.cpp
236     context/DataEngineManager.cpp
237     context/LyricsManager.cpp
238     context/layouts/ContextLayout.cpp
239     context/layouts/VerticalLayout.cpp
240     context/widgets/RatingWidget.cpp
241     context/widgets/ToolBoxIcon.cpp
242     context/widgets/ContainmentArrow.cpp
243     context/widgets/ContainmentSelectionLayer.cpp
244     context/widgets/ToolBoxMenu.cpp
245     context/widgets/TrackWidget.cpp
246 )
247
248 #####################################################################
249 # PODCASTS
250 #####################################################################
251 set(libpodcasts_SRCS
252     podcasts/PodcastReader.cpp
253     podcasts/sql/SqlPodcastMeta.cpp
254     podcasts/sql/SqlPodcastProvider.cpp
255 )
256
257 #####################################################################
258 # PLAYLISTBROWSER
259 #####################################################################
260 set(libplaylistbrowser_SRCS
261     browsers/playlistbrowser/DynamicModel.cpp
262     browsers/playlistbrowser/DynamicCategory.cpp
263     browsers/playlistbrowser/DynamicBiasDelegate.cpp
264     browsers/playlistbrowser/DynamicBiasModel.cpp
265     browsers/playlistbrowser/DynamicBiasWidgets.cpp
266     browsers/playlistbrowser/PlaylistBrowser.cpp
267     browsers/playlistbrowser/UserPlaylistModel.cpp
268     browsers/playlistbrowser/UserPlaylistTreeView.cpp
269     browsers/playlistbrowser/PlaylistCategory.cpp
270     browsers/playlistbrowser/SqlPlaylistGroup.cpp
271     browsers/playlistbrowser/PodcastModel.cpp
272     browsers/playlistbrowser/PodcastCategory.cpp
273 )
274
275 #####################################################################
276 # QUEUEMANAGER
277 #####################################################################
278 set(libqueuemanager_SRCS
279     queuemanager/QueueManager.cpp
280     queuemanager/QueueModel.cpp
281 )
282
283 #####################################################################
284 # PLAYLISTMANAGER
285 #####################################################################
286 set(libplaylistmanager_SRCS
287     playlistmanager/PlaylistManager.cpp
288     playlistmanager/PlaylistFileProvider.cpp
289 )
290
291 #####################################################################
292 # PLAYLIST
293 #####################################################################
294 set(libplaylist_SRCS
295     playlist/GroupingProxy.cpp
296     playlist/PlaylistActions.cpp
297     playlist/PlaylistController.cpp
298     playlist/PlaylistHeader.cpp
299     playlist/PlaylistItem.cpp
300     playlist/PlaylistModel.cpp
301     playlist/PlaylistWidget.cpp
302     playlist/UndoCommands.cpp
303     playlist/navigators/DynamicTrackNavigator.cpp
304     playlist/navigators/RandomAlbumNavigator.cpp
305     playlist/navigators/RandomTrackNavigator.cpp
306     playlist/navigators/RepeatAlbumNavigator.cpp
307     playlist/navigators/RepeatTrackNavigator.cpp
308     playlist/navigators/StandardTrackNavigator.cpp
309     playlist/navigators/TrackNavigator.cpp
310     playlist/navigators/NavigatorFilterProxyModel.cpp
311     playlist/view/PlaylistViewCommon.cpp
312     playlist/view/classic/PlaylistClassicView.cpp
313     playlist/view/listview/PrettyItemDelegate.cpp
314     playlist/view/listview/PrettyListView.cpp
315 )
316
317 #####################################################################
318 # AUDIO CD SUPPORT
319 #####################################################################
320
321 if(KDEMULTIMEDIA_FOUND)
322     set(audiocdsupport_SRCS
323         meta/audiocd/AudioCdTrackProvider.cpp
324         meta/audiocd/AudioCdTrackProvider_p.cpp
325        )
326 endif(KDEMULTIMEDIA_FOUND)
327
328 #####################################################################
329 # DBUS
330 #####################################################################
331 set(dbus_SRCS
332     dbus/RootDBusHandler.cpp
333     dbus/PlayerDBusHandler.cpp
334     dbus/TracklistDBusHandler.cpp
335 )
336
337
338 #####################################################################
339 # SCRIPTING INTERFACE
340 #####################################################################
341 set(scriptengine_SRCS
342     scriptengine/AmarokScript.cpp
343     scriptengine/AmarokCollectionScript.cpp
344     scriptengine/AmarokScriptConfig.cpp
345     scriptengine/AmarokInfoScript.cpp
346     scriptengine/AmarokNetworkScript.cpp
347     scriptengine/AmarokScriptableServiceScript.cpp
348     scriptengine/AmarokServicePluginManagerScript.cpp
349     scriptengine/AmarokEngineScript.cpp
350     scriptengine/AmarokOSDScript.cpp
351     scriptengine/AmarokPlaylistScript.cpp
352     scriptengine/AmarokStatusbarScript.cpp
353     scriptengine/AmarokWindowScript.cpp
354     scriptengine/AmarokLyricsScript.cpp
355     scriptengine/MetaTypeExporter.cpp
356     scriptengine/ScriptImporter.cpp
357 )
358
359 #####################################################################
360 # DYNAMIC
361 #####################################################################
362 set(libdynamic_SRCS
363     dynamic/BiasedPlaylist.cpp
364     dynamic/DynamicPlaylist.cpp
365     dynamic/Bias.cpp
366     dynamic/BiasSolver.cpp
367     dynamic/TrackSet.cpp
368     dynamic/gsl/gauss.c
369 )
370
371 #####################################################################
372 # Character Encoding Detector
373 #####################################################################
374 set(libchardet_SRCS
375     charset-detector/src/impl.cpp
376     charset-detector/src/CharDistribution.cpp
377     charset-detector/src/JpCntx.cpp
378     charset-detector/src/LangBulgarianModel.cpp
379     charset-detector/src/LangCyrillicModel.cpp
380     charset-detector/src/LangGreekModel.cpp
381     charset-detector/src/LangHebrewModel.cpp
382     charset-detector/src/LangHungarianModel.cpp
383     charset-detector/src/LangThaiModel.cpp
384     charset-detector/src/nsBig5Prober.cpp
385     charset-detector/src/nsCharSetProber.cpp
386     charset-detector/src/nsEscCharsetProber.cpp
387     charset-detector/src/nsEscSM.cpp
388     charset-detector/src/nsEUCJPProber.cpp
389     charset-detector/src/nsEUCKRProber.cpp
390     charset-detector/src/nsEUCTWProber.cpp
391     charset-detector/src/nsGB2312Prober.cpp
392     charset-detector/src/nsHebrewProber.cpp
393     charset-detector/src/nsLatin1Prober.cpp
394     charset-detector/src/nsMBCSGroupProber.cpp
395     charset-detector/src/nsMBCSSM.cpp
396     charset-detector/src/nsSBCharSetProber.cpp
397     charset-detector/src/nsSBCSGroupProber.cpp
398     charset-detector/src/nsSJISProber.cpp
399     charset-detector/src/nsUniversalDetector.cpp
400     charset-detector/src/nsUTF8Prober.cpp
401 )
402
403 #####################################################################
404 # LIBAMAROK
405 #####################################################################
406 set(amaroklib_LIB_SRCS
407     ${libscriptableservice_SRCS}
408     ${libanalyzers_SRCS}
409     ${libchardet_SRCS}
410     ${libcontextview_SRCS}
411     ${libcollectionbrowser_SRCS}
412     ${libconfigdialog_SRCS}
413     ${libplaylist_SRCS}
414     ${libplugin_SRCS}
415     ${libpodcasts_SRCS}
416     ${libserviceframework_SRCS}
417     ${libservicebrowser_SRCS}
418     ${libdynamic_SRCS}
419     ${meta_SRCS}
420     ${collection_SRCS}
421     ${mac_SRCS}
422     ${libplaylistbrowser_SRCS}
423     ${libqueuemanager_SRCS}
424     ${libplaylistmanager_SRCS}
425     ${dbus_SRCS}
426     ${scriptengine_SRCS}
427     ${libstatusbar_SRCS}
428     ActionClasses.cpp
429     AmarokMimeData.cpp
430     AmarokProcess.cpp
431     App.cpp
432     DirectoryLoader.cpp
433     EngineController.cpp
434     EngineObserver.cpp
435     Expression.cpp
436     MainWindow.cpp
437     MediaDeviceCache.cpp
438     MediaDeviceMonitor.cpp
439     PluginManager.cpp
440     Sidebar.h
441     StarManager.cpp
442     SvgHandler.cpp
443     SvgTinter.cpp
444     covermanager/CoverFetcher.cpp
445     covermanager/CoverFetchingActions.cpp
446     covermanager/CoverManager.cpp
447     databaseimporter/DatabaseImporter.cpp
448     databaseimporter/amarok14/FastForwardImporter.cpp
449     databaseimporter/amarok14/FastForwardImporterConfig.cpp
450     databaseimporter/amarok14/FastForwardWorker.cpp
451     databaseimporter/itunes/ITunesImporterConfig.cpp
452     databaseimporter/itunes/ITunesImporter.cpp
453     databaseimporter/itunes/ITunesImporterWorker.cpp
454     dialogs/CollectionSetup.cpp
455     dialogs/DatabaseImporterDialog.cpp
456     dialogs/EditFilterDialog.cpp
457     dialogs/FilenameLayoutDialog.cpp
458     dialogs/PodcastSettingsDialog.cpp
459     dialogs/ScriptSelector.cpp
460     dialogs/ScriptManager.cpp
461     dialogs/TagDialog.cpp
462     dialogs/TagGuesser.cpp
463     browsers/filebrowser/FileBrowser.cpp
464     browsers/filebrowser/MyDirLister.cpp
465     browsers/filebrowser/MyDirOperator.cpp
466     browsers/filebrowser/kbookmarkhandler.cpp
467     firstruntutorial/FirstRunTutorial.cpp
468     medium.cpp
469     MountPointManager.cpp
470     PaletteHandler.cpp
471     PopupDropperFactory.cpp
472     services/lastfm/SimilarArtistsAction.cpp
473     Systray.cpp
474     widgets/hintlineedit.cpp
475     widgets/kdatecombo.cpp
476     widgets/kratingpainter.cpp
477     widgets/kratingwidget.cpp
478     widgets/FilenameLayoutWidget.cpp
479     widgets/FlowLayout.cpp
480     widgets/MainControlsButton.cpp
481     widgets/MainControlsWidget.cpp
482     widgets/MainToolbar.cpp
483     widgets/Osd.cpp
484     widgets/PixmapViewer.cpp
485     widgets/PrettyTreeView.cpp
486     widgets/ProgressiveSearchWidget.cpp
487     widgets/ProgressSlider.cpp
488     widgets/SearchWidget.cpp
489     widgets/SidebarWidget.cpp
490     widgets/SliderWidget.cpp
491     widgets/TokenListWidget.cpp
492     widgets/Token.cpp
493     widgets/TrackTooltip.cpp
494     widgets/VolumeWidget.cpp
495     widgets/Splitter.cpp
496     GlobalCollectionActions.cpp
497 )
498
499 qt4_add_dbus_adaptor( amaroklib_LIB_SRCS dbus/org.freedesktop.MediaPlayer.root.xml RootDBusHandler.h Amarok::RootDBusHandler RootAdaptor RootAdaptor)
500 qt4_add_dbus_adaptor( amaroklib_LIB_SRCS dbus/org.freedesktop.MediaPlayer.player.xml PlayerDBusHandler.h Amarok::PlayerDBusHandler PlayerAdaptor PlayerAdaptor)
501 qt4_add_dbus_adaptor( amaroklib_LIB_SRCS dbus/org.freedesktop.MediaPlayer.tracklist.xml TracklistDBusHandler.h Amarok::TracklistDBusHandler TracklistAdaptor TracklistAdaptor)
502
503 set( amaroklib_DEPENDS "amarokplasma" "amarokpud" )
504
505 kde4_add_kcfg_files(amaroklib_LIB_SRCS amarokconfig.kcfgc)
506
507 kde4_add_ui_files(amaroklib_LIB_SRCS
508     dialogs/EditCoverSearchDialog.ui
509     dialogs/EditFilterDialog.ui
510     dialogs/ScriptManagerBase.ui
511     dialogs/TagDialogBase.ui
512     dialogs/FilenameLayoutDialog.ui
513     dialogs/PodcastSettingsBase.ui
514     browsers/playlistbrowser/PodcastCategoryBase.ui
515 )
516
517 kde4_add_library(amaroklib SHARED ${amaroklib_LIB_SRCS})
518
519 target_link_libraries(amaroklib
520     ${KDE4_KUTILS_LIBS}
521     ${KDE4_KDEUI_LIBS}
522     ${KDE4_KHTML_LIBS}
523     ${KDE4_KNEWSTUFF_LIBS}
524     ${KDE4_KFILE_LIBS}
525     ${KDE4_THREADWEAVER_LIBRARIES}
526     ${KDE4_KNEWSTUFF2_LIBS}
527     ${KDE4_PHONON_LIBRARY}
528     ${KDE4_SOLID_LIBRARY}
529     ${TAGLIB_LIBRARIES}
530     ${QT_QTSCRIPT_LIBRARY}
531     ${QT_QTSQL_LIBRARY}
532     ${QT_QTWEBKIT_LIBRARY}
533     ${CMAKE_THREAD_LIBS_INIT}
534         ${EXTRA_LIBS}
535     amarok_taglib
536     amarokplasma
537     amarokpud
538 )
539
540 if(WIN32)
541     target_link_libraries(amaroklib ${QT_QTWEBKIT_LIBRARY})
542 endif(WIN32)
543 if(APPLE)
544     SET_TARGET_PROPERTIES(amaroklib PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
545 endif(APPLE)
546
547 if(KDEMULTIMEDIA_FOUND)
548     target_link_libraries(amaroklib
549         ${KCDDB_LIBRARY}
550         ${KCOMPACTDISC_LIBRARY}
551     )
552 endif(KDEMULTIMEDIA_FOUND)
553 if(LIBDL_FOUND)
554     target_link_libraries(amaroklib dl)
555 endif(LIBDL_FOUND)
556
557 if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME MATCHES Linux)
558     set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=iso9899:1999" )
559 endif(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME MATCHES Linux)
560
561 set_target_properties(amaroklib PROPERTIES VERSION 1.0.0 SOVERSION 1 )
562 install(TARGETS amaroklib ${INSTALL_TARGETS_DEFAULT_ARGS} )
563
564
565 #####################################################################
566 # AMAROK
567 #####################################################################
568
569 set(amarok_SRCS main.cpp )
570
571 kde4_add_app_icon(amarok_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/images/hi*-app-amarok.png)
572 if(Q_WS_MAC)
573     kde4_add_executable(Amarok ${amarok_SRCS})
574     target_link_libraries(Amarok ${KDE4_KDECORE_LIBS} amaroklib )
575     SET_TARGET_PROPERTIES(Amarok PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
576     install(TARGETS Amarok ${INSTALL_TARGETS_DEFAULT_ARGS})
577 else(Q_WS_MAC)
578     kde4_add_executable(amarok ${amarok_SRCS})
579     target_link_libraries(amarok ${KDE4_KDEUI_LIBS} amaroklib )
580     install(TARGETS amarok ${INSTALL_TARGETS_DEFAULT_ARGS})
581 endif(Q_WS_MAC)
582
583 ########### install files ###############
584
585 install(FILES amarok.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
586 install(FILES amarok_plugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
587 install(FILES amarok_codecinstall.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
588 install(FILES amarok_append.desktop DESTINATION ${SERVICES_INSTALL_DIR}/ServiceMenus)
589 install(FILES amarok.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
590
591 install(FILES amaroklastfm.protocol DESTINATION ${SERVICES_INSTALL_DIR})
592 #install(FILES amarokitpc.protocol DESTINATION ${SERVICES_INSTALL_DIR})
593 #install(FILES amarokpcast.protocol DESTINATION ${SERVICES_INSTALL_DIR})
594
595 install(FILES context/servicetypes/amarok_context_applet.desktop
596               context/servicetypes/amarok_data_engine.desktop
597               DESTINATION ${SERVICETYPES_INSTALL_DIR} )
598
599 install(FILES  amarok.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
600 install(FILES dbus/org.freedesktop.MediaPlayer.root.xml
601               dbus/org.freedesktop.MediaPlayer.player.xml
602               dbus/org.freedesktop.MediaPlayer.tracklist.xml
603               DESTINATION ${DBUS_INTERFACES_INSTALL_DIR})
604
605 kde4_install_icons( ${ICON_INSTALL_DIR} )
606
607 ############# AFT Tagger ##############
608
609 set(amarok_afttagger_SRCS
610     afttagger/SafeFileSaver.cpp
611     afttagger/afttagger_main.cpp
612 )
613
614 kde4_add_executable(amarok_afttagger ${amarok_afttagger_SRCS} )
615
616 target_link_libraries(amarok_afttagger
617     ${KDE4_KDECORE_LIBS}
618     ${QT_QTCORE_LIBS}
619     ${TAGLIB_LIBRARIES}
620 )
621
622 install(TARGETS amarok_afttagger ${INSTALL_TARGETS_DEFAULT_ARGS})
623
624
625