aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-frameworks/karchive/Manifest1
-rw-r--r--kde-frameworks/karchive/karchive-6.4.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest
new file mode 100644
index 0000000000..bc2cb8f70d
--- /dev/null
+++ b/kde-frameworks/karchive/Manifest
@@ -0,0 +1 @@
+DIST karchive-6.4.0.tar.xz 1033500 BLAKE2B 5e48bba0cccdec9d2b3b77feb48f5e39b561614685f86869777917f59b8392d3a6abe465142738896d42ee3b07321ec5d3d92d0d60d2d1e77861789d83be0573 SHA512 c2cc9a10bd9491f589525a6fb930f519d3be01cc871f3332de860bba6f9b1d6de5c011a4b27db30fd216b118589b07d65886aa1ade87f35414d27a558af69674
diff --git a/kde-frameworks/karchive/karchive-6.4.0.ebuild b/kde-frameworks/karchive/karchive-6.4.0.ebuild
new file mode 100644
index 0000000000..b5cedec905
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-6.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QTMIN=6.6.2
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for reading, creation, and manipulation of various archive formats"
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="+zstd"
+
+DEPEND="
+ app-arch/bzip2
+ app-arch/xz-utils
+ sys-libs/zlib
+ zstd? ( app-arch/zstd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=dev-qt/qttools-${QTMIN}:6[linguist]
+ 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
+}