summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-18 15:30:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-20 13:30:28 +0200
commit9b2e06361f8d5e0a2984b39aab6fe92b7b23bf80 (patch)
tree99c57cf7dd3bad73056d531519a6dea48e75a51a /kde-apps/ark
parentapp-editors/ghostwriter: 24.04.90 version bump (diff)
downloadgentoo-9b2e06361f8d5e0a2984b39aab6fe92b7b23bf80.tar.gz
gentoo-9b2e06361f8d5e0a2984b39aab6fe92b7b23bf80.tar.bz2
gentoo-9b2e06361f8d5e0a2984b39aab6fe92b7b23bf80.zip
kde-apps/ark: 24.04.90 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ark')
-rw-r--r--kde-apps/ark/Manifest1
-rw-r--r--kde-apps/ark/ark-24.04.90.ebuild80
2 files changed, 81 insertions, 0 deletions
diff --git a/kde-apps/ark/Manifest b/kde-apps/ark/Manifest
index 2a4cfdcd141d..850c17e57af7 100644
--- a/kde-apps/ark/Manifest
+++ b/kde-apps/ark/Manifest
@@ -1,2 +1,3 @@
DIST ark-23.08.5.tar.xz 3018696 BLAKE2B 482a17aa9bf72abbaa75510451ba0dd59812d2cd2aca97efda0f4f1c78f98060d9f654efd0387aeae35d5220304f00139520a6836451056b84064cc8d8b12d16 SHA512 8fab4281f5cfe34938f7a958e2889ad4dabff6613b1e3a8fed1efb2039dbf35a71d99494869037fd821515ecfba6e44304bb0907c27afd646fe7496783735336
DIST ark-24.02.2.tar.xz 3017236 BLAKE2B 48dc1219b3124a241852825379f76cb986816d9041a6f0b60402364e5f96bf94f15a9ff438ac1c848d44e391c740ad485f8d8bd6ca24d46d218cb0ab1e37a167 SHA512 419769f9bd3644670c7cb4d53bc9c683c92fb92e2dae117953791e0074093814d455676aa25237fa2209453c730156c40b7082ad3683e69c7dd619d222c9469b
+DIST ark-24.04.90.tar.xz 3002372 BLAKE2B 1f801fe26d2c419e408d3a557fb387a9dd996da002a9becac2ae42d7bc78875db3aa1c755986251d84ea4f663e26e004a39211b683423d056525e0e2907d6afd SHA512 eee867a738b26dd4fd9b3c530f6eb8825107db7181a77858bdc81dfd95a925b24be40469d313ee1a684b3a54edfcf45614e9a60fee7e1d314f752f367288540e
diff --git a/kde-apps/ark/ark-24.04.90.ebuild b/kde-apps/ark/ark-24.04.90.ebuild
new file mode 100644
index 000000000000..3234a3ea24e7
--- /dev/null
+++ b/kde-apps/ark/ark-24.04.90.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+KFMIN=6.0.0
+QTMIN=6.6.2
+inherit ecm gear.kde.org optfeature
+
+DESCRIPTION="File archiver by KDE"
+HOMEPAGE="https://apps.kde.org/ark/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64"
+IUSE="zip"
+
+RDEPEND="
+ >=app-arch/libarchive-3.5.3:=[bzip2,lzma]
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
+ >=kde-frameworks/kcompletion-${KFMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/kdbusaddons-${KFMIN}:6
+ >=kde-frameworks/kfilemetadata-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kjobwidgets-${KFMIN}:6
+ >=kde-frameworks/kparts-${KFMIN}:6
+ >=kde-frameworks/kpty-${KFMIN}:6
+ >=kde-frameworks/kservice-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ sys-libs/zlib
+ zip? ( >=dev-libs/libzip-1.6.0:= )
+"
+DEPEND="${RDEPEND}
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[concurrent]
+ 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: kerfuffle-addtoarchivetest: may segfault or hang indefinitely
+ # bug 827840: plugins-clirartest: continuously broken with translations installed
+ -E "(kerfuffle-addtoarchivetest|plugins-clirartest)"
+ )
+
+ 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
+}