diff options
Diffstat (limited to 'mimetypes')
-rw-r--r-- | mimetypes/CMakeLists.txt | 12 | ||||
-rw-r--r-- | mimetypes/application/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/audio/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/image/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/inode/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/message/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/model/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/multipart/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/text/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/uri/CMakeLists.txt | 11 | ||||
-rw-r--r-- | mimetypes/video/CMakeLists.txt | 11 |
11 files changed, 45 insertions, 77 deletions
diff --git a/mimetypes/CMakeLists.txt b/mimetypes/CMakeLists.txt index da5ad54c3..1bbbbee10 100644 --- a/mimetypes/CMakeLists.txt +++ b/mimetypes/CMakeLists.txt @@ -22,10 +22,8 @@ add_subdirectory( uri ) ##### other data ################################ -foreach( _mimetype all.desktop allfiles.desktop ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/all - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() +tde_create_translated_desktop( + SOURCE all.desktop allfiles.desktop + DESTINATION ${MIME_INSTALL_DIR}/all + PO_DIR mimetypes +) diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt index b2c226bcc..a602edcb5 100644 --- a/mimetypes/application/CMakeLists.txt +++ b/mimetypes/application/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop x-tex-gf.desktop x-gzip.desktop x-pak.desktop x-object.desktop x-tex-pk.desktop pdf.desktop @@ -103,13 +104,9 @@ foreach( _mimetype vnd.ms-powerpoint.template.macroEnabled.12.desktop vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop + DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/application - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-applix.desktop ) install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-oowriter.desktop ) diff --git a/mimetypes/audio/CMakeLists.txt b/mimetypes/audio/CMakeLists.txt index 5a588d90b..55719803a 100644 --- a/mimetypes/audio/CMakeLists.txt +++ b/mimetypes/audio/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-wav.desktop x-mod.desktop x-midi.desktop x-mp3.desktop x-mp2.desktop mp4.desktop mpeg.desktop basic.desktop x-adpcm.desktop x-aiff.desktop @@ -21,10 +22,6 @@ foreach( _mimetype x-flac.desktop x-oggflac.desktop x-speex.desktop x-matroska.desktop x-musepack.desktop ac3.desktop aac.desktop x-ms-wma.desktop prs.sid.desktop + DESTINATION ${MIME_INSTALL_DIR}/audio + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/audio - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() 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 ) diff --git a/mimetypes/inode/CMakeLists.txt b/mimetypes/inode/CMakeLists.txt index 3c19fac8b..463c87b69 100644 --- a/mimetypes/inode/CMakeLists.txt +++ b/mimetypes/inode/CMakeLists.txt @@ -11,13 +11,10 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE block.desktop chardevice.desktop directory-locked.desktop directory.desktop fifo.desktop socket.desktop + DESTINATION ${MIME_INSTALL_DIR}/inode + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/inode - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/message/CMakeLists.txt b/mimetypes/message/CMakeLists.txt index 875a939e2..9eb7bb99a 100644 --- a/mimetypes/message/CMakeLists.txt +++ b/mimetypes/message/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE rfc822.desktop news.desktop + DESTINATION ${MIME_INSTALL_DIR}/message + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/message - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/model/CMakeLists.txt b/mimetypes/model/CMakeLists.txt index 49c21f98b..4aa0d53ed 100644 --- a/mimetypes/model/CMakeLists.txt +++ b/mimetypes/model/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE vrml.desktop + DESTINATION ${MIME_INSTALL_DIR}/model + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/model - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/multipart/CMakeLists.txt b/mimetypes/multipart/CMakeLists.txt index 186c13b68..d531590b7 100644 --- a/mimetypes/multipart/CMakeLists.txt +++ b/mimetypes/multipart/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mixed.desktop x-mixed-replace.desktop + DESTINATION ${MIME_INSTALL_DIR}/multipart + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/multipart - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/text/CMakeLists.txt b/mimetypes/text/CMakeLists.txt index d76b114eb..918024dce 100644 --- a/mimetypes/text/CMakeLists.txt +++ b/mimetypes/text/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-c++src.desktop x-c++hdr.desktop x-csrc.desktop x-java.desktop x-makefile.desktop x-moc.desktop x-pascal.desktop x-objchdr.desktop x-tcl.desktop x-tex.desktop html.desktop plain.desktop enriched.desktop x-chdr.desktop @@ -20,12 +21,8 @@ foreach( _mimetype x-bibtex.desktop rdf.desktop rss.desktop calendar.desktop x-adasrc.desktop x-perl.desktop x-csv.desktop x-latex.desktop x-xslfo.desktop x-xslt.desktop vnd.wap.wml.desktop x-katefilelist.desktop docbook.desktop x-mswinurl.desktop x-hex.desktop vnd.abc.desktop javascript.desktop x-python.desktop + DESTINATION ${MIME_INSTALL_DIR}/text + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/text - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop ) diff --git a/mimetypes/uri/CMakeLists.txt b/mimetypes/uri/CMakeLists.txt index c67c92223..51b5d38d0 100644 --- a/mimetypes/uri/CMakeLists.txt +++ b/mimetypes/uri/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mms.desktop mmst.desktop mmsu.desktop pnm.desktop rtspt.desktop rtspu.desktop + DESTINATION ${MIME_INSTALL_DIR}/uri + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/uri - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/video/CMakeLists.txt b/mimetypes/video/CMakeLists.txt index 949a07a3e..6b64338f0 100644 --- a/mimetypes/video/CMakeLists.txt +++ b/mimetypes/video/CMakeLists.txt @@ -11,15 +11,12 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mpeg.desktop quicktime.desktop x-flic.desktop x-flv.desktop x-msvideo.desktop x-mng.desktop x-ms-asf.desktop x-ms-wmv.desktop x-theora.desktop mp4.desktop x-ogm.desktop x-matroska.desktop vnd.rn-realvideo.desktop avi.desktop + DESTINATION ${MIME_INSTALL_DIR}/video + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/video - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() |