summaryrefslogtreecommitdiff
path: root/kde-frameworks/karchive/karchive-5.115.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-11 23:35:14 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-11 23:35:14 +0000
commita3c403d854118e8ef0e2d661383445eb2d7ec732 (patch)
tree4c0b622f99f30d948fa1dada7cf6be2c0baaa8ac /kde-frameworks/karchive/karchive-5.115.0.ebuild
parent20ba650e8d3869757f6c89b23f8b41500cd64657 (diff)
gentoo auto-resync : 11:02:2024 - 23:35:13
Diffstat (limited to 'kde-frameworks/karchive/karchive-5.115.0.ebuild')
-rw-r--r--kde-frameworks/karchive/karchive-5.115.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/karchive-5.115.0.ebuild b/kde-frameworks/karchive/karchive-5.115.0.ebuild
new file mode 100644
index 000000000000..b46bbd6c2605
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-5.115.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=5.15.9
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Framework for reading, creation, and manipulation of various archive formats"
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+zstd"
+
+DEPEND="
+ app-arch/bzip2
+ app-arch/xz-utils
+ sys-libs/zlib
+ zstd? ( app-arch/zstd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=dev-qt/linguist-tools-${QTMIN}:5
+ 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
+}