summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-14 22:17:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-14 22:33:32 +0100
commit5b1345fe094cf91d91dd91b6e83068103e6b9447 (patch)
tree885b6719931e774c9a8db2a9ca4a975e5614207c /kde-frameworks/karchive
parentkde-frameworks/kapidox: 5.91.0 version bump (diff)
downloadgentoo-5b1345fe094cf91d91dd91b6e83068103e6b9447.tar.gz
gentoo-5b1345fe094cf91d91dd91b6e83068103e6b9447.tar.bz2
gentoo-5b1345fe094cf91d91dd91b6e83068103e6b9447.zip
kde-frameworks/karchive: 5.91.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.91.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest
index adba8f96d18f..a3f3cde79ba8 100644
--- a/kde-frameworks/karchive/Manifest
+++ b/kde-frameworks/karchive/Manifest
@@ -1 +1,2 @@
DIST karchive-5.90.0.tar.xz 986272 BLAKE2B 67160d154b4028896c1d8411988b562c28fb2b7feb2950d2e590d808ce5ebfc0833a8e2854319ce67ccc5eaf75cb9b6b5b507da9ef26be4730d22b1807f5e2e5 SHA512 d1b0d6f46b0ac73ec55e8ab8594546037b111911ba5d4ae089da9cd8259bcece0d3c1e1ea16d485e05c021f3ff135514c3d49177c1a5313fb1b5dee4aae0d839
+DIST karchive-5.91.0.tar.xz 986296 BLAKE2B 1e1f070364360f544ad1cb2886dc1a446063fc8453de62d2c84e21f9f09e4859a2b10d2fa1086ad000cef84aa579340f3aad75b96c67392668bb15617e2d0783 SHA512 e2b8d201a1b7d9f694746cfd0db91124dfc7e6df51db4a952001c46d52d5dd31bd80c02040b9545ab6b442694bb0ab5bffbff0f6fd9a78f642a32535b7d100ff
diff --git a/kde-frameworks/karchive/karchive-5.91.0.ebuild b/kde-frameworks/karchive/karchive-5.91.0.ebuild
new file mode 100644
index 000000000000..15034e1438ea
--- /dev/null
+++ b/kde-frameworks/karchive/karchive-5.91.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
+}