diff options
Diffstat (limited to 'kde-apps/ark')
-rw-r--r-- | kde-apps/ark/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/ark/ark-23.04.0.ebuild | 81 |
2 files changed, 83 insertions, 0 deletions
diff --git a/kde-apps/ark/Manifest b/kde-apps/ark/Manifest index 8680e297b90c..0c9df6cb323a 100644 --- a/kde-apps/ark/Manifest +++ b/kde-apps/ark/Manifest @@ -1,3 +1,5 @@ DIST ark-22.12.3.tar.xz 2874976 BLAKE2B dbb3492717dc3ee5b249a97f5bad1e0319fcd8a2a47256f5589d6a81709bf0d94bd98d7f1a9a4ce2fc1fc43fb749af74e0e35a2914f08d1235c17d51af7b400b SHA512 7f723d9d7f58987f930809b01a7e812169933ac511069e8e181c17648f8b0654a16c8708eb432d0cce15d4d2c1796d0024cb5e21bc643fecacfe33a0055bf37f +DIST ark-23.04.0.tar.xz 3010692 BLAKE2B cb35512628a1fa6640e060f0112a73f0d06b3af3695ff4e789e7db39a1101fc0f392f1938b04047387b909539b4dcc5b7cab910e6a0f090e17abe7baed7980f9 SHA512 edf1053d9243f64c108fe07b6bd76a6222c7cb76d2100ce21bb10fa628840c3f4616d607bb89e64ea44b37b47f689818df6486576284de846d664cf3df863686 EBUILD ark-22.12.3.ebuild 2076 BLAKE2B fcf3cc706656b56bc048ae680ea6e192e01f5d9dca1b2d7ea899ede1d3f8062bcfd3afa36ef6b64fe7acde185da52c86cea7ea0c43fc31a97ec95cb0ff65c878 SHA512 3d72bfb7928d4cb03371016dec513eeef5e31a6e61004246e17f1bd9c067e9d17f73078f26cb960c19f68949d0ecf0f038b33782dc799866204f62ef60348d7e +EBUILD ark-23.04.0.ebuild 2120 BLAKE2B da799d103d8faaf08286e947d9a0019de556e7839730b215a594c017e374d07d305e885700bcf281a0757868d0390fbb935a84e8c77a5ca292b3bd5c27782c99 SHA512 f6fe0590f67b1e6b2a2118990e13fcf181dbbf6c8f1371f4058cf9b86b57bc81a1f7a9bfcc5cb6ae991abfade47d4fd9dde9f329b9a06168ce949d8e493425ca MISC metadata.xml 468 BLAKE2B f4b2d609976bfc8a7bb4004286273c2384c7a5f9c45d6de44936d9f21dd4428d968c54cfb4d8cfe81e56bb935ed36c481b4c79a0e0a0b946b7e8ce78f794a123 SHA512 415c92c65d6d56b801c71db9153684635c8eeb0d571f1782127d8e7ab06a2b360cc016bc8ac110b7b9fcb53c587a177a5a7f69198b65fd152767a107aac1cd89 diff --git a/kde-apps/ark/ark-23.04.0.ebuild b/kde-apps/ark/ark-23.04.0.ebuild new file mode 100644 index 000000000000..9d243a4df836 --- /dev/null +++ b/kde-apps/ark/ark-23.04.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="optional" +KFMIN=5.104.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/" + +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/kiconthemes-${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 +} |