summaryrefslogtreecommitdiffstats
path: root/amarok
diff options
context:
space:
mode:
Diffstat (limited to 'amarok')
-rw-r--r--amarok/src/CMakeLists.txt17
-rw-r--r--amarok/src/device/massstorage/CMakeLists.txt5
-rw-r--r--amarok/src/device/nfs/CMakeLists.txt5
-rw-r--r--amarok/src/device/smb/CMakeLists.txt5
-rw-r--r--amarok/src/engine/akode/CMakeLists.txt5
-rw-r--r--amarok/src/engine/void/CMakeLists.txt5
-rw-r--r--amarok/src/engine/xine/CMakeLists.txt5
-rw-r--r--amarok/src/engine/yauap/CMakeLists.txt7
-rw-r--r--amarok/src/konquisidebar/CMakeLists.txt15
-rw-r--r--amarok/src/mediadevice/daap/CMakeLists.txt4
-rw-r--r--amarok/src/mediadevice/generic/CMakeLists.txt5
-rw-r--r--amarok/src/mediadevice/ifp/CMakeLists.txt7
-rw-r--r--amarok/src/mediadevice/ipod/CMakeLists.txt7
-rw-r--r--amarok/src/mediadevice/mtp/CMakeLists.txt7
-rw-r--r--amarok/src/mediadevice/njb/CMakeLists.txt7
-rw-r--r--amarok/src/mediadevice/riokarma/CMakeLists.txt7
16 files changed, 79 insertions, 34 deletions
diff --git a/amarok/src/CMakeLists.txt b/amarok/src/CMakeLists.txt
index 07fb0e9d..634acfd6 100644
--- a/amarok/src/CMakeLists.txt
+++ b/amarok/src/CMakeLists.txt
@@ -59,11 +59,20 @@ 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 )
+tde_create_translated_desktop( amarok.desktop )
+tde_create_translated_desktop(
+ SOURCE amarok_plugin.desktop amarok_codecinstall.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
+tde_create_translated_desktop(
+ SOURCE 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} )
+tde_create_translated_desktop(
+ SOURCE amarokitpc.protocol amaroklastfm.protocol amarokpcast.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### amarokapp (executable) ####################
diff --git a/amarok/src/device/massstorage/CMakeLists.txt b/amarok/src/device/massstorage/CMakeLists.txt
index 3e866505..eee6e899 100644
--- a/amarok/src/device/massstorage/CMakeLists.txt
+++ b/amarok/src/device/massstorage/CMakeLists.txt
@@ -23,7 +23,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_massstorage-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_massstorage-device.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_massstorage-device (module) #####
diff --git a/amarok/src/device/nfs/CMakeLists.txt b/amarok/src/device/nfs/CMakeLists.txt
index e0e9e847..b1cc877b 100644
--- a/amarok/src/device/nfs/CMakeLists.txt
+++ b/amarok/src/device/nfs/CMakeLists.txt
@@ -23,7 +23,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_nfs-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_nfs-device.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_nfs-device (module) #############
diff --git a/amarok/src/device/smb/CMakeLists.txt b/amarok/src/device/smb/CMakeLists.txt
index cbbdbd7e..cb1b2fc2 100644
--- a/amarok/src/device/smb/CMakeLists.txt
+++ b/amarok/src/device/smb/CMakeLists.txt
@@ -23,7 +23,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_smb-device.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_smb-device.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_smb-device (module) #############
diff --git a/amarok/src/engine/akode/CMakeLists.txt b/amarok/src/engine/akode/CMakeLists.txt
index 71483fc1..3e1a0582 100644
--- a/amarok/src/engine/akode/CMakeLists.txt
+++ b/amarok/src/engine/akode/CMakeLists.txt
@@ -25,7 +25,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_aKode-engine.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_aKode-engine.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_aKode-engine (module) ############
diff --git a/amarok/src/engine/void/CMakeLists.txt b/amarok/src/engine/void/CMakeLists.txt
index f36284a2..6d3db2d8 100644
--- a/amarok/src/engine/void/CMakeLists.txt
+++ b/amarok/src/engine/void/CMakeLists.txt
@@ -23,7 +23,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_void-engine_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_void-engine_plugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_void-engine_plugin (module) #####
diff --git a/amarok/src/engine/xine/CMakeLists.txt b/amarok/src/engine/xine/CMakeLists.txt
index 00ccc11a..8b9e369b 100644
--- a/amarok/src/engine/xine/CMakeLists.txt
+++ b/amarok/src/engine/xine/CMakeLists.txt
@@ -27,7 +27,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_xine-engine.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_xine-engine.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
install( FILES xinecfg.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
diff --git a/amarok/src/engine/yauap/CMakeLists.txt b/amarok/src/engine/yauap/CMakeLists.txt
index 632ae36e..143cca81 100644
--- a/amarok/src/engine/yauap/CMakeLists.txt
+++ b/amarok/src/engine/yauap/CMakeLists.txt
@@ -28,9 +28,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_yauap-engine_plugin.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_yauap-engine_plugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_yauap-engine_plugin (module) ####
diff --git a/amarok/src/konquisidebar/CMakeLists.txt b/amarok/src/konquisidebar/CMakeLists.txt
index edf3efc6..23cd9e81 100644
--- a/amarok/src/konquisidebar/CMakeLists.txt
+++ b/amarok/src/konquisidebar/CMakeLists.txt
@@ -24,9 +24,18 @@ link_directories(
##### other data ################################
-install( FILES amarok_konquisidebar.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add )
-install( FILES amarok_konquisidebar.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries )
-install( FILES amarok_konquisidebar.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries )
+tde_create_translated_desktop(
+ SOURCE amarok_konquisidebar.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add
+)
+tde_create_translated_desktop(
+ SOURCE amarok_konquisidebar.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries
+)
+tde_create_translated_desktop(
+ SOURCE amarok_konquisidebar.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries
+)
##### konqsidebar_universalamarok (module) ######
diff --git a/amarok/src/mediadevice/daap/CMakeLists.txt b/amarok/src/mediadevice/daap/CMakeLists.txt
index b18ab771..f79178f8 100644
--- a/amarok/src/mediadevice/daap/CMakeLists.txt
+++ b/amarok/src/mediadevice/daap/CMakeLists.txt
@@ -33,8 +33,8 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_daap-mediadevice.desktop
+tde_create_translated_desktop(
+ SOURCE amarok_daap-mediadevice.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
install( PROGRAMS
diff --git a/amarok/src/mediadevice/generic/CMakeLists.txt b/amarok/src/mediadevice/generic/CMakeLists.txt
index f4dc0958..23e98a17 100644
--- a/amarok/src/mediadevice/generic/CMakeLists.txt
+++ b/amarok/src/mediadevice/generic/CMakeLists.txt
@@ -27,7 +27,10 @@ link_directories(
##### other data ################################
-install( FILES amarok_generic-mediadevice.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_generic-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_generic-mediadevice (module) ####
diff --git a/amarok/src/mediadevice/ifp/CMakeLists.txt b/amarok/src/mediadevice/ifp/CMakeLists.txt
index 11c78011..55b76b1b 100644
--- a/amarok/src/mediadevice/ifp/CMakeLists.txt
+++ b/amarok/src/mediadevice/ifp/CMakeLists.txt
@@ -28,9 +28,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_ifp-mediadevice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_ifp-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_ifp-mediadevice (module) ########
diff --git a/amarok/src/mediadevice/ipod/CMakeLists.txt b/amarok/src/mediadevice/ipod/CMakeLists.txt
index 29886bf9..b425a6ba 100644
--- a/amarok/src/mediadevice/ipod/CMakeLists.txt
+++ b/amarok/src/mediadevice/ipod/CMakeLists.txt
@@ -28,9 +28,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_ipod-mediadevice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_ipod-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_ipod-mediadevice (module) #######
diff --git a/amarok/src/mediadevice/mtp/CMakeLists.txt b/amarok/src/mediadevice/mtp/CMakeLists.txt
index b58f0605..e25c5217 100644
--- a/amarok/src/mediadevice/mtp/CMakeLists.txt
+++ b/amarok/src/mediadevice/mtp/CMakeLists.txt
@@ -27,9 +27,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_mtp-mediadevice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_mtp-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_mtp-mediadevice (module) ########
diff --git a/amarok/src/mediadevice/njb/CMakeLists.txt b/amarok/src/mediadevice/njb/CMakeLists.txt
index d15be2fe..1a27dff6 100644
--- a/amarok/src/mediadevice/njb/CMakeLists.txt
+++ b/amarok/src/mediadevice/njb/CMakeLists.txt
@@ -27,9 +27,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_njb-mediadevice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE amarok_njb-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_njb-mediadevice (module) ########
diff --git a/amarok/src/mediadevice/riokarma/CMakeLists.txt b/amarok/src/mediadevice/riokarma/CMakeLists.txt
index f78fb284..0be482e2 100644
--- a/amarok/src/mediadevice/riokarma/CMakeLists.txt
+++ b/amarok/src/mediadevice/riokarma/CMakeLists.txt
@@ -29,9 +29,10 @@ link_directories(
##### other data ################################
-install( FILES
- amarok_riokarma-mediadevice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SROUCE amarok_riokarma-mediadevice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### libamarok_riokarma-mediadevice (module) ###