summaryrefslogtreecommitdiffstats
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index df30c23..41d02ef 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -10,15 +10,18 @@ FILE(GLOB CHORD_FILES chords/*.xml)
INSTALL(FILES ${CHORD_FILES} DESTINATION ${DATADIR}/chords)
# Desktop file
-INSTALL(FILES desktop/rosegarden.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+tde_create_translated_desktop( desktop/rosegarden.desktop )
# MIME files
-SET(MIME_FILES
+tde_create_translated_desktop(
+ SOURCE
desktop/x-rosegarden21.desktop
desktop/x-rosegarden.desktop
desktop/x-rosegarden-device.desktop
- desktop/x-soundfont.desktop)
-INSTALL(FILES ${MIME_FILES} DESTINATION ${MIMEDIR})
+ desktop/x-soundfont.desktop
+
+ DESTINATION ${MIMEDIR}
+)
# Icons
INSTALL(FILES pixmaps/icons/cc-hi16-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/16x16/apps RENAME rosegarden.xpm)