diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-13 08:16:09 +0000 |
commit | 4a74938e510c0dad732ae4c48f815dd0f0cabb46 (patch) | |
tree | e8c52cd3619bba6cf0a5c367f6c9d2cff0ac9d80 /kde-frameworks/karchive/karchive-5.103.0.ebuild | |
parent | ebc282ef4dfa408accac685565b8ee5f6faec119 (diff) |
gentoo auto-resync : 13:02:2023 - 08:16:09
Diffstat (limited to 'kde-frameworks/karchive/karchive-5.103.0.ebuild')
-rw-r--r-- | kde-frameworks/karchive/karchive-5.103.0.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/karchive-5.103.0.ebuild b/kde-frameworks/karchive/karchive-5.103.0.ebuild new file mode 100644 index 000000000000..8393f17fcb6d --- /dev/null +++ b/kde-frameworks/karchive/karchive-5.103.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +QTMIN=5.15.5 +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 +} |