diff options
Diffstat (limited to 'kappfinder-data/CMakeLists.txt')
-rw-r--r-- | kappfinder-data/CMakeLists.txt | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/kappfinder-data/CMakeLists.txt b/kappfinder-data/CMakeLists.txt index cd85238e..c1974fdb 100644 --- a/kappfinder-data/CMakeLists.txt +++ b/kappfinder-data/CMakeLists.txt @@ -9,32 +9,20 @@ # ################################################# -install( - FILES - ams.desktop - amsynth.desktop - ardour.desktop - djplay.desktop - ecamegapedal.desktop - freebirth.desktop - freqtweak.desktop - galan.desktop - hydrogen.desktop - jack-rack.desktop - jamin.desktop - meterbridge.desktop - mixxx.desktop - muse.desktop - qjackctl.desktop - qsynth.desktop - vkeybd.desktop - zynaddsubfx.desktop - DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia -) +file( GLOB _multimedia_desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) +list( SORT _multimedia_desktops ) +foreach( _desktop IN LISTS _multimedia_desktops ) + tde_create_translated_desktop( + SOURCE ${_desktop} + DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data + ) +endforeach() -install( - FILES tde-multimedia-music.directory +tde_create_translated_desktop( + SOURCE tde-multimedia-music.directory DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data ) install( |