summaryrefslogtreecommitdiffstats
path: root/kappfinder-data/CMakeLists.txt
blob: c1974fdb1b873cc0138aa110b2c13b331b6e5c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#################################################
#
#  (C) 2017 Slávek Banko
#  slavek (DOT) banko (AT) axis.cz
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

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()

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(
  FILES tde-multimedia-music.menu
  DESTINATION ${XDG_MENU_INSTALL_DIR}/applications-merged
)