Сравнение stockfish-10 с stockfish-13
/usr/portage/games-board/stockfish/stockfish-13.ebuild 2023-10-09 14:52:31.080368390 +0300 | ||
---|---|---|
8 | 8 |
DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world" |
9 | 9 |
HOMEPAGE="https://stockfishchess.org/" |
10 | 10 | |
11 |
SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip" |
|
11 |
NNUE_FILE="nn-62ef826d1a6d.nnue" |
|
12 | ||
13 |
SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz |
|
14 |
https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}" |
|
12 | 15 |
LICENSE="GPL-3" |
13 | 16 |
SLOT="0" |
14 | 17 |
KEYWORDS="amd64 x86" |
... | ... | |
18 | 21 |
DEPEND="|| ( app-arch/unzip app-arch/zip )" |
19 | 22 |
RDEPEND="" |
20 | 23 | |
21 |
S="${WORKDIR}/src" |
|
24 |
S="${WORKDIR}/Stockfish-sf_${PV}/src" |
|
22 | 25 | |
23 | 26 |
src_prepare() { |
24 | 27 |
default |
25 | 28 | |
29 |
cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed" |
|
30 | ||
26 | 31 |
# prevent pre-stripping |
27 | 32 |
sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \ |
28 | 33 |
|| die 'failed to disable stripping in the Makefile' |
... | ... | |
65 | 70 | |
66 | 71 |
src_install() { |
67 | 72 |
dobin "${PN}" |
68 |
dodoc ../AUTHORS ../Readme.md |
|
73 |
dodoc ../AUTHORS ../README.md |
|
69 | 74 |
} |