summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:44 +0200
commitd85138e2f298203078304d2e57d8ee66a6b3e377 (patch)
tree2b718dba79531e77cb6b0d9f62e820370dfae55d
parenta0b27c9ebcdb566823f816fca011e117949a9ad9 (diff)
downloadtdemultimedia-d85138e2f298203078304d2e57d8ee66a6b3e377.tar.gz
tdemultimedia-d85138e2f298203078304d2e57d8ee66a6b3e377.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 57d55cfe629741a0c7b4f5d83792ae8546a17cde)
-rw-r--r--arts/builder/CMakeLists.txt4
-rw-r--r--arts/tools/CMakeLists.txt4
-rw-r--r--juk/CMakeLists.txt4
-rw-r--r--kaboodle/CMakeLists.txt14
-rw-r--r--kappfinder-data/CMakeLists.txt15
-rw-r--r--kaudiocreator/CMakeLists.txt6
-rw-r--r--kmix/CMakeLists.txt8
-rw-r--r--krec/CMakeLists.txt18
-rw-r--r--krec/mp3_export/CMakeLists.txt2
-rw-r--r--krec/ogg_export/CMakeLists.txt2
-rw-r--r--kscd/CMakeLists.txt6
-rw-r--r--noatun/CMakeLists.txt2
-rw-r--r--noatun/modules/winskin/mimetypes/interface/CMakeLists.txt2
-rw-r--r--tdefile-plugins/au/CMakeLists.txt2
-rw-r--r--tdefile-plugins/avi/CMakeLists.txt2
-rw-r--r--tdefile-plugins/flac/CMakeLists.txt2
-rw-r--r--tdefile-plugins/m3u/CMakeLists.txt2
-rw-r--r--tdefile-plugins/mp3/CMakeLists.txt2
-rw-r--r--tdefile-plugins/mpc/CMakeLists.txt2
-rw-r--r--tdefile-plugins/mpeg/CMakeLists.txt2
-rw-r--r--tdefile-plugins/ogg/CMakeLists.txt2
-rw-r--r--tdefile-plugins/sid/CMakeLists.txt2
-rw-r--r--tdefile-plugins/theora/CMakeLists.txt2
-rw-r--r--tdefile-plugins/wav/CMakeLists.txt2
-rw-r--r--tdeioslave/audiocd/kcmaudiocd/CMakeLists.txt2
-rw-r--r--tdemid/CMakeLists.txt4
26 files changed, 55 insertions, 60 deletions
diff --git a/arts/builder/CMakeLists.txt b/arts/builder/CMakeLists.txt
index 2e350faa..a8611e27 100644
--- a/arts/builder/CMakeLists.txt
+++ b/arts/builder/CMakeLists.txt
@@ -56,13 +56,13 @@ add_custom_target(
tde_create_translated_desktop(
SOURCE artsbuilder.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+ PO_DIR artsbuilder-desktops
)
tde_create_translated_desktop(
SOURCE x-artsbuilder.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+ PO_DIR artsbuilder-desktops
)
install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )
diff --git a/arts/tools/CMakeLists.txt b/arts/tools/CMakeLists.txt
index fab9e5c9..588c3dac 100644
--- a/arts/tools/CMakeLists.txt
+++ b/arts/tools/CMakeLists.txt
@@ -90,13 +90,13 @@ tde_add_executable( artscontrol AUTOMOC
tde_create_translated_desktop(
SOURCE artscontrol.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artscontrol-desktops
+ PO_DIR artscontrol-desktops
)
tde_create_translated_desktop(
SOURCE artscontrolapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artscontrol-desktops
+ PO_DIR artscontrol-desktops
)
install(
diff --git a/juk/CMakeLists.txt b/juk/CMakeLists.txt
index 29325191..10ade86b 100644
--- a/juk/CMakeLists.txt
+++ b/juk/CMakeLists.txt
@@ -129,7 +129,7 @@ tde_add_check_executable( tagguessertest AUTOMOC
tde_create_translated_desktop(
SOURCE juk.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/juk-desktops
+ PO_DIR juk-desktops
)
install( FILES jukui.rc jukui-rtl.rc DESTINATION ${DATA_INSTALL_DIR}/juk )
@@ -137,5 +137,5 @@ install( FILES jukui.rc jukui-rtl.rc DESTINATION ${DATA_INSTALL_DIR}/juk )
tde_create_translated_desktop(
SOURCE jukservicemenu.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/juk-desktops
+ PO_DIR juk-desktops
)
diff --git a/kaboodle/CMakeLists.txt b/kaboodle/CMakeLists.txt
index fc28aed6..85cb017b 100644
--- a/kaboodle/CMakeLists.txt
+++ b/kaboodle/CMakeLists.txt
@@ -75,7 +75,7 @@ tde_add_executable( kaboodle AUTOMOC
tde_create_translated_desktop(
SOURCE kaboodle.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
+ PO_DIR kaboodle-desktops
)
install(
@@ -83,10 +83,8 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kaboodle
)
-foreach( _service kaboodle_component.desktop kaboodleengine.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kaboodle_component.desktop kaboodleengine.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kaboodle-desktops
+)
diff --git a/kappfinder-data/CMakeLists.txt b/kappfinder-data/CMakeLists.txt
index c1974fdb..75ce5026 100644
--- a/kappfinder-data/CMakeLists.txt
+++ b/kappfinder-data/CMakeLists.txt
@@ -11,18 +11,17 @@
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 ${_multimedia_desktops}
+ DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/Multimedia
+ PO_DIR kappfinder-data
+)
tde_create_translated_desktop(
SOURCE tde-multimedia-music.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kappfinder-data
+ PO_DIR kappfinder-data
)
install(
diff --git a/kaudiocreator/CMakeLists.txt b/kaudiocreator/CMakeLists.txt
index 1093fb78..9d47429a 100644
--- a/kaudiocreator/CMakeLists.txt
+++ b/kaudiocreator/CMakeLists.txt
@@ -51,7 +51,7 @@ tde_add_executable( kaudiocreator AUTOMOC
tde_create_translated_desktop(
SOURCE kaudiocreator.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-desktops
+ PO_DIR kaudiocreator-desktops
)
install(
@@ -62,7 +62,7 @@ install(
tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/kaudiocreator
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-eventsrc
+ PO_DIR kaudiocreator-eventsrc
)
install(
@@ -73,7 +73,7 @@ install(
tde_create_translated_desktop(
SOURCE audiocd_extract.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaudiocreator-desktops
+ PO_DIR kaudiocreator-desktops
)
install(
diff --git a/kmix/CMakeLists.txt b/kmix/CMakeLists.txt
index c894d761..139b2535 100644
--- a/kmix/CMakeLists.txt
+++ b/kmix/CMakeLists.txt
@@ -27,7 +27,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE kmix.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+ PO_DIR kmix-desktops
)
install(
@@ -40,19 +40,19 @@ install( FILES kmixui.rc DESTINATION ${DATA_INSTALL_DIR}/kmix )
tde_create_translated_desktop(
SOURCE restore_kmix_volumes.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+ PO_DIR kmix-desktops
)
tde_create_translated_desktop(
SOURCE kmixapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+ PO_DIR kmix-desktops
)
tde_create_translated_desktop(
SOURCE kmixctrl_restore.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmix-desktops
+ PO_DIR kmix-desktops
)
diff --git a/krec/CMakeLists.txt b/krec/CMakeLists.txt
index 834cb1f7..c5aadced 100644
--- a/krec/CMakeLists.txt
+++ b/krec/CMakeLists.txt
@@ -113,29 +113,27 @@ tde_add_kpart( libkrecexport_wave AUTOMOC
tde_create_translated_desktop(
SOURCE krec.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
install( FILES krecui.rc DESTINATION ${DATA_INSTALL_DIR}/krec )
-foreach( _service kcm_krec.desktop kcm_krec_files.desktop )
- tde_create_translated_desktop(
- SOURCE ${_service}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kcm_krec.desktop kcm_krec_files.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR krec-desktops
+)
install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/krec )
tde_create_translated_desktop(
SOURCE krec_exportitem.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
tde_create_translated_desktop(
SOURCE krec_exportwave.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
diff --git a/krec/mp3_export/CMakeLists.txt b/krec/mp3_export/CMakeLists.txt
index b6addd07..06dcdd02 100644
--- a/krec/mp3_export/CMakeLists.txt
+++ b/krec/mp3_export/CMakeLists.txt
@@ -50,5 +50,5 @@ tde_add_kpart( libkrecexport_mp3 AUTOMOC
tde_create_translated_desktop(
SOURCE krec_exportmp3.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
diff --git a/krec/ogg_export/CMakeLists.txt b/krec/ogg_export/CMakeLists.txt
index 05d43019..4f33d3eb 100644
--- a/krec/ogg_export/CMakeLists.txt
+++ b/krec/ogg_export/CMakeLists.txt
@@ -50,5 +50,5 @@ tde_add_kpart( libkrecexport_ogg AUTOMOC
tde_create_translated_desktop(
SOURCE krec_exportogg.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/krec-desktops
+ PO_DIR krec-desktops
)
diff --git a/kscd/CMakeLists.txt b/kscd/CMakeLists.txt
index ee3ea4ab..148585be 100644
--- a/kscd/CMakeLists.txt
+++ b/kscd/CMakeLists.txt
@@ -61,13 +61,13 @@ install( PROGRAMS workman2cddb.pl DESTINATION ${BIN_INSTALL_DIR} )
tde_create_translated_desktop(
SOURCE kscd.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+ PO_DIR kscd-desktops
)
tde_create_translated_desktop(
SOURCE xmcd.desktop
DESTINATION ${MIME_INSTALL_DIR}/text
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+ PO_DIR kscd-desktops
)
install( FILES kscd.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
@@ -77,5 +77,5 @@ install( FILES kscd.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles )
tde_create_translated_desktop(
SOURCE audiocd_play.desktop
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kscd-desktops
+ PO_DIR kscd-desktops
)
diff --git a/noatun/CMakeLists.txt b/noatun/CMakeLists.txt
index dc2a6817..7ecc648e 100644
--- a/noatun/CMakeLists.txt
+++ b/noatun/CMakeLists.txt
@@ -58,7 +58,7 @@ add_custom_target( noatun.api
tde_create_translated_desktop(
SOURCE noatun.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/noatun-desktops
+ PO_DIR noatun-desktops
)
install( FILES noatun.upd DESTINATION ${DATA_INSTALL_DIR}/tdeconf_update )
diff --git a/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt b/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
index 10bb320c..c682c8f5 100644
--- a/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
+++ b/noatun/modules/winskin/mimetypes/interface/CMakeLists.txt
@@ -12,5 +12,5 @@
tde_create_translated_desktop(
SOURCE x-winamp-skin.desktop
DESTINATION ${MIME_INSTALL_DIR}/interface
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/noatun-desktops
+ PO_DIR noatun-desktops
)
diff --git a/tdefile-plugins/au/CMakeLists.txt b/tdefile-plugins/au/CMakeLists.txt
index f90f878e..8d6f3672 100644
--- a/tdefile-plugins/au/CMakeLists.txt
+++ b/tdefile-plugins/au/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( tdefile_au AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_au.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/avi/CMakeLists.txt b/tdefile-plugins/avi/CMakeLists.txt
index cbf5a9b8..cda8d11d 100644
--- a/tdefile-plugins/avi/CMakeLists.txt
+++ b/tdefile-plugins/avi/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( tdefile_avi AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_avi.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/flac/CMakeLists.txt b/tdefile-plugins/flac/CMakeLists.txt
index 4415e76d..052867f1 100644
--- a/tdefile-plugins/flac/CMakeLists.txt
+++ b/tdefile-plugins/flac/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( tdefile_flac AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_flac.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/m3u/CMakeLists.txt b/tdefile-plugins/m3u/CMakeLists.txt
index 10b16a11..78e6b658 100644
--- a/tdefile-plugins/m3u/CMakeLists.txt
+++ b/tdefile-plugins/m3u/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( tdefile_m3u AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_m3u.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/mp3/CMakeLists.txt b/tdefile-plugins/mp3/CMakeLists.txt
index 46cb051a..c4d3aaca 100644
--- a/tdefile-plugins/mp3/CMakeLists.txt
+++ b/tdefile-plugins/mp3/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( tdefile_mp3 AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_mp3.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/mpc/CMakeLists.txt b/tdefile-plugins/mpc/CMakeLists.txt
index 07725916..1c3cda8e 100644
--- a/tdefile-plugins/mpc/CMakeLists.txt
+++ b/tdefile-plugins/mpc/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( tdefile_mpc AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_mpc.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/mpeg/CMakeLists.txt b/tdefile-plugins/mpeg/CMakeLists.txt
index e51bb877..5a83e7a2 100644
--- a/tdefile-plugins/mpeg/CMakeLists.txt
+++ b/tdefile-plugins/mpeg/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( tdefile_mpeg AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_mpeg.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/ogg/CMakeLists.txt b/tdefile-plugins/ogg/CMakeLists.txt
index f7b97e91..f5b2b27d 100644
--- a/tdefile-plugins/ogg/CMakeLists.txt
+++ b/tdefile-plugins/ogg/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( tdefile_ogg AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_ogg.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/sid/CMakeLists.txt b/tdefile-plugins/sid/CMakeLists.txt
index 68c8f94a..67bb2184 100644
--- a/tdefile-plugins/sid/CMakeLists.txt
+++ b/tdefile-plugins/sid/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( tdefile_sid AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_sid.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/theora/CMakeLists.txt b/tdefile-plugins/theora/CMakeLists.txt
index f1333110..2381a460 100644
--- a/tdefile-plugins/theora/CMakeLists.txt
+++ b/tdefile-plugins/theora/CMakeLists.txt
@@ -40,5 +40,5 @@ tde_add_kpart( tdefile_theora AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_theora.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdefile-plugins/wav/CMakeLists.txt b/tdefile-plugins/wav/CMakeLists.txt
index c0d39017..1c1da991 100644
--- a/tdefile-plugins/wav/CMakeLists.txt
+++ b/tdefile-plugins/wav/CMakeLists.txt
@@ -39,5 +39,5 @@ tde_add_kpart( tdefile_wav AUTOMOC
tde_create_translated_desktop(
SOURCE tdefile_wav.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
+ PO_DIR tdefile-desktops
)
diff --git a/tdeioslave/audiocd/kcmaudiocd/CMakeLists.txt b/tdeioslave/audiocd/kcmaudiocd/CMakeLists.txt
index 8f084b6f..ffc8ec57 100644
--- a/tdeioslave/audiocd/kcmaudiocd/CMakeLists.txt
+++ b/tdeioslave/audiocd/kcmaudiocd/CMakeLists.txt
@@ -38,5 +38,5 @@ tde_add_kpart( kcm_audiocd AUTOMOC
tde_create_translated_desktop(
SOURCE audiocd.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio_audiocd-desktops
+ PO_DIR tdeio_audiocd-desktops
)
diff --git a/tdemid/CMakeLists.txt b/tdemid/CMakeLists.txt
index fd9f5989..134a1992 100644
--- a/tdemid/CMakeLists.txt
+++ b/tdemid/CMakeLists.txt
@@ -86,13 +86,13 @@ add_custom_target( instrname.i18n
tde_create_translated_desktop(
SOURCE tdemid.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdemid-desktops
+ PO_DIR tdemid-desktops
)
tde_create_translated_desktop(
SOURCE x-karaoke.desktop
DESTINATION ${MIME_INSTALL_DIR}/audio
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdemid-desktops
+ PO_DIR tdemid-desktops
)
install( FILES tdemidui.rc DESTINATION ${DATA_INSTALL_DIR}/tdemid )