summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-13 19:42:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-14 10:29:06 +0200
commit81661983156da1774124ef8ecb97eec76b3875fa (patch)
tree64d4f3fedf952378631ffe54e41755694eede90e /kde-frameworks/karchive
parentkde-frameworks/kapidox: 5.97.0 version bump (diff)
downloadgentoo-81661983156da1774124ef8ecb97eec76b3875fa.tar.gz
gentoo-81661983156da1774124ef8ecb97eec76b3875fa.tar.bz2
gentoo-81661983156da1774124ef8ecb97eec76b3875fa.zip
kde-frameworks/karchive: 5.97.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/karchive')
-rw-r--r--kde-frameworks/karchive/Manifest1
-rw-r--r--kde-frameworks/karchive/karchive-5.97.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest
index d6972cd70e33..0dbda2a771fb 100644
--- a/kde-frameworks/karchive/Manifest
+++ b/kde-frameworks/karchive/Manifest
@@ -1 +1,2 @@
DIST karchive-5.96.0.tar.xz 986668 BLAKE2B 6b32a69bcd98115b128e00763130790139cfbdc2e09af5560001e4f9a7404915d53e3d71c76043ae1ddbcf16996da22e4e433a8579aca4101a9ebb598128604e SHA512 9629cf22ed761f37a7abe60129ed36c1665ba8b8ff6497ca214e4b88a84b324def9acf48d680300250ddc25e246d013d2bdc7b2452b2718eb0584fb55d2142ca
+DIST karchive-5.97.0.tar.xz 986584 BLAKE2B 888cc2d83fe57b784c366afaf727ae75dec2071b03dcf1d3d91b8ab3170f75b77c62681ae8f12f2594cc6b1d082e6ead05f2fcbbd58496e7fa8512eefc116360 SHA512 0d19ecbe8baf3c07de02c78b6b6a06650c86073b264676b658553f84aeb258941ef927fa7297786a0b777d9e5db7c9613776b3ade48896e8324878791ecfbe13
diff --git a/kde-frameworks/karchive/karchive-5.97.0.ebuild b/kde-frameworks/karchive/karchive-5.97.0.ebuild
new file mode 100644
index 000000000000..f1a14d479b54
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-5.97.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 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="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
+}