~ubuntu-branches/ubuntu/wily/ark/wily-proposed

« back to all changes in this revision

Viewing changes to plugins/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Jonathan Riddell, Aaron Honeycutt
  • Date: 2015-08-18 08:55:10 UTC
  • mfrom: (1.1.53)
  • Revision ID: package-import@ubuntu.com-20150818085510-5ke1g1qhmyh2bi0k
Tags: 4:15.07.90-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Remove Debian patch use_libarchive_for_zip_files, it causes problems
  LP: #1404239

[ Aaron Honeycutt ]
* Ported to KF5

[ Jonathan Riddell ]
* new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
if (LIBARCHIVE_FOUND)
2
 
    if( HAVE_LIBARCHIVE_READ_DISK_API )
3
 
        if( NOT HAVE_LIBARCHIVE_LZMA_SUPPORT OR NOT HAVE_LIBARCHIVE_XZ_SUPPORT )
4
 
            message(STATUS "Your libarchive does not have support for lzma and/or xz archives. libarchive >= 2.7.0 is recommended.")
5
 
        endif( NOT HAVE_LIBARCHIVE_LZMA_SUPPORT OR NOT HAVE_LIBARCHIVE_XZ_SUPPORT )
6
 
        if( NOT HAVE_LIBARCHIVE_RPM_SUPPORT )
7
 
            message(STATUS "Your libarchive does not have support for rpm archives. libarchive >= 2.8.0 is required for this.")
8
 
        endif( NOT HAVE_LIBARCHIVE_RPM_SUPPORT )
9
 
        if( NOT HAVE_LIBARCHIVE_CAB_SUPPORT )
10
 
            message(STATUS "Your libarchive does not have support for cab archives. libarchive >= 3.0.0 is required for this.")
11
 
        endif( NOT HAVE_LIBARCHIVE_CAB_SUPPORT )
12
 
        add_subdirectory( libarchive )
13
 
    else( HAVE_LIBARCHIVE_READ_DISK_API )
14
 
        # Remove the cached variables from FindLibArchive.cmake
15
 
        unset( LIBARCHIVE_FOUND )
16
 
        unset( LIBARCHIVE_INCLUDE_DIR )
17
 
        unset( LIBARCHIVE_LIBRARY )
18
 
        message(STATUS "Your libarchive does not have support for archive_read_disk api. libarchive >= 2.6.0 is needed.")
19
 
    endif( HAVE_LIBARCHIVE_READ_DISK_API )
20
 
endif (LIBARCHIVE_FOUND)
21
 
 
 
1
add_subdirectory( libarchive )
22
2
add_subdirectory( clirarplugin )
23
3
add_subdirectory( cli7zplugin )
24
4
add_subdirectory( clizipplugin )
25
5
add_subdirectory( libsinglefileplugin )
 
6
#add_subdirectory( karchiveplugin )
26
7
add_subdirectory( clilhaplugin )
27
8
 
28
9
set(SUPPORTED_ARK_MIMETYPES "${SUPPORTED_ARK_MIMETYPES}" PARENT_SCOPE)