1 |
commit: 33377fc2808e993a1c6ffe0b333c40676a8aaa91 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 7 00:24:36 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 7 00:54:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33377fc2 |
7 |
|
8 |
games-board/stockfish: version bump to 9 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
games-board/stockfish/Manifest | 1 + |
13 |
games-board/stockfish/stockfish-9.ebuild | 69 ++++++++++++++++++++++++++++++++ |
14 |
media-sound/quodlibet/Manifest | 1 + |
15 |
3 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest |
18 |
index 6a41b31c668..a876fd75b48 100644 |
19 |
--- a/games-board/stockfish/Manifest |
20 |
+++ b/games-board/stockfish/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST stockfish-8-src.zip 159017 BLAKE2B 01f2bf017a3e822e9a1cc35b3fd3a05a1e25e3acbc51b4b8ad9d9447eb5e35a8f8e313f72b4353e5ce1937ceb0aeb581a35d393e593fd0dd9851f149ea658b73 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1 |
23 |
+DIST stockfish-9-src.zip 171925 BLAKE2B dacfe02525e2d78bf91a41bf2d22077ecb808566f87317382515aa14baade2c03c150ecd62ae026c5883321642330cd9beab50df35db3f1c7de18c8b84922ae0 SHA512 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8 |
24 |
|
25 |
diff --git a/games-board/stockfish/stockfish-9.ebuild b/games-board/stockfish/stockfish-9.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..da7db78dbf0 |
28 |
--- /dev/null |
29 |
+++ b/games-board/stockfish/stockfish-9.ebuild |
30 |
@@ -0,0 +1,69 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" |
39 |
+HOMEPAGE="http://stockfishchess.org/" |
40 |
+ |
41 |
+SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip" |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug |
46 |
+ general-32 general-64 +optimize" |
47 |
+ |
48 |
+DEPEND="|| ( app-arch/unzip app-arch/zip )" |
49 |
+RDEPEND="" |
50 |
+ |
51 |
+S="${WORKDIR}/src" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ # prevent pre-stripping |
57 |
+ sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ |
58 |
+ || die 'failed to disable stripping in the Makefile' |
59 |
+} |
60 |
+ |
61 |
+src_compile() { |
62 |
+ local my_arch |
63 |
+ |
64 |
+ # generic unoptimized first |
65 |
+ use general-32 && my_arch=general-32 |
66 |
+ use general-64 && my_arch=general-64 |
67 |
+ |
68 |
+ # x86 |
69 |
+ use x86 && my_arch=x86-32-old |
70 |
+ use cpu_flags_x86_sse && my_arch=x86-32 |
71 |
+ |
72 |
+ # amd64 |
73 |
+ use amd64 && my_arch=x86-64 |
74 |
+ use cpu_flags_x86_popcnt && my_arch=x86-64-modern |
75 |
+ |
76 |
+ # both bmi2 and avx2 are part of hni (haswell new instructions) |
77 |
+ use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2 |
78 |
+ |
79 |
+ # other architectures |
80 |
+ use armv7 && my_arch=armv7 |
81 |
+ use ppc && my_arch=ppc |
82 |
+ use ppc64 && my_arch=ppc64 |
83 |
+ |
84 |
+ # Skip the "build" target and use "all" instead to avoid the config |
85 |
+ # sanity check (which would throw a fit about our compiler). There's |
86 |
+ # a nice hack in the Makefile that overrides the value of CXX with |
87 |
+ # COMPILER to support Travis CI and we abuse it to make sure that we |
88 |
+ # build with our compiler of choice. |
89 |
+ emake all ARCH="${my_arch}" \ |
90 |
+ COMP=$(tc-getCXX) \ |
91 |
+ COMPILER=$(tc-getCXX) \ |
92 |
+ debug=$(usex debug "yes" "no") \ |
93 |
+ optimize=$(usex optimize "yes" "no") |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ dobin "${PN}" |
98 |
+ dodoc ../AUTHORS ../Readme.md |
99 |
+} |
100 |
|
101 |
diff --git a/media-sound/quodlibet/Manifest b/media-sound/quodlibet/Manifest |
102 |
index d6b816bf578..867fb7c72cb 100644 |
103 |
--- a/media-sound/quodlibet/Manifest |
104 |
+++ b/media-sound/quodlibet/Manifest |
105 |
@@ -1,3 +1,4 @@ |
106 |
DIST quodlibet-3.7.1.tar.gz 3651908 BLAKE2B dd221aae3af83e7f7b1c535c5294a5262b8b08bb7ac068078fb3be1b1c6a3a8770dda20b6a03b3fd998bac17f1087b748d5fd1fe3b7f010ee107283b2170b452 SHA512 73f2a909e29178fb4074dbf451a6d04170aebecb7934248b04b909f9639c9098054eefe3343cfb67cc3c622f6d453b5417e5233d4d2ec9c87c48a0c5b4debf4f |
107 |
DIST quodlibet-3.8.1.tar.gz 3697363 BLAKE2B 67c56281a998d93b2ea457656473ab7fc45a1d4d80aa561fc1946e129ac91a01c65fdb34bd314b5742756708714ac043341cae6ee38e93e37a7a16e3bf481c20 SHA512 5f8f7ba3157dea83782c64989114ad38295c660300284b72e825eba46eae053120c96e60518d573b4010dd49e396a4fe8d04788e632e61e38fa6edd953014275 |
108 |
DIST quodlibet-3.9.1.tar.gz 3850929 BLAKE2B c4317521259f1d46e927276ee8bd927afd72708f7b6e260a68e2cfe6e949f44e08df5884f3613804955b18b7284f0140f9d2d409833bd0a139732728903ae978 SHA512 6d6b6380de2fc2d3ab1614b304f2d7219ff1d823e03f532baa0e9b1308fd36094ad745433494253d956182ae9914eb62846df3d3e5fea92dddccdaa725178563 |
109 |
+DIST quodlibet-4.0.2.tar.gz 4730188 BLAKE2B abe5cdbb6302bf381a7426145c25f6c1e205a2be8ffd801b93ed47e0a23764c142b59cd8de001458ef378fe70523308035517b82bfacbc1213eb7f4a86dcdb7d SHA512 c8c1f823ace03f69fab848f8e312edf9aa1e1e417a843ad2e08d75a0e26a0e095b7050e737be450e5b0b72c7c51b16d1d2143e297dde67bae310b9cdb6f85e3b |