diff options
Diffstat (limited to 'kaudiocreator/CMakeLists.txt')
-rw-r--r-- | kaudiocreator/CMakeLists.txt | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/kaudiocreator/CMakeLists.txt b/kaudiocreator/CMakeLists.txt index bb1c5ffe..1093fb78 100644 --- a/kaudiocreator/CMakeLists.txt +++ b/kaudiocreator/CMakeLists.txt @@ -49,26 +49,38 @@ tde_add_executable( kaudiocreator AUTOMOC ##### other data ################################ -install( - FILES kaudiocreator.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE kaudiocreator.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-desktops ) + install( - FILES kaudiocreatorui.rc eventsrc + FILES kaudiocreatorui.rc + DESTINATION ${DATA_INSTALL_DIR}/kaudiocreator +) + +tde_create_translated_desktop( + SOURCE eventsrc DESTINATION ${DATA_INSTALL_DIR}/kaudiocreator + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-eventsrc ) + install( FILES kaudiocreator.kcfg kaudiocreator_encoders.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) -install( - FILES audiocd_extract.desktop + +tde_create_translated_desktop( + SOURCE audiocd_extract.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-desktops ) + install( FILES kaudiocreator-meta.upd kaudiocreator-libkcddb.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update ) + install( PROGRAMS upgrade-kaudiocreator-metadata.sh DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update |