diff options
-rw-r--r-- | kde-frameworks/karchive/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/karchive/karchive-5.82.0.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/kde-frameworks/karchive/Manifest b/kde-frameworks/karchive/Manifest index 2462cc3d3943..4dcc73e7a743 100644 --- a/kde-frameworks/karchive/Manifest +++ b/kde-frameworks/karchive/Manifest @@ -1,2 +1,3 @@ DIST karchive-5.80.0.tar.xz 983724 BLAKE2B f4b6a61e3e910ca5f7978c355ca1827d5c27ebe7223cdd3563d19c7f07d8887530bb36040f0c9883a3961a2989a71497364c6c9225db0e00bd289e0fbd21ee6a SHA512 84a679a9515b2df989d4331307eb52a236d6e33ecc029e0c76732abcd709d7d4d026bde77b2b22a624b7e5fbd54d202574b858e37a3f7fbb0605830f812a61b8 DIST karchive-5.81.0.tar.xz 983732 BLAKE2B ecf19ffc90130638aa8d4d305be02b2ea63b61b0ee55637cfa2ec6086e92baa54bc7f7abffa3e9f98280c17db0052c86e92ea21eb322ebf468c2cccef03a6930 SHA512 08fff63e08c7312f0fe49c2823ba7d5ab6944b196a7bb7ae871ceb4d4307fc327a89e51429cf895a95ac46a2c79e03a2f123b52cf84e2abb8fad507ed91a7483 +DIST karchive-5.82.0.tar.xz 984872 BLAKE2B 1a8e6b758479a4ff5f1be774b6deede551d9a306bf8a3fef845ff6a1532fc84d36aa9697f6de7455746410f233c70072ec49d729e20eae2baab529cc1d3ea9af SHA512 7b735b3f1c325bf8dc9044fc9644fdaa3442baeae16831ea79cf84f7da0d5cb7757e2201d8cb73f18a831c49f079b87c75c8387a53c236386e4da47437884183 diff --git a/kde-frameworks/karchive/karchive-5.82.0.ebuild b/kde-frameworks/karchive/karchive-5.82.0.ebuild new file mode 100644 index 000000000000..77a707c97948 --- /dev/null +++ b/kde-frameworks/karchive/karchive-5.82.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} |