summaryrefslogtreecommitdiffstats
path: root/amarok/src
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src')
-rw-r--r--amarok/src/CMakeLists.txt110
-rw-r--r--amarok/src/amarokcore/CMakeLists.txt35
-rw-r--r--amarok/src/analyzers/CMakeLists.txt31
-rw-r--r--amarok/src/collectionscanner/CMakeLists.txt33
-rw-r--r--amarok/src/data/CMakeLists.txt16
-rw-r--r--amarok/src/device/CMakeLists.txt14
-rw-r--r--amarok/src/device/massstorage/CMakeLists.txt36
-rw-r--r--amarok/src/device/nfs/CMakeLists.txt35
-rw-r--r--amarok/src/device/smb/CMakeLists.txt35
-rw-r--r--amarok/src/engine/CMakeLists.txt15
-rw-r--r--amarok/src/engine/void/CMakeLists.txt35
-rw-r--r--amarok/src/engine/xine/CMakeLists.txt42
-rw-r--r--amarok/src/images/CMakeLists.txt27
-rw-r--r--amarok/src/images/icons/CMakeLists.txt12
-rw-r--r--amarok/src/konquisidebar/CMakeLists.txt40
-rw-r--r--amarok/src/loader/CMakeLists.txt28
-rw-r--r--amarok/src/magnatunebrowser/CMakeLists.txt36
-rw-r--r--amarok/src/mediadevice/CMakeLists.txt20
-rw-r--r--amarok/src/mediadevice/generic/CMakeLists.txt42
-rw-r--r--amarok/src/mediadevice/ipod/CMakeLists.txt42
-rw-r--r--amarok/src/metadata/CMakeLists.txt40
-rw-r--r--amarok/src/metadata/aac/CMakeLists.txt23
-rw-r--r--amarok/src/metadata/asf/CMakeLists.txt25
-rw-r--r--amarok/src/metadata/audible/CMakeLists.txt25
-rw-r--r--amarok/src/metadata/m4a/CMakeLists.txt32
-rw-r--r--amarok/src/metadata/rmff/CMakeLists.txt26
-rw-r--r--amarok/src/metadata/wav/CMakeLists.txt24
-rw-r--r--amarok/src/plugin/CMakeLists.txt30
-rw-r--r--amarok/src/scripts/CMakeLists.txt20
-rw-r--r--amarok/src/scripts/common/CMakeLists.txt12
-rw-r--r--amarok/src/scripts/lyrics_astraweb/CMakeLists.txt14
-rw-r--r--amarok/src/scripts/lyrics_lyrc/CMakeLists.txt13
-rw-r--r--amarok/src/scripts/playlist2html/CMakeLists.txt18
-rw-r--r--amarok/src/scripts/ruby_debug/CMakeLists.txt12
-rw-r--r--amarok/src/scripts/score_default/CMakeLists.txt18
-rw-r--r--amarok/src/scripts/score_impulsive/CMakeLists.txt18
-rw-r--r--amarok/src/scripts/templates/CMakeLists.txt14
-rw-r--r--amarok/src/scripts/webcontrol/CMakeLists.txt22
-rw-r--r--amarok/src/statusbar/CMakeLists.txt32
-rw-r--r--amarok/src/themes/CMakeLists.txt13
-rw-r--r--amarok/src/themes/example/CMakeLists.txt12
-rw-r--r--amarok/src/themes/reinhardt/CMakeLists.txt14
-rw-r--r--amarok/src/themes/reinhardt/images/CMakeLists.txt14
-rw-r--r--amarok/src/vis/CMakeLists.txt12
-rw-r--r--amarok/src/vis/libvisual/CMakeLists.txt34
45 files changed, 1201 insertions, 0 deletions
diff --git a/amarok/src/CMakeLists.txt b/amarok/src/CMakeLists.txt
new file mode 100644
index 00000000..cb988ba4
--- /dev/null
+++ b/amarok/src/CMakeLists.txt
@@ -0,0 +1,110 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( amarokcore )
+add_subdirectory( magnatunebrowser )
+add_subdirectory( analyzers )
+add_subdirectory( data )
+add_subdirectory( plugin )
+add_subdirectory( images )
+add_subdirectory( loader )
+add_subdirectory( scripts )
+add_subdirectory( themes )
+add_subdirectory( vis )
+add_subdirectory( metadata )
+tde_conditional_add_subdirectory( WITH_KONQSIDEBAR konquisidebar )
+add_subdirectory( statusbar )
+add_subdirectory( engine )
+add_subdirectory( mediadevice )
+add_subdirectory( device )
+add_subdirectory( collectionscanner )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_BINARY_DIR}/amarok/src/magnatunebrowser
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src/analyzers
+ ${CMAKE_SOURCE_DIR}/amarok/src/statusbar
+ ${CMAKE_SOURCE_DIR}/amarok/src/plugin
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+ ${SQLITE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( PROGRAMS amarok_proxy.rb DESTINATION ${BIN_INSTALL_DIR} )
+install( FILES amarokui.rc DESTINATION ${DATA_INSTALL_DIR}/amarok )
+install( FILES amarokrc DESTINATION ${CONFIG_INSTALL_DIR} )
+install( FILES amarok.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES amarok_plugin.desktop amarok_codecinstall.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES amarok_addaspodcast.desktop amarok_append.desktop amarok_play_audiocd.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+install( FILES amarok.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles )
+install( FILES amarokitpc.protocol amaroklastfm.protocol amarokpcast.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### amarokapp (executable) ####################
+
+tde_add_executable( amarokapp
+ SOURCES main.cpp
+ LINK amarok-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### amarok (shared) ###########################
+
+tde_add_library( amarok SHARED AUTOMOC
+ SOURCES
+ Options1.ui Options1.ui.h Options2.ui Options4.ui Options5.ui
+ Options7.ui Options8.ui actionclasses.cpp app.cpp atomicstring.cpp
+ atomicurl.cpp browserbar.cpp clicklineedit.cpp collectionbrowser.cpp
+ collectiondb.cpp columnlist.cpp configdialog.cpp contextbrowser.cpp
+ coverfetcher.cpp covermanager.cpp cuefile.cpp dbsetup.ui dbsetup.ui.h
+ deletedialog.cpp deletedialogbase.ui deviceconfiguredialog.cpp
+ devicemanager.cpp directorylist.cpp dynamicmode.cpp enginebase.cpp
+ enginecontroller.cpp engineobserver.cpp equalizergraph.cpp
+ equalizerpresetmanager.cpp equalizersetup.cpp expression.cpp fht.cpp
+ filebrowser.cpp firstrunwizard.ui hintlineedit.cpp htmlview.cpp
+ iconloader.cpp k3bexporter.cpp kbookmarkhandler.cpp ktrm.cpp
+ lastfm.cpp mediabrowser.cpp mediadevicemanager.cpp medium.cpp
+ mediumpluginmanager.cpp metabundle.cpp metabundlesaver.cpp moodbar.cpp
+ mountpointmanager.cpp multitabbar.cpp mydiroperator.cpp newdynamic.ui
+ organizecollectiondialog.ui osd.cpp pixmapviewer.cpp playerwindow.cpp
+ playlist.cpp playlistbrowser.cpp playlistbrowseritem.cpp playlistitem.cpp
+ playlistloader.cpp playlistselection.cpp playlistwindow.cpp
+ pluginmanager.cpp podcastsettings.cpp podcastsettingsbase.ui
+ prettypopupmenu.cpp queuemanager.cpp refreshimages.cpp
+ scancontroller.cpp scriptmanager.cpp scriptmanagerbase.ui
+ scrobbler.cpp sliderwidget.cpp smartplaylisteditor.cpp socketserver.cpp
+ starmanager.cpp statistics.cpp systray.cpp tagdialog.cpp tagdialogbase.ui
+ tagguesser.cpp tagguesserconfigdialog.ui threadmanager.cpp tooltip.cpp
+ trackpickerdialog.cpp trackpickerdialogbase.ui tracktooltip.cpp
+ transferdialog.cpp xmlloader.cpp xspfplaylist.cpp editfilterdialog.cpp
+ VERSION 0.0.0
+ EMBED
+ amarokcore-static magnatunebrowser-static analyzers-static plugin-static
+ metadata-static statusbar-static
+ LINK
+ khtml-shared knewstuff-shared
+ GL ${TAGLIB_LIBRARIES} ${SQLITE_LIBRARIES} pthread
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/amarok/src/amarokcore/CMakeLists.txt b/amarok/src/amarokcore/CMakeLists.txt
new file mode 100644
index 00000000..89bdecc2
--- /dev/null
+++ b/amarok/src/amarokcore/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src/statusbar
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### amarokcore (static) #######################
+
+tde_add_library( amarokcore STATIC_PIC AUTOMOC
+ SOURCES
+ amarokdcopiface.skel amarokdcophandler.cpp
+ amarokconfig.kcfgc crashhandler.cpp
+)
diff --git a/amarok/src/analyzers/CMakeLists.txt b/amarok/src/analyzers/CMakeLists.txt
new file mode 100644
index 00000000..638bfc60
--- /dev/null
+++ b/amarok/src/analyzers/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### analyzers (static) ########################
+
+tde_add_library( analyzers STATIC_PIC AUTOMOC
+ SOURCES
+ analyzerbase.cpp analyzerfactory.cpp baranalyzer.cpp
+ blockanalyzer.cpp glanalyzer.cpp glanalyzer2.cpp
+ glanalyzer3.cpp sonogram.cpp turbine.cpp boomanalyzer.cpp
+ DEPENDENCIES amarokcore-static
+)
diff --git a/amarok/src/collectionscanner/CMakeLists.txt b/amarok/src/collectionscanner/CMakeLists.txt
new file mode 100644
index 00000000..c5b4c464
--- /dev/null
+++ b/amarok/src/collectionscanner/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### amarokcollectionscanner (executable) ######
+
+tde_add_executable( amarokcollectionscanner AUTOMOC
+ SOURCES
+ main.cpp collectionscannerdcopiface.skel
+ collectionscannerdcophandler.cpp collectionscanner.cpp
+ LINK amarok-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/amarok/src/data/CMakeLists.txt b/amarok/src/data/CMakeLists.txt
new file mode 100644
index 00000000..95a7a2ec
--- /dev/null
+++ b/amarok/src/data/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ Cool-Streams.xml Amarok_1.4_Welcome.ogg ball.png
+ dot.png equalizer_presets.xml firstrun.m3u
+ grid.png wirl1.png wirl2.png magnatune_logo.png
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/data )
diff --git a/amarok/src/device/CMakeLists.txt b/amarok/src/device/CMakeLists.txt
new file mode 100644
index 00000000..72a59113
--- /dev/null
+++ b/amarok/src/device/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( massstorage )
+add_subdirectory( nfs )
+add_subdirectory( smb )
diff --git a/amarok/src/device/massstorage/CMakeLists.txt b/amarok/src/device/massstorage/CMakeLists.txt
new file mode 100644
index 00000000..3e866505
--- /dev/null
+++ b/amarok/src/device/massstorage/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_massstorage-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_massstorage-device (module) #####
+
+tde_add_kpart( libamarok_massstorage-device
+ SOURCES
+ massstoragedevicehandler.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/device/nfs/CMakeLists.txt b/amarok/src/device/nfs/CMakeLists.txt
new file mode 100644
index 00000000..e0e9e847
--- /dev/null
+++ b/amarok/src/device/nfs/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_nfs-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_nfs-device (module) #############
+
+tde_add_kpart( libamarok_nfs-device
+ SOURCES nfsdevicehandler.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/device/smb/CMakeLists.txt b/amarok/src/device/smb/CMakeLists.txt
new file mode 100644
index 00000000..cbbdbd7e
--- /dev/null
+++ b/amarok/src/device/smb/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_smb-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_smb-device (module) #############
+
+tde_add_kpart( libamarok_smb-device
+ SOURCES smbdevicehandler.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/engine/CMakeLists.txt b/amarok/src/engine/CMakeLists.txt
new file mode 100644
index 00000000..3192b710
--- /dev/null
+++ b/amarok/src/engine/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME: we need to port other engines either
+
+add_subdirectory( void )
+tde_conditional_add_subdirectory( WITH_XINE xine )
diff --git a/amarok/src/engine/void/CMakeLists.txt b/amarok/src/engine/void/CMakeLists.txt
new file mode 100644
index 00000000..f36284a2
--- /dev/null
+++ b/amarok/src/engine/void/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_void-engine_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_void-engine_plugin (module) #####
+
+tde_add_kpart( libamarok_void-engine_plugin
+ SOURCES void-engine.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/engine/xine/CMakeLists.txt b/amarok/src/engine/xine/CMakeLists.txt
new file mode 100644
index 00000000..c3786bc7
--- /dev/null
+++ b/amarok/src/engine/xine/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${XINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_xine-engine.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES xinecfg.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### libamarok_xine-engine (module) ############
+
+tde_add_kpart( libamarok_xine-engine AUTOMOC
+ SOURCES
+ xine-scope.c xinecfg.kcfgc xine-engine.cpp
+ xineconfigbase.ui xine-config.cpp
+ LINK amarok-shared ${XINE_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/images/CMakeLists.txt b/amarok/src/images/CMakeLists.txt
new file mode 100644
index 00000000..7605f031
--- /dev/null
+++ b/amarok/src/images/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( icons )
+
+install( FILES
+ amarok_cut.png amarok_rocks.jpg b_next.png b_pause.png b_play.png
+ b_prev.png b_stop.png back_stars_grey.png currenttrack_bar_left.png
+ currenttrack_bar_mid.png currenttrack_bar_right.png currenttrack_play.png
+ currenttrack_pause.png currenttrack_stop.png currenttrack_stop_small.png
+ currenttrack_repeat.png currenttrack_repeat_small.png
+ eq_active2.png eq_inactive2.png lastfm.png loading1.png loading2.png
+ menu_sidepixmap.png more_albums.png musicbrainz.png nocover.png
+ pl_active2.png pl_inactive2.png shadow_albumcover.png sbinner_stars.png
+ smallstar.png splash_screen.jpg star.png time_minus.png time_plus.png
+ vol_speaker.png volumeslider-gradient.png volumeslider-handle.png
+ volumeslider-handle_glow.png volumeslider-inset.png wizard_compact.png
+ wizard_xmms.png xine_logo.png
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/images )
diff --git a/amarok/src/images/icons/CMakeLists.txt b/amarok/src/images/icons/CMakeLists.txt
new file mode 100644
index 00000000..0f098430
--- /dev/null
+++ b/amarok/src/images/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/amarok/icons )
diff --git a/amarok/src/konquisidebar/CMakeLists.txt b/amarok/src/konquisidebar/CMakeLists.txt
new file mode 100644
index 00000000..782d2511
--- /dev/null
+++ b/amarok/src/konquisidebar/CMakeLists.txt
@@ -0,0 +1,40 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( konqueror )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add )
+install( FILES amarok.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries )
+install( FILES amarok.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries )
+
+
+##### konqsidebar_universalamarok (module) ######
+
+tde_add_kpart( konqsidebar_universalamarok AUTOMOC
+ SOURCES
+ universalamarok.cpp
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore/amarokdcopiface.stub
+ LINK konqsidebarplugin-shared khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/loader/CMakeLists.txt b/amarok/src/loader/CMakeLists.txt
new file mode 100644
index 00000000..4a1908ad
--- /dev/null
+++ b/amarok/src/loader/CMakeLists.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### amarok (executable) #######################
+
+tde_add_executable( amarok
+ SOURCES loader.cpp
+ LINK kdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/amarok/src/magnatunebrowser/CMakeLists.txt b/amarok/src/magnatunebrowser/CMakeLists.txt
new file mode 100644
index 00000000..6ed7fe3e
--- /dev/null
+++ b/amarok/src/magnatunebrowser/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src/statusbar
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### magnatunebrowser (static) #################
+
+tde_add_library( magnatunebrowser STATIC_PIC AUTOMOC
+ SOURCES
+ magnatuneartistinfobox.cpp magnatunebrowser.cpp
+ magnatunedownloaddialogbase.ui magnatunedownloaddialog.cpp
+ magnatunepurchasedialogbase.ui magnatunepurchasedialog.cpp
+ magnatunepurchasehandler.cpp magnatunetypes.cpp magnatunexmlparser.cpp
+ magnatunedatabasehandler.cpp magnatunelistviewitems.cpp
+ magnatunelistview.cpp magnatuneredownloaddialog.cpp
+ magnatuneredownloadhandler.cpp magnatunedownloadinfo.cpp
+ magnatunealbumdownloader.cpp magnatuneredownloaddialogbase.ui
+)
diff --git a/amarok/src/mediadevice/CMakeLists.txt b/amarok/src/mediadevice/CMakeLists.txt
new file mode 100644
index 00000000..6f90b616
--- /dev/null
+++ b/amarok/src/mediadevice/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME optional devices are not ported yet
+
+add_subdirectory( generic )
+tde_conditional_add_subdirectory( WITH_LIBGPOD ipod )
+tde_conditional_add_subdirectory( WITH_IFP ifp )
+tde_conditional_add_subdirectory( WITH_LIBNJB njb )
+tde_conditional_add_subdirectory( WITH_LIBMTP mtp )
+tde_conditional_add_subdirectory( WITH_LIBKARMA riokarma )
+tde_conditional_add_subdirectory( WITH_DAAP daap )
diff --git a/amarok/src/mediadevice/generic/CMakeLists.txt b/amarok/src/mediadevice/generic/CMakeLists.txt
new file mode 100644
index 00000000..f4dc0958
--- /dev/null
+++ b/amarok/src/mediadevice/generic/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES amarok_generic-mediadevice.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_generic-mediadevice (module) ####
+
+tde_add_kpart( libamarok_generic-mediadevice AUTOMOC
+ SOURCES
+ genericmediadeviceconfigdialog.ui
+ genericmediadevice.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ DEPENDENCIES amarokcore-static
+)
diff --git a/amarok/src/mediadevice/ipod/CMakeLists.txt b/amarok/src/mediadevice/ipod/CMakeLists.txt
new file mode 100644
index 00000000..393bae3e
--- /dev/null
+++ b/amarok/src/mediadevice/ipod/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ #${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ #${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBGPOD_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ amarok_ipod-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libamarok_ipod-mediadevice (module) #######
+
+tde_add_kpart( libamarok_ipod-mediadevice AUTOMOC
+ SOURCES ipodmediadevice.cpp
+ LINK amarok-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/amarok/src/metadata/CMakeLists.txt b/amarok/src/metadata/CMakeLists.txt
new file mode 100644
index 00000000..746c846b
--- /dev/null
+++ b/amarok/src/metadata/CMakeLists.txt
@@ -0,0 +1,40 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( asf )
+add_subdirectory( audible )
+add_subdirectory( rmff )
+add_subdirectory( aac )
+add_subdirectory( wav )
+
+if( WITH_MP4V2 )
+ add_subdirectory( mp4 )
+else( )
+ add_subdirectory( m4a )
+endif( )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+)
+
+
+##### metadata (static) #########################
+
+tde_add_library( metadata STATIC_PIC
+ SOURCES tplugins.cpp
+ LINK
+ tagasf-static tagaudible-static tagrealmedia-static
+ tagaac-static tagwav-static tagmp4-static
+)
diff --git a/amarok/src/metadata/aac/CMakeLists.txt b/amarok/src/metadata/aac/CMakeLists.txt
new file mode 100644
index 00000000..499de070
--- /dev/null
+++ b/amarok/src/metadata/aac/CMakeLists.txt
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### tagaac (static) ###########################
+
+tde_add_library( tagaac STATIC_PIC
+ SOURCES
+ aacfiletyperesolver.cpp
+)
diff --git a/amarok/src/metadata/asf/CMakeLists.txt b/amarok/src/metadata/asf/CMakeLists.txt
new file mode 100644
index 00000000..b0fde045
--- /dev/null
+++ b/amarok/src/metadata/asf/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+)
+
+
+##### tagasf (static) ###########################
+
+tde_add_library( tagasf STATIC_PIC
+ SOURCES
+ asfattribute.cpp asfproperties.cpp asftag.cpp
+ asffile.cpp taglib_asffiletyperesolver.cpp
+)
diff --git a/amarok/src/metadata/audible/CMakeLists.txt b/amarok/src/metadata/audible/CMakeLists.txt
new file mode 100644
index 00000000..34f81f90
--- /dev/null
+++ b/amarok/src/metadata/audible/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### tagaudible (static) #######################
+
+tde_add_library( tagaudible STATIC_PIC
+ SOURCES
+ audibleproperties.cpp audibletag.cpp taglib_audiblefile.cpp
+ taglib_audiblefiletyperesolver.cpp
+)
diff --git a/amarok/src/metadata/m4a/CMakeLists.txt b/amarok/src/metadata/m4a/CMakeLists.txt
new file mode 100644
index 00000000..ea1f4046
--- /dev/null
+++ b/amarok/src/metadata/m4a/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+)
+
+
+##### tagmp4 (static) ###########################
+
+tde_add_library( tagmp4 STATIC_PIC
+ SOURCES
+ taglib_mp4filetyperesolver.cpp mp4file.cpp mp4itunestag.cpp mp4isobox.cpp
+ mp4isofullbox.cpp mp4skipbox.cpp mp4moovbox.cpp mp4mvhdbox.cpp
+ mp4ilstbox.cpp boxfactory.cpp mp4fourcc.cpp mp4udtabox.cpp mp4metabox.cpp
+ mp4tagsproxy.cpp mp4mdiabox.cpp mp4minfbox.cpp mp4audioproperties.cpp
+ mp4hdlrbox.cpp mp4stblbox.cpp mp4audiosampleentry.cpp mp4stsdbox.cpp
+ mp4sampleentry.cpp mp4trakbox.cpp mp4propsproxy.cpp itunesnambox.cpp
+ itunesartbox.cpp itunesalbbox.cpp itunescvrbox.cpp itunesgenbox.cpp
+ itunestrknbox.cpp itunesdaybox.cpp itunescmtbox.cpp itunesgrpbox.cpp
+ ituneswrtbox.cpp itunesdiskbox.cpp itunestmpobox.cpp itunesdatabox.cpp
+)
diff --git a/amarok/src/metadata/rmff/CMakeLists.txt b/amarok/src/metadata/rmff/CMakeLists.txt
new file mode 100644
index 00000000..7293c400
--- /dev/null
+++ b/amarok/src/metadata/rmff/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TAGLIB_INCLUDE_DIRS}
+)
+
+
+##### tagrealmedia (static) #####################
+
+tde_add_library( tagrealmedia STATIC_PIC
+ SOURCES
+ rmff.cpp taglib_realmediafile.cpp
+ taglib_realmediafiletyperesolver.cpp
+)
diff --git a/amarok/src/metadata/wav/CMakeLists.txt b/amarok/src/metadata/wav/CMakeLists.txt
new file mode 100644
index 00000000..ce3c9020
--- /dev/null
+++ b/amarok/src/metadata/wav/CMakeLists.txt
@@ -0,0 +1,24 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### tagwav (static) ###########################
+
+tde_add_library( tagwav STATIC_PIC
+ SOURCES
+ wavproperties.cpp wavfile.cpp wavfiletyperesolver.cpp
+)
diff --git a/amarok/src/plugin/CMakeLists.txt b/amarok/src/plugin/CMakeLists.txt
new file mode 100644
index 00000000..d3fed168
--- /dev/null
+++ b/amarok/src/plugin/CMakeLists.txt
@@ -0,0 +1,30 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### plugin (static) ###########################
+
+add_custom_command( OUTPUT pluginconfig.moc.cpp
+ COMMAND
+ ${TQT_TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pluginconfig.h -o pluginconfig.moc.cpp
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/pluginconfig.h )
+
+tde_add_library( plugin STATIC_PIC
+ SOURCES plugin.cpp pluginconfig.moc.cpp
+)
diff --git a/amarok/src/scripts/CMakeLists.txt b/amarok/src/scripts/CMakeLists.txt
new file mode 100644
index 00000000..6d056a61
--- /dev/null
+++ b/amarok/src/scripts/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( common )
+add_subdirectory( lyrics_astraweb )
+add_subdirectory( lyrics_lyrc )
+add_subdirectory( playlist2html )
+add_subdirectory( ruby_debug )
+add_subdirectory( score_default )
+add_subdirectory( score_impulsive )
+add_subdirectory( templates )
+add_subdirectory( webcontrol )
diff --git a/amarok/src/scripts/common/CMakeLists.txt b/amarok/src/scripts/common/CMakeLists.txt
new file mode 100644
index 00000000..68e4099c
--- /dev/null
+++ b/amarok/src/scripts/common/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES Zeroconf.py Publisher.py DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/common )
diff --git a/amarok/src/scripts/lyrics_astraweb/CMakeLists.txt b/amarok/src/scripts/lyrics_astraweb/CMakeLists.txt
new file mode 100644
index 00000000..e88f4549
--- /dev/null
+++ b/amarok/src/scripts/lyrics_astraweb/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ COPYING README lyrics_astraweb.rb lyrics_astraweb.spec
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/lyrics_astraweb )
diff --git a/amarok/src/scripts/lyrics_lyrc/CMakeLists.txt b/amarok/src/scripts/lyrics_lyrc/CMakeLists.txt
new file mode 100644
index 00000000..d082c625
--- /dev/null
+++ b/amarok/src/scripts/lyrics_lyrc/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS lyrics_lyrc.rb DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/lyrics_lyrc )
+install( FILES COPYING README lyrics_lyrc.spec DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/lyrics_lyrc )
diff --git a/amarok/src/scripts/playlist2html/CMakeLists.txt b/amarok/src/scripts/playlist2html/CMakeLists.txt
new file mode 100644
index 00000000..c046ee33
--- /dev/null
+++ b/amarok/src/scripts/playlist2html/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS
+ playlist2html.py PlaylistServer.py
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/playlist2html )
+
+install( FILES
+ Playlist.py README playlist2html.spec PlaylistServer.spec
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/playlist2html )
diff --git a/amarok/src/scripts/ruby_debug/CMakeLists.txt b/amarok/src/scripts/ruby_debug/CMakeLists.txt
new file mode 100644
index 00000000..183908a8
--- /dev/null
+++ b/amarok/src/scripts/ruby_debug/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES debug.rb DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/ruby_debug )
diff --git a/amarok/src/scripts/score_default/CMakeLists.txt b/amarok/src/scripts/score_default/CMakeLists.txt
new file mode 100644
index 00000000..1033e829
--- /dev/null
+++ b/amarok/src/scripts/score_default/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS
+ score_default.rb
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/score_default )
+
+install( FILES
+ COPYING README score_default.spec
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/score_default )
diff --git a/amarok/src/scripts/score_impulsive/CMakeLists.txt b/amarok/src/scripts/score_impulsive/CMakeLists.txt
new file mode 100644
index 00000000..e72bd5b3
--- /dev/null
+++ b/amarok/src/scripts/score_impulsive/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS
+ score_impulsive.rb
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/score_impulsive )
+
+install( FILES
+ COPYING README score_impulsive.spec
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/score_impulsive )
diff --git a/amarok/src/scripts/templates/CMakeLists.txt b/amarok/src/scripts/templates/CMakeLists.txt
new file mode 100644
index 00000000..0549cd76
--- /dev/null
+++ b/amarok/src/scripts/templates/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ python_qt_template.py ruby_qt_template.rb amarok.rb
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/templates )
diff --git a/amarok/src/scripts/webcontrol/CMakeLists.txt b/amarok/src/scripts/webcontrol/CMakeLists.txt
new file mode 100644
index 00000000..d731b49a
--- /dev/null
+++ b/amarok/src/scripts/webcontrol/CMakeLists.txt
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS
+ WebControl.py
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/webcontrol )
+
+install( FILES
+ Globals.py Playlist.py README RequestHandler.py WebControl.spec
+ WebPublisher.py amarok_cut.png controlbackground.png main.css
+ main.js player_end.png player_pause.png player_play.png
+ player_start.png player_stop.png template.thtml vol_speaker.png
+ star.png smallstar.png
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/scripts/webcontrol )
diff --git a/amarok/src/statusbar/CMakeLists.txt b/amarok/src/statusbar/CMakeLists.txt
new file mode 100644
index 00000000..c1462954
--- /dev/null
+++ b/amarok/src/statusbar/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/amarok/src
+ ${CMAKE_BINARY_DIR}/amarok/src/amarokcore
+ ${CMAKE_SOURCE_DIR}/amarok/src
+ ${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### statusbar (static) ########################
+
+tde_add_library( statusbar STATIC_PIC AUTOMOC
+ SOURCES
+ statusBarBase.cpp statusbar.cpp overlayWidget.cpp
+ popupMessage.cpp progressBar.cpp squeezedtextlabel.cpp
+ queueLabel.cpp
+ DEPENDENCIES amarokcore-static
+)
diff --git a/amarok/src/themes/CMakeLists.txt b/amarok/src/themes/CMakeLists.txt
new file mode 100644
index 00000000..d9d66ba0
--- /dev/null
+++ b/amarok/src/themes/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( example )
+add_subdirectory( reinhardt )
diff --git a/amarok/src/themes/example/CMakeLists.txt b/amarok/src/themes/example/CMakeLists.txt
new file mode 100644
index 00000000..7d0deaba
--- /dev/null
+++ b/amarok/src/themes/example/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES stylesheet.css DESTINATION ${DATA_INSTALL_DIR}/amarok/themes/example )
diff --git a/amarok/src/themes/reinhardt/CMakeLists.txt b/amarok/src/themes/reinhardt/CMakeLists.txt
new file mode 100644
index 00000000..63ad975a
--- /dev/null
+++ b/amarok/src/themes/reinhardt/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( images )
+
+install( FILES stylesheet.css DESTINATION ${DATA_INSTALL_DIR}/amarok/themes/reinhardt )
diff --git a/amarok/src/themes/reinhardt/images/CMakeLists.txt b/amarok/src/themes/reinhardt/images/CMakeLists.txt
new file mode 100644
index 00000000..a9c09cf5
--- /dev/null
+++ b/amarok/src/themes/reinhardt/images/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ background.png transparency.png
+ DESTINATION ${DATA_INSTALL_DIR}/amarok/themes/reinhardt/images )
diff --git a/amarok/src/vis/CMakeLists.txt b/amarok/src/vis/CMakeLists.txt
new file mode 100644
index 00000000..ab31152f
--- /dev/null
+++ b/amarok/src/vis/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_conditional_add_subdirectory( WITH_LIBVISUAL libvisual )
diff --git a/amarok/src/vis/libvisual/CMakeLists.txt b/amarok/src/vis/libvisual/CMakeLists.txt
new file mode 100644
index 00000000..9fa31334
--- /dev/null
+++ b/amarok/src/vis/libvisual/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions(
+ ${SDL_CFLAGS_OTHER}
+)
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${SDL_INCLUDE_DIRS}
+ ${LIBVISUAL_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### amarok_libvisual (executable) #############
+
+tde_add_executable( amarok_libvisual
+ SOURCES libvisual.cpp
+ LINK ${SDL_LIBRARIES} ${LIBVISUAL_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+)