1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 KDE_HANDBOOK="forceoptional"
8 VIRTUALX_REQUIRED="test"
11 DESCRIPTION="KDE Archiving tool"
12 HOMEPAGE="https://www.kde.org/applications/utilities/ark
13 https://utils.kde.org/projects/ark/"
14 KEYWORDS="amd64 ~arm64 x86"
21 $(add_frameworks_dep karchive)
22 $(add_frameworks_dep kcompletion)
23 $(add_frameworks_dep kconfig)
24 $(add_frameworks_dep kconfigwidgets)
25 $(add_frameworks_dep kcoreaddons)
26 $(add_frameworks_dep kcrash)
27 $(add_frameworks_dep kdbusaddons)
28 $(add_frameworks_dep ki18n)
29 $(add_frameworks_dep kiconthemes)
30 $(add_frameworks_dep kio)
31 $(add_frameworks_dep kitemmodels)
32 $(add_frameworks_dep kjobwidgets)
33 $(add_frameworks_dep kparts)
34 $(add_frameworks_dep kpty)
35 $(add_frameworks_dep kservice)
36 $(add_frameworks_dep kwidgetsaddons)
37 $(add_frameworks_dep kxmlgui)
40 $(add_qt_dep qtwidgets)
41 app-arch/libarchive:=[bzip2?,lzma?,zlib]
43 zip? ( >=dev-libs/libzip-1.2.0:= )
46 $(add_qt_dep qtconcurrent)
49 # bug #560548, last checked with 16.04.1
54 $(cmake-utils_use_find_package bzip2 BZip2)
55 $(cmake-utils_use_find_package lzma LibLZMA)
56 $(cmake-utils_use_find_package zip LibZip)
65 if [[ -z "${REPLACING_VERSIONS}" ]]; then
66 if ! has_version app-arch/rar; then
67 elog "For creating/extracting rar archives, installing app-arch/rar is required."
68 if ! has_version app-arch/unar && ! has_version app-arch/unrar; then
69 elog "Alternatively, for only extracting rar archives, install app-arch/unar (free) or app-arch/unrar (non-free)."
73 has_version app-arch/p7zip || \
74 elog "For handling 7-Zip archives, install app-arch/p7zip."
76 has_version app-arch/lrzip || \
77 elog "For handling lrz archives, install app-arch/lrzip."