diff options
author | Sam James <sam@gentoo.org> | 2024-03-04 10:18:33 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-04 10:23:42 +0000 |
commit | 2e54d35ae4546536c61abc38e7d8c9876b9361e7 (patch) | |
tree | 0269e3f6fb703a64e3199cc877d3f55c4c103253 | |
parent | app-arch/gzip: drop 1.12-r4 (diff) | |
download | gentoo-2e54d35ae4546536c61abc38e7d8c9876b9361e7.tar.gz gentoo-2e54d35ae4546536c61abc38e7d8c9876b9361e7.tar.bz2 gentoo-2e54d35ae4546536c61abc38e7d8c9876b9361e7.zip |
sys-libs/zlib-ng: drop 2.1.5
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-libs/zlib-ng/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild | 86 |
2 files changed, 0 insertions, 87 deletions
diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest index cb8973e9d0a3..7b64ea0bc919 100644 --- a/sys-libs/zlib-ng/Manifest +++ b/sys-libs/zlib-ng/Manifest @@ -1,2 +1 @@ -DIST zlib-ng-2.1.5.tar.gz 2410601 BLAKE2B 7370ee38c05855e3a5e6976826690790adab7d68d877bf01f68969c99ad4a5fc8fd265a160e147b110969ff77ee97aab9c9d227a526d645a496eae76b2c27b04 SHA512 9212d87c63a2da4e5355a7a1c75380aeba40fbd0ea3d71d3784cb3eac94237f9bea2a1b7993a08f39d4197725c4c133087d3a9d213d3944aa48a7559de2be920 DIST zlib-ng-2.1.6.tar.gz 2412106 BLAKE2B 9ca16c19c2c799e68e099d44721b27dc33ad9e859a3d6572bebe3a75c618bffd78e19f0d4c0607802d1c8fa6a8f328d62f9993648a99c1d2e0e5fdcaf87a2667 SHA512 59ef586c09b9a63788475abfd6dd59ed602316b38f543f801bea802ff8bec8b55a89bee90375b8bbffa3bdebc7d92a00903f4b7c94cdc1a53a36e2e1fd71d13a diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild deleted file mode 100644 index cfef9b1cc843..000000000000 --- a/sys-libs/zlib-ng/zlib-ng-2.1.5.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Worth keeping an eye on 'develop' branch upstream for possible backports, -# as they copied this practice from sys-libs/zlib upstream. - -inherit cmake-multilib - -DESCRIPTION="Fork of the zlib data compression library" -HOMEPAGE="https://github.com/zlib-ng/zlib-ng" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -CPU_USE=( - x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul} - arm_{crc32,neon} - ppc_{altivec,vsx2,vsx3} -) -IUSE="compat ${CPU_USE[@]/#/cpu_flags_} test" - -RESTRICT="!test? ( test )" - -RDEPEND="compat? ( !sys-libs/zlib )" - -multilib_src_configure() { - local mycmakeargs=( - -DZLIB_COMPAT=$(usex compat) - -DZLIB_ENABLE_TESTS=$(usex test) - -DWITH_GTEST=$(usex test) - - # Unaligned access is controversial and undefined behaviour - # Let's keep it off for now - # https://github.com/gentoo/gentoo/pull/17167 - -DWITH_UNALIGNED=OFF - ) - - # The intrinsics options are all defined conditionally, so we need - # to enable them on/off per-arch here for now. - # TODO: There's no s390x USE_EXPAND yet - if use amd64 || use x86 ; then - mycmakeargs+=( - -DWITH_AVX2=$(usex cpu_flags_x86_avx2) - -DWITH_AVX512=$(usex cpu_flags_x86_avx512f) - -DWITH_AVX512VNNI=OFF # TODO, see bug #908556 - -DWITH_SSE2=$(usex cpu_flags_x86_sse2) - -DWITH_SSSE3=$(usex cpu_flags_x86_ssse3) - -DWITH_SSE42=$(usex cpu_flags_x86_sse4_2) - -DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul) - -DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556 - ) - fi - - if use arm || use arm64 ; then - mycmakeargs+=( - -DWITH_ACLE=$(usex cpu_flags_arm_crc32) - -DWITH_NEON=$(usex cpu_flags_arm_neon) - ) - fi - - if use ppc || use ppc64 ; then - # The POWER8 support is VSX which was introduced - # VSX2 was introduced with POWER8, so use that as a proxy for it - mycmakeargs+=( - -DWITH_ALTIVEC=$(usex cpu_flags_ppc_altivec) - -DWITH_POWER8=$(usex cpu_flags_ppc_vsx2) - -DWITH_POWER9=$(usex cpu_flags_ppc_vsx3) - ) - fi - - cmake_src_configure -} - -pkg_postinst() { - if use compat ; then - ewarn "zlib-ng is experimental and replacing the system zlib is dangerous" - ewarn "Please be careful!" - ewarn - ewarn "The following link explains the guarantees (and what is NOT guaranteed):" - ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md" - fi -} |