From 9323524b4d44f4ec3dc923bd8e9ea04bdde8a067 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Apr 2024 00:30:33 +0100 Subject: gentoo auto-resync : 06:04:2024 - 00:30:33 --- app-arch/libdeflate/Manifest | 2 + app-arch/libdeflate/libdeflate-1.20.ebuild | 59 ++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 app-arch/libdeflate/libdeflate-1.20.ebuild (limited to 'app-arch/libdeflate') diff --git a/app-arch/libdeflate/Manifest b/app-arch/libdeflate/Manifest index aec90264bff1..03c56b2338d5 100644 --- a/app-arch/libdeflate/Manifest +++ b/app-arch/libdeflate/Manifest @@ -1,5 +1,7 @@ AUX libdeflate-1.19-make-gzip-tests-conditional.patch 1376 BLAKE2B 9480aed1f1a316899e844f99af988560cd5f07ff98336dbaef63a350ab9a7a76c75c4bf6d8e3709c0e99719dfcd0d3216976a9daab89e2c1277b4a20f036d074 SHA512 469698465c70804b356e628290cc50def2f6281262521b53794f5682c738f9245ec47a36877ebb506e0d070f21fd781478039c32a764d35ffd860ec98b34a30b DIST libdeflate-1.19.tar.gz 187684 BLAKE2B 6d3c58b4095f91f64c25e09a062f1d7e68cd43b4dffc2de6484cd941ede4bffd8a82dd3af08eda6c94ad4120d40809c1d6a1814c28bad5387dfbaad418b93070 SHA512 fe57542a0d28ad61d70bef9b544bb6805f9f30930b16432712b3b1caab041f1f4e64315a4306a0635b96c2632239c5af0e45a3915581d0b89975729fc2e95613 +DIST libdeflate-1.20.tar.gz 194212 BLAKE2B b3633f1068f36bf346e1f435c67259612ad5ed1571e83f1bbc4a58c6a67b3eadca85e0abb2d2d47f180dd2ff01c5891c8b3958a63ddbcc2447106f2e5cb3c0fe SHA512 5ebe6af9ce81872cba508d1f0aa087ddeb0e0f0c8e6360da66b8a9db2a76203dafbf3d3f6b3b791618ea9c6d0231fab5b4a55badb31a4480fb4174b9445c658b EBUILD libdeflate-1.19.ebuild 1337 BLAKE2B dffc993ff440acecb33de090f66c77ff0d1a29b84de7b0f0cb0b9be23ab5aad3486cad63515a1983441f18b9eefd22222dce26a12bacc4669ca24acc9a20ab9d SHA512 343d9e57987c1f60950d19130316346f1a43221ebf7846ff45377963b82825dc201543a69b73ca26fc7d859889ef21036b5f993c431209d11bc4909e3f13653e +EBUILD libdeflate-1.20.ebuild 1337 BLAKE2B dffc993ff440acecb33de090f66c77ff0d1a29b84de7b0f0cb0b9be23ab5aad3486cad63515a1983441f18b9eefd22222dce26a12bacc4669ca24acc9a20ab9d SHA512 343d9e57987c1f60950d19130316346f1a43221ebf7846ff45377963b82825dc201543a69b73ca26fc7d859889ef21036b5f993c431209d11bc4909e3f13653e EBUILD libdeflate-9999.ebuild 1273 BLAKE2B 4a82b568a26c03fa89ea725550df63782cb8dd22eb880a13e8ff0ded781c1d9e15be4185191d9c6116d29b008196bde790c47f1ec9a1dc3b809ff101b40b4928 SHA512 8c8bda36b893b8ddedabca0dbf7e5aaa9a3a39aa6163ccc61dcc9355e9110b514c5ea64df36ea5e94573f57e0977d4f1a8588444a6c3ca540dbf341d9ed7d5f0 MISC metadata.xml 778 BLAKE2B 91c91f6056ae4d819e47afbf0827a78d03e0d6c9508f7be719f04e1d2b26e62953ee5cf616cfb5f64ecb200a8c308df1bd0f19b020666f3516562311ea028bb6 SHA512 ed0195a5aa10b6ec10852e6b08b2740f513d333a1c458ec051dc30862844f659335c2d7cbe180fee31c24d68660ee4f2fcd182ff7a564f7bc06d48d4e4eb22f5 diff --git a/app-arch/libdeflate/libdeflate-1.20.ebuild b/app-arch/libdeflate/libdeflate-1.20.ebuild new file mode 100644 index 000000000000..19e1b432a064 --- /dev/null +++ b/app-arch/libdeflate/libdeflate-1.20.ebuild @@ -0,0 +1,59 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Heavily optimized DEFLATE/zlib/gzip (de)compression" +HOMEPAGE="https://github.com/ebiggers/libdeflate" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git" +else + SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +# the zlib USE-flag enables support for zlib +# the test USE-flag programs depend on sys-libs/zlib for comparison tests +IUSE="+gzip +utils +zlib test" + +RESTRICT=" + !test? ( test ) +" + +REQUIRED_USE=" + utils? ( gzip ) +" + +DEPEND=" + test? ( sys-libs/zlib ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.19-make-gzip-tests-conditional.patch" +) + +src_configure() { + local mycmakeargs=( + -DLIBDEFLATE_BUILD_SHARED_LIB="yes" + -DLIBDEFLATE_BUILD_STATIC_LIB="no" + -DLIBDEFLATE_USE_SHARED_LIB="yes" + + -DLIBDEFLATE_COMPRESSION_SUPPORT="yes" + -DLIBDEFLATE_DECOMPRESSION_SUPPORT="yes" + + -DLIBDEFLATE_BUILD_GZIP="$(usex gzip "$(usex utils)" )" + -DLIBDEFLATE_GZIP_SUPPORT="$(usex gzip)" + + -DLIBDEFLATE_ZLIB_SUPPORT="$(usex zlib)" + + -DLIBDEFLATE_BUILD_TESTS="$(usex test)" + ) + + cmake_src_configure +} -- cgit v1.2.3