1 |
commit: 7eac8280a7d649dd1d956f9eb894da8f473ec602 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 28 01:04:07 2020 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 28 01:04:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eac8280 |
7 |
|
8 |
games-board/stockfish: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
games-board/stockfish/Manifest | 2 - |
14 |
games-board/stockfish/stockfish-8.ebuild | 69 -------------------------------- |
15 |
games-board/stockfish/stockfish-9.ebuild | 69 -------------------------------- |
16 |
3 files changed, 140 deletions(-) |
17 |
|
18 |
diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest |
19 |
index a979ab6f2d9..ec4790075f0 100644 |
20 |
--- a/games-board/stockfish/Manifest |
21 |
+++ b/games-board/stockfish/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8 |
24 |
-DIST stockfish-8-src.zip 159017 BLAKE2B 01f2bf017a3e822e9a1cc35b3fd3a05a1e25e3acbc51b4b8ad9d9447eb5e35a8f8e313f72b4353e5ce1937ceb0aeb581a35d393e593fd0dd9851f149ea658b73 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1 |
25 |
-DIST stockfish-9-src.zip 171925 BLAKE2B dacfe02525e2d78bf91a41bf2d22077ecb808566f87317382515aa14baade2c03c150ecd62ae026c5883321642330cd9beab50df35db3f1c7de18c8b84922ae0 SHA512 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8 |
26 |
|
27 |
diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild |
28 |
deleted file mode 100644 |
29 |
index c908d406a8c..00000000000 |
30 |
--- a/games-board/stockfish/stockfish-8.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,69 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-inherit toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" |
41 |
-HOMEPAGE="https://stockfishchess.org/" |
42 |
- |
43 |
-SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip" |
44 |
-LICENSE="GPL-3" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 x86" |
47 |
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug |
48 |
- general-32 general-64 +optimize" |
49 |
- |
50 |
-DEPEND="|| ( app-arch/unzip app-arch/zip )" |
51 |
-RDEPEND="" |
52 |
- |
53 |
-S="${WORKDIR}/${P}-src/src" |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- |
58 |
- # prevent pre-stripping |
59 |
- sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ |
60 |
- || die 'failed to disable stripping in the Makefile' |
61 |
-} |
62 |
- |
63 |
-src_compile() { |
64 |
- local my_arch |
65 |
- |
66 |
- # generic unoptimized first |
67 |
- use general-32 && my_arch=general-32 |
68 |
- use general-64 && my_arch=general-64 |
69 |
- |
70 |
- # x86 |
71 |
- use x86 && my_arch=x86-32-old |
72 |
- use cpu_flags_x86_sse && my_arch=x86-32 |
73 |
- |
74 |
- # amd64 |
75 |
- use amd64 && my_arch=x86-64 |
76 |
- use cpu_flags_x86_popcnt && my_arch=x86-64-modern |
77 |
- |
78 |
- # both bmi2 and avx2 are part of hni (haswell new instructions) |
79 |
- use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2 |
80 |
- |
81 |
- # other architectures |
82 |
- use armv7 && my_arch=armv7 |
83 |
- use ppc && my_arch=ppc |
84 |
- use ppc64 && my_arch=ppc64 |
85 |
- |
86 |
- # Skip the "build" target and use "all" instead to avoid the config |
87 |
- # sanity check (which would throw a fit about our compiler). There's |
88 |
- # a nice hack in the Makefile that overrides the value of CXX with |
89 |
- # COMPILER to support Travis CI and we abuse it to make sure that we |
90 |
- # build with our compiler of choice. |
91 |
- emake all ARCH="${my_arch}" \ |
92 |
- COMP=$(tc-getCXX) \ |
93 |
- COMPILER=$(tc-getCXX) \ |
94 |
- debug=$(usex debug "yes" "no") \ |
95 |
- optimize=$(usex optimize "yes" "no") |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- dobin "${PN}" |
100 |
- dodoc ../AUTHORS ../Readme.md |
101 |
-} |
102 |
|
103 |
diff --git a/games-board/stockfish/stockfish-9.ebuild b/games-board/stockfish/stockfish-9.ebuild |
104 |
deleted file mode 100644 |
105 |
index dc5c8779f35..00000000000 |
106 |
--- a/games-board/stockfish/stockfish-9.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,69 +0,0 @@ |
109 |
-# Copyright 1999-2018 Gentoo Foundation |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
- |
112 |
-EAPI=6 |
113 |
- |
114 |
-inherit toolchain-funcs |
115 |
- |
116 |
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" |
117 |
-HOMEPAGE="https://stockfishchess.org/" |
118 |
- |
119 |
-SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip" |
120 |
-LICENSE="GPL-3" |
121 |
-SLOT="0" |
122 |
-KEYWORDS="~amd64 ~x86" |
123 |
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug |
124 |
- general-32 general-64 +optimize" |
125 |
- |
126 |
-DEPEND="|| ( app-arch/unzip app-arch/zip )" |
127 |
-RDEPEND="" |
128 |
- |
129 |
-S="${WORKDIR}/src" |
130 |
- |
131 |
-src_prepare() { |
132 |
- default |
133 |
- |
134 |
- # prevent pre-stripping |
135 |
- sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ |
136 |
- || die 'failed to disable stripping in the Makefile' |
137 |
-} |
138 |
- |
139 |
-src_compile() { |
140 |
- local my_arch |
141 |
- |
142 |
- # generic unoptimized first |
143 |
- use general-32 && my_arch=general-32 |
144 |
- use general-64 && my_arch=general-64 |
145 |
- |
146 |
- # x86 |
147 |
- use x86 && my_arch=x86-32-old |
148 |
- use cpu_flags_x86_sse && my_arch=x86-32 |
149 |
- |
150 |
- # amd64 |
151 |
- use amd64 && my_arch=x86-64 |
152 |
- use cpu_flags_x86_popcnt && my_arch=x86-64-modern |
153 |
- |
154 |
- # both bmi2 and avx2 are part of hni (haswell new instructions) |
155 |
- use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2 |
156 |
- |
157 |
- # other architectures |
158 |
- use armv7 && my_arch=armv7 |
159 |
- use ppc && my_arch=ppc |
160 |
- use ppc64 && my_arch=ppc64 |
161 |
- |
162 |
- # Skip the "build" target and use "all" instead to avoid the config |
163 |
- # sanity check (which would throw a fit about our compiler). There's |
164 |
- # a nice hack in the Makefile that overrides the value of CXX with |
165 |
- # COMPILER to support Travis CI and we abuse it to make sure that we |
166 |
- # build with our compiler of choice. |
167 |
- emake all ARCH="${my_arch}" \ |
168 |
- COMP=$(tc-getCXX) \ |
169 |
- COMPILER=$(tc-getCXX) \ |
170 |
- debug=$(usex debug "yes" "no") \ |
171 |
- optimize=$(usex optimize "yes" "no") |
172 |
-} |
173 |
- |
174 |
-src_install() { |
175 |
- dobin "${PN}" |
176 |
- dodoc ../AUTHORS ../Readme.md |
177 |
-} |