1 |
commit: 4b8cc4d45c80e0d1351cd5bf04795bba4d770db7 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 2 00:11:30 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 2 00:13:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8cc4d4 |
7 |
|
8 |
sys-libs/zlib-ng: drop 2.0.5 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-libs/zlib-ng/Manifest | 1 - |
13 |
sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild | 75 ----------------------------------- |
14 |
2 files changed, 76 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/zlib-ng/Manifest b/sys-libs/zlib-ng/Manifest |
17 |
index aeda00647854..1eddb8bdf40a 100644 |
18 |
--- a/sys-libs/zlib-ng/Manifest |
19 |
+++ b/sys-libs/zlib-ng/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST zlib-ng-2.0.5.tar.gz 810110 BLAKE2B 70a7a4a4f5bcc792fcf5f41487160aa15481bc5512ddd567f59ac96ebd1b8ff7c1edb7e5887f16ee502a75fabb36caf88f0d88563a0d860679b0bfd0e0b9f12a SHA512 a643089a8189bf8bd24d679b84f07ae14932b4d88b88e94c44cca23350d6a9bbdaa411822d3651c2b0bf79f30c9f99514cc252cf9e9ab0b3a840540206466654 |
22 |
DIST zlib-ng-2.0.6.tar.gz 817951 BLAKE2B 52993caadf14817e328b180d728586e1332ea04504288264934ef49441cb8b8c4a2412d4c11d1982f3764fef5e4fb7ebab442b407e57d9d5f08a5b2ed890bba9 SHA512 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5 |
23 |
|
24 |
diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index 35316b265096..000000000000 |
27 |
--- a/sys-libs/zlib-ng/zlib-ng-2.0.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,75 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit cmake |
36 |
- |
37 |
-DESCRIPTION="Fork of the zlib data compression library" |
38 |
-HOMEPAGE="https://github.com/zlib-ng/zlib-ng" |
39 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="ZLIB" |
42 |
-SLOT="0" |
43 |
-#KEYWORDS="~amd64 ~x86" |
44 |
- |
45 |
-CPU_USE=( cpu_flags_{x86_{avx2,sse2,ssse3,sse4a,pclmul},arm_{crc32,neon},ppc_vsx2} ) |
46 |
-IUSE="compat ${CPU_USE[@]} test" |
47 |
- |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-RDEPEND="compat? ( !sys-libs/zlib )" |
51 |
- |
52 |
-src_configure() { |
53 |
- local mycmakeargs=( |
54 |
- -DZLIB_COMPAT="$(usex compat)" |
55 |
- -DZLIB_ENABLE_TESTS="$(usex test)" |
56 |
- # Unaligned access is controversial and undefined behaviour |
57 |
- # Let's keep it off for now |
58 |
- # https://github.com/gentoo/gentoo/pull/17167 |
59 |
- -DWITH_UNALIGNED="OFF" |
60 |
- ) |
61 |
- |
62 |
- # The intrinsics options are all defined conditionally, so we need |
63 |
- # to enable them on/off per-arch here for now. |
64 |
- if use amd64 || use x86 ; then |
65 |
- mycmakeargs+=( |
66 |
- -DWITH_AVX2=$(usex cpu_flags_x86_avx2) |
67 |
- -DWITH_SSE2=$(usex cpu_flags_x86_sse2) |
68 |
- -DWITH_SSSE3=$(usex cpu_flags_x86_ssse3) |
69 |
- -DWITH_SSE4=$(usex cpu_flags_x86_sse4a) |
70 |
- -DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul) |
71 |
- ) |
72 |
- fi |
73 |
- |
74 |
- if use arm || use arm64 ; then |
75 |
- mycmakeargs+=( |
76 |
- -DWITH_ACLE=$(usex cpu_flags_arm_crc32) |
77 |
- -DWITH_NEON=$(usex cpu_flags_arm_neon) |
78 |
- ) |
79 |
- fi |
80 |
- |
81 |
- if use ppc || use ppc64 ; then |
82 |
- # The POWER8 support is VSX which was introduced |
83 |
- # VSX2 was introduced with POWER8, so use that as a proxy for it |
84 |
- mycmakeargs+=( |
85 |
- -DWITH_POWER8=$(usex cpu_flags_ppc_vsx2) |
86 |
- ) |
87 |
- fi |
88 |
- |
89 |
- # TODO: There's no s390x USE_EXPAND yet |
90 |
- |
91 |
- cmake_src_configure |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- cmake_src_install |
96 |
- |
97 |
- if use compat ; then |
98 |
- ewarn "zlib-ng is experimental and replacing the system zlib is dangerous" |
99 |
- ewarn "Please be careful!" |
100 |
- ewarn |
101 |
- ewarn "The following link explains the guarantees (and what is NOT guaranteed):" |
102 |
- ewarn "https://github.com/zlib-ng/zlib-ng/blob/2.0.x/PORTING.md" |
103 |
- fi |
104 |
-} |