Replaced install() with tde_create_translated_desktop() for .desktop files in relevant CMakeLists.txt

Signed-off-by: Ray-V <ray-v@inbox.lv>
(cherry picked from commit a2177ee555)
r14.0.x
Ray-V 3 years ago committed by Slávek Banko
parent fca41c75f8
commit 91f8acc754
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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) ####################

@ -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) #####

@ -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) #############

@ -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) #############

@ -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) ############

@ -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) #####

@ -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} )

@ -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) ####

@ -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) ######

@ -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

@ -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) ####

@ -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) ########

@ -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) #######

@ -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) ########

@ -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) ########

@ -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) ###

Loading…
Cancel
Save