Browse Source

Simplify CMake rules for desktop file translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/12/head
Slávek Banko 1 year ago
parent
commit
1e91884c7c
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
  1. 2
      IconThemes/CMakeLists.txt
  2. 2
      kworldclock/CMakeLists.txt
  3. 2
      styles/dotnet/CMakeLists.txt
  4. 2
      styles/phase/CMakeLists.txt
  5. 2
      tdescreensaver/kdesavers/CMakeLists.txt
  6. 2
      tdescreensaver/kxsconfig/CMakeLists.txt
  7. 2
      tdescreensaver/tdepartsaver/CMakeLists.txt
  8. 4
      tdescreensaver/xsavers/CMakeLists.txt
  9. 2
      twin-styles/cde/CMakeLists.txt
  10. 2
      twin-styles/glow/CMakeLists.txt
  11. 2
      twin-styles/icewm/CMakeLists.txt
  12. 2
      twin-styles/kde1/CMakeLists.txt
  13. 2
      twin-styles/kstep/CMakeLists.txt
  14. 2
      twin-styles/openlook/CMakeLists.txt
  15. 2
      twin-styles/riscos/CMakeLists.txt
  16. 2
      twin-styles/smooth-blend/client/CMakeLists.txt
  17. 2
      twin-styles/system/CMakeLists.txt
  18. 2
      wallpapers/CMakeLists.txt

2
IconThemes/CMakeLists.txt

@ -20,7 +20,7 @@ foreach (theme ${ICON_THEMES})
tde_create_translated_desktop(
SOURCE ${theme}/index.theme
DESTINATION ${ICON_INSTALL_DIR}/${theme}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/icon-themes
PO_DIR icon-themes
)
foreach(size ${ICON_SIZES})
foreach(type ${ICON_TYPES})

2
kworldclock/CMakeLists.txt

@ -29,7 +29,7 @@ foreach( _theme IN LISTS _themes )
tde_create_translated_desktop(
SOURCE ${_theme}/${_theme}.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/${_theme}"
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
PO_DIR kworldclock-themes
)
endif()
endforeach()

2
styles/dotnet/CMakeLists.txt

@ -28,7 +28,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE dotnet.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes
PO_DIR style-themes
)

2
styles/phase/CMakeLists.txt

@ -31,7 +31,7 @@ add_subdirectory( config )
tde_create_translated_desktop(
SOURCE phase.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes
PO_DIR style-themes
)
##### phasestyle #################################

2
tdescreensaver/kdesavers/CMakeLists.txt

@ -135,7 +135,7 @@ foreach( saver ${SCREENSAVERS} )
tde_create_translated_desktop(
SOURCE ${${saver}_DESKTOP}
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
PO_DIR tdescreensaver-desktops
)
endforeach( saver ${SCREENSAVERS} )

2
tdescreensaver/kxsconfig/CMakeLists.txt

@ -60,7 +60,7 @@ foreach(_currentdesktopfile ${_desktopfiles})
tde_create_translated_desktop(
SOURCE ${_currentdesktopfile}
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
PO_DIR tdescreensaver-desktops
)
else(XSCREENSAVER_FILE_FOUND)
MESSAGE(STATUS "xscreensaver name ${_screensaverName} not found")

2
tdescreensaver/tdepartsaver/CMakeLists.txt

@ -24,7 +24,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdepartsaver.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
PO_DIR tdescreensaver-desktops
)
##### kpart_cde ##################################

4
tdescreensaver/xsavers/CMakeLists.txt

@ -36,7 +36,7 @@ tde_add_executable( kswarm.kss AUTOMOC
tde_create_translated_desktop(
SOURCE KSwarm.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
PO_DIR tdescreensaver-desktops
)
##### kswarm #################################
@ -53,6 +53,6 @@ if( WITH_OPENGL )
tde_create_translated_desktop(
SOURCE KSpace.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
PO_DIR tdescreensaver-desktops
)
endif( WITH_OPENGL )

2
twin-styles/cde/CMakeLists.txt

@ -26,7 +26,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE cde.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/glow/CMakeLists.txt

@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE glow.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/icewm/CMakeLists.txt

@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE icewm.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/kde1/CMakeLists.txt

@ -24,7 +24,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kde1.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/kstep/CMakeLists.txt

@ -24,7 +24,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kstep.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/openlook/CMakeLists.txt

@ -25,7 +25,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE openlook.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/riscos/CMakeLists.txt

@ -29,7 +29,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE riscos.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/smooth-blend/client/CMakeLists.txt

@ -30,7 +30,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE smoothblend.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
twin-styles/system/CMakeLists.txt

@ -24,7 +24,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE system.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/twin-styles-desktops
PO_DIR twin-styles-desktops
)

2
wallpapers/CMakeLists.txt

@ -24,7 +24,7 @@ foreach( _wallpaper IN LISTS _wallpapers )
tde_create_translated_desktop(
SOURCE ${_wallpaper}.desktop
DESTINATION ${WALLPAPER_INSTALL_DIR}
PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/wallpapers-desktops
PO_DIR wallpapers-desktops
)
endif()
endforeach()
Loading…
Cancel
Save