diff --git a/README.packagers b/README.packagers --- a/README.packagers +++ b/README.packagers @@ -14,6 +14,7 @@ * rar: to create and edit rar archives * lsar, unar: to open and extract rar archives [RECOMMENDED, free] * lrzip: to open and extract lrzip archives +* lzop: to open and extract tar.lzo archives if libarchive >= 3.3 has been compiled without liblzo2 support. OPTIONAL BUILD-TIME DEPENDENCIES diff --git a/plugins/libarchive/CMakeLists.txt b/plugins/libarchive/CMakeLists.txt --- a/plugins/libarchive/CMakeLists.txt +++ b/plugins/libarchive/CMakeLists.txt @@ -75,3 +75,10 @@ else() message(WARNING "Could not find the lrzip executable. Ark requires lrzip to handle the tar.lrz archive format.") endif() + +find_program(LZOP lzop) +if(LZOP) + message(STATUS "Found lzop executable: ${LZOP}") +else() + message(WARNING "Could not find the lzop executable. Ark requires lzop to handle the tar.lzo archive format if libarchive >= 3.3 has been compiled without liblzo2 support.") +endif()