summaryrefslogtreecommitdiffstats
path: root/kmix/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/CMakeLists.txt')
-rw-r--r--kmix/CMakeLists.txt33
1 files changed, 28 insertions, 5 deletions
diff --git a/kmix/CMakeLists.txt b/kmix/CMakeLists.txt
index 08006206..c894d761 100644
--- a/kmix/CMakeLists.txt
+++ b/kmix/CMakeLists.txt
@@ -25,12 +25,35 @@ link_directories(
##### other data ################################
-install( FILES kmix.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES kmix.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE kmix.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+)
+
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/kmix.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+)
+
install( FILES kmixui.rc DESTINATION ${DATA_INSTALL_DIR}/kmix )
-install( FILES restore_kmix_volumes.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
-install( FILES kmixapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
-install( FILES kmixctrl_restore.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+tde_create_translated_desktop(
+ SOURCE restore_kmix_volumes.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kmixapplet.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kmixctrl_restore.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+)
##### kmix_panelapplet (module) #################