-if (LibArchive_FOUND)
+if(LibArchive_FOUND)
add_subdirectory( libarchive )
-endif (LibArchive_FOUND)
+endif()
add_subdirectory( clirarplugin )
add_subdirectory( libsinglefileplugin )
########### next target ###############
-set(SUPPORTED_KARCHIVE_MIMETYPES "application/zip;application/x-zip-compressed;application/x-tar;application/x-compressed-tar;application/x-bzip-compressed-tar;")
+set(SUPPORTED_KARCHIVE_MIMETYPES "application/zip;application/x-bzip;application/x-gzip;application/x-zip-compressed;application/x-tar;application/x-compressed-tar;application/x-bzip-compressed-tar;application/x-gzip-compressed-tar;")
set(kerfuffle_karchive_SRCS karchiveplugin.cpp)
target_link_libraries(kerfuffle_karchive ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} kerfuffle )
configure_file(
- ${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_karchive.desktop.cmake
- ${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_karchive.desktop
+ ${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_karchive.desktop.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_karchive.desktop
)
########### install files ###############
########### next target ###############
set(SUPPORTED_LIBARCHIVE_READONLY_MIMETYPES "application/x-deb;application/x-cd-image;application/x-bcpio;application/x-cpio;application/x-cpio-compressed;application/x-sv4cpio;application/x-sv4crc;application/x-rpm;application/x-source-rpm;application/vnd.ms-cab-compressed;application/x-servicepack;")
-set(SUPPORTED_LIBARCHIVE_READWRITE_MIMETYPES "application/x-tar;application/x-compressed-tar;application/x-bzip-compressed-tar;application/x-tarz;application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/x-java-archive;application/zip;application/x-7z-compressed;")
+set(SUPPORTED_LIBARCHIVE_READWRITE_MIMETYPES "application/x-tar;application/x-compressed-tar;application/x-bzip;application/x-gzip;application/x-bzip-compressed-tar;application/x-gzip-compressed-tar;application/x-tarz;application/x-xz-compressed-tar;application/x-lzma-compressed-tar;application/x-java-archive;application/zip;application/x-7z-compressed;")
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_libarchive_readonly.desktop.cmake