summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/karchive/Manifest1
-rw-r--r--kde-frameworks/karchive/karchive-5.93.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest
index 2b5c5e08c0af..ea94332342a7 100644
--- a/kde-frameworks/karchive/Manifest
+++ b/kde-frameworks/karchive/Manifest
@@ -1,2 +1,3 @@
DIST karchive-5.90.0.tar.xz 986272 BLAKE2B 67160d154b4028896c1d8411988b562c28fb2b7feb2950d2e590d808ce5ebfc0833a8e2854319ce67ccc5eaf75cb9b6b5b507da9ef26be4730d22b1807f5e2e5 SHA512 d1b0d6f46b0ac73ec55e8ab8594546037b111911ba5d4ae089da9cd8259bcece0d3c1e1ea16d485e05c021f3ff135514c3d49177c1a5313fb1b5dee4aae0d839
DIST karchive-5.92.0.tar.xz 986308 BLAKE2B 5b549f6130b79cc76c817cae3fac6024724fdfcb207d5bd586b135351b1b07351884ddc0edb7331f595c40c964ed70ad1ee1892473e56c74d76cb636801221f8 SHA512 c6375c14805470e4d61142a97871d5255769f92e3d3e9716218d3b761c464b4e0443b1126b57ddccc33fe34e5d63c7468fba1d083dca49e2ae1dc38d583db770
+DIST karchive-5.93.0.tar.xz 986312 BLAKE2B c22c20ff4b2ebe038df080580b993dc919c41afa1b57053b18ec74ff6d0d46210dd1aaa6b69ea66824e75126b34993221eae260b82abe4cd2cc94204fdb222cd SHA512 16f2fcbba6d25ef3dafe28ff16f6ef8594a265c07fbbdf27c7899107fbf577e5776b04c725d3681f22e2974a8036bd5c3ae829c2601392f3ff525874793403bf
diff --git a/kde-frameworks/karchive/karchive-5.93.0.ebuild b/kde-frameworks/karchive/karchive-5.93.0.ebuild
new file mode 100644
index 000000000000..15034e1438ea
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-5.93.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit ecm kde.org
+
+DESCRIPTION="Framework for reading, creation, and manipulation of various archive formats"
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+zstd"
+
+DEPEND="
+ app-arch/bzip2
+ app-arch/xz-utils
+ sys-libs/zlib
+ zstd? ( app-arch/zstd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="zstd? ( virtual/pkgconfig )"
+
+src_prepare() {
+ ecm_src_prepare
+
+ # TODO: try to get a build switch upstreamed
+ if ! use zstd; then
+ sed -e "s/^pkg_check_modules.*LibZstd/#&/" -i CMakeLists.txt || die
+ fi
+}