diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-09 21:19:12 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-09 21:54:50 +0100 |
commit | e75ca890f6a30e2ec4cef8ecbed5b55cc3e8b61e (patch) | |
tree | 1adb0d27117bd0ff20bcc23fd77fe8ffd5d9d151 /kde-apps/ark | |
parent | app-cdr/dolphin-plugins-mountiso: 22.12.0 version bump (diff) | |
download | gentoo-e75ca890f6a30e2ec4cef8ecbed5b55cc3e8b61e.tar.gz gentoo-e75ca890f6a30e2ec4cef8ecbed5b55cc3e8b61e.tar.bz2 gentoo-e75ca890f6a30e2ec4cef8ecbed5b55cc3e8b61e.zip |
kde-apps/ark: 22.12.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ark')
-rw-r--r-- | kde-apps/ark/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/ark/ark-22.12.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/kde-apps/ark/Manifest b/kde-apps/ark/Manifest index 0d0d9a33edb8..099d80c64799 100644 --- a/kde-apps/ark/Manifest +++ b/kde-apps/ark/Manifest @@ -1 +1,2 @@ DIST ark-22.08.3.tar.xz 2785944 BLAKE2B 371100963748f19c0529bf9e0f17cfcbfa18061742281646b791f7191844de0b8b7df31ecd383961a78e45d5be14352486a8b7b3def02ea5ba43dca6b5c8af89 SHA512 5d25abb7cd70f96e8b77d79d70c093551410f38763e347660277093ec5673c4d9de63d68ebeead3bf12c4ea65fd8549753879777d561edbefe05739c41ffcebd +DIST ark-22.12.0.tar.xz 2871412 BLAKE2B 42bca250e1610351590e9ceb9cbd3d1215973c6ffbc021b4c523d4b1956cadcdf1ff678a3e947baa2b300e881dad9b45a99203c33fab3b5caca6657b15e530b5 SHA512 9430a1ab9fc82eefcd4dec8df02fd141e3506c1a9bcc91fd613e52db35fbebaefbd2977ca6d1106deb93e5254ef72e71b3a1bce2b115136b4bca57cd615ef64d diff --git a/kde-apps/ark/ark-22.12.0.ebuild b/kde-apps/ark/ark-22.12.0.ebuild new file mode 100644 index 000000000000..302fd667f97b --- /dev/null +++ b/kde-apps/ark/ark-22.12.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="optional" +KFMIN=5.99.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +inherit ecm gear.kde.org optfeature + +DESCRIPTION="File archiver by KDE" +HOMEPAGE="https://apps.kde.org/ark/ https://utils.kde.org/projects/ark/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="zip" + +RDEPEND=" + >=app-arch/libarchive-3.5.3:=[bzip2,lzma] + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kpty-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + sys-libs/zlib + zip? ( >=dev-libs/libzip-1.6.0:= ) +" +DEPEND="${RDEPEND} + >=dev-qt/qtconcurrent-${QTMIN}:5 + test? ( >=dev-libs/libzip-1.6.0:= ) +" +# app-arch/rar is binary only +BDEPEND=" + sys-devel/gettext + elibc_glibc? ( test? ( amd64? ( app-arch/rar ) x86? ( app-arch/rar ) ) ) +" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package zip LibZip) + ) + + ecm_src_configure +} + +src_test() { + local myctestargs=( + # bug 822177: may segfault or hang indefinitely + -E "(kerfuffle-addtoarchivetest)" + ) + + ecm_src_test +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "rar archive creation/extraction" "app-arch/rar" + optfeature "rar archive extraction only" "app-arch/unar" "app-arch/unrar" + optfeature "7-Zip archive support" "app-arch/p7zip" + optfeature "lrz archive support" "app-arch/lrzip" + optfeature "Markdown support in text previews" "kde-misc/markdownpart:${SLOT}" + fi + ecm_pkg_postinst +} |