diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 18:04:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 18:04:20 +0100 |
commit | a1e66b29f226eb6b6509b18ffbe5b1134b3dcaa4 (patch) | |
tree | 36e2324007bc1ee88f2e2f929f0a1614478b3df0 /kde-frameworks/karchive/karchive-5.96.0.ebuild | |
parent | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (diff) |
gentoo auto-resync : 09:07:2022 - 18:04:20
Diffstat (limited to 'kde-frameworks/karchive/karchive-5.96.0.ebuild')
-rw-r--r-- | kde-frameworks/karchive/karchive-5.96.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/karchive-5.96.0.ebuild b/kde-frameworks/karchive/karchive-5.96.0.ebuild new file mode 100644 index 000000000000..266a1a4b183f --- /dev/null +++ b/kde-frameworks/karchive/karchive-5.96.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 ~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 +} |