Browse Source

Add PO_DIR option to properly merge translations into desktop files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 5 months ago
parent
commit
534dd67805
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
  1. 5
      IconThemes/CMakeLists.txt
  2. 1
      kbstateapplet/CMakeLists.txt
  3. 5
      kmag/CMakeLists.txt
  4. 5
      kmousetool/kmousetool/CMakeLists.txt
  5. 5
      kmouth/CMakeLists.txt
  6. 1
      kmouth/books/CMakeLists.txt
  7. 2
      ksayit/Freeverb_plugin/CMakeLists.txt
  8. 5
      ksayit/src/CMakeLists.txt
  9. 1
      kttsd/app-plugins/kate/CMakeLists.txt
  10. 1
      kttsd/filters/CMakeLists.txt
  11. 1
      kttsd/filters/sbd/CMakeLists.txt
  12. 1
      kttsd/filters/stringreplacer/CMakeLists.txt
  13. 1
      kttsd/filters/talkerchooser/CMakeLists.txt
  14. 1
      kttsd/filters/xmltransformer/CMakeLists.txt
  15. 6
      kttsd/kcmkttsmgr/CMakeLists.txt
  16. 1
      kttsd/kttsd/CMakeLists.txt
  17. 1
      kttsd/kttsjobmgr/CMakeLists.txt
  18. 5
      kttsd/kttsmgr/CMakeLists.txt
  19. 1
      kttsd/libkttsd/CMakeLists.txt
  20. 1
      kttsd/players/CMakeLists.txt
  21. 1
      kttsd/players/akodeplayer/CMakeLists.txt
  22. 1
      kttsd/players/alsaplayer/CMakeLists.txt
  23. 1
      kttsd/players/artsplayer/CMakeLists.txt
  24. 1
      kttsd/players/gstplayer/CMakeLists.txt
  25. 1
      kttsd/plugins/command/CMakeLists.txt
  26. 1
      kttsd/plugins/epos/CMakeLists.txt
  27. 1
      kttsd/plugins/festivalint/CMakeLists.txt
  28. 1
      kttsd/plugins/flite/CMakeLists.txt
  29. 1
      kttsd/plugins/freetts/CMakeLists.txt
  30. 1
      kttsd/plugins/hadifix/CMakeLists.txt

5
IconThemes/CMakeLists.txt

@ -1,8 +1,9 @@
##### index theme
install(
FILES mono/index.theme
tde_create_translated_desktop(
SOURCE mono/index.theme
DESTINATION ${ICON_INSTALL_DIR}/mono
PO_DIR icon-themes
)

1
kbstateapplet/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( kbstate_panelapplet MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kbstateapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
PO_DIR kbstateapplet-desktops
)

5
kmag/CMakeLists.txt

@ -46,4 +46,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kmag
)
tde_create_translated_desktop( kmag.desktop )
tde_create_translated_desktop(
SOURCE kmag.desktop
PO_DIR kmag-desktops
)

5
kmousetool/kmousetool/CMakeLists.txt

@ -39,7 +39,10 @@ tde_add_executable( kmousetool AUTOMOC
##### other data
tde_create_translated_desktop( kmousetool.desktop )
tde_create_translated_desktop(
SOURCE kmousetool.desktop
PO_DIR kmousetool-desktops
)
install(
FILES mousetool_tap.wav

5
kmouth/CMakeLists.txt

@ -60,4 +60,7 @@ install(
DESTINATION ${CONFIG_INSTALL_DIR}
)
tde_create_translated_desktop( kmouth.desktop )
tde_create_translated_desktop(
SOURCE kmouth.desktop
PO_DIR kmouth-desktops
)

1
kmouth/books/CMakeLists.txt

@ -14,5 +14,6 @@ foreach( _lang de en nl sv )
tde_create_translated_desktop(
SOURCE ${_lang}.desktop
DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/${_lang}
PO_DIR kmouth-desktops
)
endforeach()

2
ksayit/Freeverb_plugin/CMakeLists.txt

@ -36,9 +36,11 @@ tde_add_library( libFreeverb_plugin MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE ksayit_libFreeverb_service.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR ksayit-desktops
)
tde_create_translated_desktop(
SOURCE ksayit_libFreeverb.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR ksayit-desktops
)

5
ksayit/src/CMakeLists.txt

@ -62,7 +62,10 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/ksayit
)
tde_create_translated_desktop( ksayit.desktop )
tde_create_translated_desktop(
SOURCE ksayit.desktop
PO_DIR ksayit-desktops
)
install(
FILES ksayit_fxplugin.h

1
kttsd/app-plugins/kate/CMakeLists.txt

@ -38,4 +38,5 @@ install(
tde_create_translated_desktop(
SOURCE tdetexteditor_kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/filters/CMakeLists.txt

@ -38,4 +38,5 @@ tde_add_check_executable( testfilter AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_filterplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/filters/sbd/CMakeLists.txt

@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_sbdplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_sbdplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)
install(

1
kttsd/filters/stringreplacer/CMakeLists.txt

@ -36,6 +36,7 @@ tde_add_kpart( libkttsd_stringreplacerplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_stringreplacerplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/filters/talkerchooser/CMakeLists.txt

@ -36,6 +36,7 @@ tde_add_kpart( libkttsd_talkerchooserplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_talkerchooserplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)
install(

1
kttsd/filters/xmltransformer/CMakeLists.txt

@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_xmltransformerplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_xmltransformerplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)
install(

6
kttsd/kcmkttsmgr/CMakeLists.txt

@ -41,6 +41,10 @@ tde_add_kpart( kcm_kttsd MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kcmkttsd_testmessage.desktop
DESTINATION ${DATA_INSTALL_DIR}/kttsd
PO_DIR kttsd-desktops
)
tde_create_translated_desktop( kcmkttsd.desktop )
tde_create_translated_desktop(
SOURCE kcmkttsd.desktop
PO_DIR kttsd-desktops
)

1
kttsd/kttsd/CMakeLists.txt

@ -49,4 +49,5 @@ install(
tde_create_translated_desktop(
SOURCE kttsd.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/kttsjobmgr/CMakeLists.txt

@ -37,4 +37,5 @@ tde_add_kpart( libkttsjobmgrpart MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE kttsjobmgr.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

5
kttsd/kttsmgr/CMakeLists.txt

@ -33,4 +33,7 @@ tde_add_executable( kttsmgr AUTOMOC
##### other data
tde_create_translated_desktop( kttsmgr.desktop )
tde_create_translated_desktop(
SOURCE kttsmgr.desktop
PO_DIR kttsd-desktops
)

1
kttsd/libkttsd/CMakeLists.txt

@ -44,4 +44,5 @@ tde_add_library( kttsd SHARED AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_synthplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/players/CMakeLists.txt

@ -9,4 +9,5 @@ tde_conditional_add_subdirectory( WITH_GSTREAMER gstplayer )
tde_create_translated_desktop(
SOURCE kttsd_audioplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/players/akodeplayer/CMakeLists.txt

@ -34,4 +34,5 @@ tde_add_kpart( libkttsd_akodeplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_akodeplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/players/alsaplayer/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_alsaplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_alsaplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/players/artsplayer/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_artsplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_artsplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/players/gstplayer/CMakeLists.txt

@ -36,4 +36,5 @@ tde_add_kpart( libkttsd_gstplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_gstplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/plugins/command/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_commandplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_commandplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/plugins/epos/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_eposplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_eposplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/plugins/festivalint/CMakeLists.txt

@ -35,6 +35,7 @@ tde_add_kpart( libkttsd_festivalintplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_festivalintplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)
install(

1
kttsd/plugins/flite/CMakeLists.txt

@ -35,4 +35,5 @@ tde_add_kpart( libkttsd_fliteplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_fliteplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/plugins/freetts/CMakeLists.txt

@ -34,4 +34,5 @@ tde_add_kpart( libkttsd_freettsplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_freettsplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)

1
kttsd/plugins/hadifix/CMakeLists.txt

@ -37,6 +37,7 @@ tde_add_kpart( libkttsd_hadifixplugin AUTOMOC
tde_create_translated_desktop(
SOURCE kttsd_hadifixplugin.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kttsd-desktops
)
install(

Loading…
Cancel
Save