diff options
Diffstat (limited to 'kde-apps/ark')
-rw-r--r-- | kde-apps/ark/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ark/ark-16.04.2.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-apps/ark/Manifest b/kde-apps/ark/Manifest index d93f888d5f6c..c8d30194be47 100644 --- a/kde-apps/ark/Manifest +++ b/kde-apps/ark/Manifest @@ -1,3 +1,4 @@ DIST ark-15.12.3.tar.xz 253632 SHA256 eecf4372f7bbd2a88dcc478bd70b6aedc6c7bc522e7413d84be1fd33e125f48e SHA512 968278bb500e8b39bbcd4b55e09f95358c680eb20200d6e58e9f0948ef46d36637e66da6939f5c417d3f7b162d04f1a35b83908cca055cdc4b01237522d2b225 WHIRLPOOL dc20d42c7ae369f75d7ebbc98fbdfd6f7d42d87f0260e0faee59d9503919bddc842e1b86c9b15db8e35e4d176d6483e2d3f7eef33e180919a27dabab43de6dc0 DIST ark-16.04.1.tar.xz 970480 SHA256 c4381d02a622ea1c6a474dc38a34b0a1736a2beb60aacbc3cb88e3cccea09e62 SHA512 00c55bdc508d7204e80046d698256b24f6d1180bdf91f1c7260e48ad39b4a57d607e02da3a1321b1e393037e4b0e8104f00d8c28f6dfe7577c3e7775c4ec26a0 WHIRLPOOL c0174e388e912df6773a3a1a76578ec019262d77150fa2358324986daa92ba9f597a7f8efed16cce7fffacbe1be2a6ef574f53e3af0a8d19ec553638ab48976e +DIST ark-16.04.2.tar.xz 976268 SHA256 0fd62e27f3a810cc9609f62ab29982cecf5ab791d1d4558a1aae63562ce4ae0a SHA512 32e5a48f30bcee92e314179ba0a2790bbee36703f5a4d65d7e68c922b7d24394e2c2c5c9a6f766a783399d035b6aba47a284a59fa1ef678f721f0093319149af WHIRLPOOL 723cea7305f82fc882d24399e5a5021788c549e2c2264d2e260541376e410ef4c53c8e58a5276f4a5cea515047fd6e8e3cf26aa3b14fc1a68c33e1bb5f145fd7 DIST ark-4.14.3.tar.xz 236116 SHA256 cb2ef7ea9bbfccf3b16a1242681b33c1e6c17a7458f50f0703e87678a249b8dc SHA512 86cc44d26ac145797b3727f9b6195b6059f7163cf8abcd39313f9ee06fd86770a2e09c15bee9605968ebad07346dc116dd82b22b713db361a90c53c51dd325f7 WHIRLPOOL 7815d6f3f9af78e6a3327c8ab0f58b8bcd6253ffa794b114a8a7665d47758aed2991b59a1cd257b47fb8edea97ccac250c0b0ccac7289e554f08b20864030805 diff --git a/kde-apps/ark/ark-16.04.2.ebuild b/kde-apps/ark/ark-16.04.2.ebuild new file mode 100644 index 000000000000..1f2cfe1db52c --- /dev/null +++ b/kde-apps/ark/ark-16.04.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="optional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="KDE Archiving tool" +HOMEPAGE="https://www.kde.org/applications/utilities/ark +https://utils.kde.org/projects/ark" +KEYWORDS="~amd64 ~x86" +IUSE="bzip2 lzma zlib" + +RDEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpty) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + >=app-arch/libarchive-3.0.0[bzip2?,lzma?,zlib?] +" +DEPEND="${RDEPEND} + sys-devel/gettext +" + +# bug #560548, last checked with 16.04.1 +RESTRICT="test" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package bzip2 BZip2) + $(cmake-utils_use_find_package lzma LibLZMA) + $(cmake-utils_use_find_package zlib ZLIB) + ) + + kde5_src_configure +} + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version app-arch/unar ; then + elog "For handling rar archives, install app-arch/unar" + fi + + if ! has_version app-arch/p7zip ; then + elog "For handling 7-Zip archives, install app-arch/p7zip" + fi +} |