diff options
author | Slávek Banko <[email protected]> | 2024-05-27 10:50:08 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-05-27 11:23:54 +0200 |
commit | 0e7cc4a531b5a429b6c7c82f8085eebf3738e0bb (patch) | |
tree | e14e4f555e8034647957c150e791d356b3ecc1e3 /kimgio/CMakeLists.txt | |
parent | 95dfecf29575660a2c652b8e3e7055e199ca635a (diff) | |
download | tdelibs-0e7cc4a531b5a429b6c7c82f8085eebf3738e0bb.tar.gz tdelibs-0e7cc4a531b5a429b6c7c82f8085eebf3738e0bb.zip |
kimgio: Add kimgio desktop files to the translation.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kimgio/CMakeLists.txt')
-rw-r--r-- | kimgio/CMakeLists.txt | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/kimgio/CMakeLists.txt b/kimgio/CMakeLists.txt index 325f136f1..cd013e588 100644 --- a/kimgio/CMakeLists.txt +++ b/kimgio/CMakeLists.txt @@ -54,7 +54,11 @@ if( TIFF_FOUND ) LINK tdecore-shared ${TIFF_LIBRARIES} DESTINATION ${PLUGIN_INSTALL_DIR} ) - install( FILES tiff.kimgio DESTINATION ${SERVICES_INSTALL_DIR} ) + tde_create_translated_desktop( + SOURCE tiff.kimgio + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR mimetypes + ) endif( TIFF_FOUND ) @@ -78,7 +82,11 @@ if( JASPER_FOUND ) LINK tdecore-shared ${JASPER_LIBRARIES} DESTINATION ${PLUGIN_INSTALL_DIR} ) - install( FILES jp2.kimgio DESTINATION ${SERVICES_INSTALL_DIR} ) + tde_create_translated_desktop( + SOURCE jp2.kimgio + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR mimetypes + ) endif( JASPER_FOUND ) @@ -144,7 +152,11 @@ if( OPENEXR_FOUND ) # FIXME COMPILE_FLAGS must be written a little better string(REGEX REPLACE ";" " -I" OPENEXR_INCLUDE_FLAGS "-I${OPENEXR_INCLUDE_DIRS}") set_target_properties( ${target}-module PROPERTIES COMPILE_FLAGS "${OPENEXR_INCLUDE_FLAGS}" ) - install( FILES exr.kimgio DESTINATION ${SERVICES_INSTALL_DIR} ) + tde_create_translated_desktop( + SOURCE exr.kimgio + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR mimetypes + ) endif( OPENEXR_FOUND ) @@ -176,15 +188,22 @@ if( HAVE_WEBP ) LINK tdecore-shared ${WEBP_LIBRARIES} DESTINATION ${PLUGIN_INSTALL_DIR} ) - install( FILES webp.kimgio DESTINATION ${SERVICES_INSTALL_DIR} ) + tde_create_translated_desktop( + SOURCE webp.kimgio + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR mimetypes + ) endif( HAVE_WEBP ) ##### other data ################################ -install( FILES +tde_create_translated_desktop( + SOURCE png.kimgio xpm.kimgio bmp.kimgio pbm.kimgio pgm.kimgio ppm.kimgio xbm.kimgio jpeg.kimgio xv.kimgio eps.kimgio ico.kimgio gif.kimgio pcx.kimgio tga.kimgio rgb.kimgio xcf.kimgio dds.kimgio mng.kimgio psd.kimgio hdr.kimgio - DESTINATION ${SERVICES_INSTALL_DIR} ) + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR mimetypes +) |