diff options
author | Slávek Banko <[email protected]> | 2020-06-25 13:36:35 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-25 13:38:09 +0200 |
commit | 3e4279ead3d02c6183681a1bad4c9cd678a5b274 (patch) | |
tree | ee00ee8ed0beb2dd1c9431f75979cd208d6ee5b2 /mimetypes/image | |
parent | 6e58b61177b415df6e5dd2508074d2f5722a9b9a (diff) | |
download | tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.tar.gz tdelibs-3e4279ead3d02c6183681a1bad4c9cd678a5b274.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
Diffstat (limited to 'mimetypes/image')
-rw-r--r-- | mimetypes/image/CMakeLists.txt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mimetypes/image/CMakeLists.txt b/mimetypes/image/CMakeLists.txt index 9b4403d76..0c4d13a38 100644 --- a/mimetypes/image/CMakeLists.txt +++ b/mimetypes/image/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE jpeg.desktop jpg.desktop tiff.desktop x-xpm.desktop x-xbm.desktop svg+xml.desktop svg-xml.desktop png.desktop gif.desktop fax-g3.desktop cgm.desktop x-bmp.desktop x-photo-cd.desktop x-eps.desktop x-ico.desktop @@ -22,12 +23,8 @@ foreach( _mimetype x-xcursor.desktop pjpeg.desktop x-exr.desktop x-rgb.desktop x-dds.desktop x-djvu.desktop x-djvu-2.desktop x-hdr.desktop fits.desktop x-raw.desktop + DESTINATION ${MIME_INSTALL_DIR}/image + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/image - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/image RENAME wmf.desktop ) |