Diff stockfish-15.1 with a stockfish-16

/usr/portage/games-board/stockfish/stockfish-16.ebuild 2023-10-09 14:52:31.080368390 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
8 8
DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
9 9
HOMEPAGE="https://stockfishchess.org/"
10 10

  
11
NNUE_FILE="nn-ad9b42354671.nnue"
11
NNUE_FILE="nn-5af11540bbfe.nnue"
12 12

  
13 13
SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
14 14
	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
15 15
LICENSE="GPL-3"
16 16
SLOT="0"
17
KEYWORDS="~amd64 ~riscv ~x86"
17
KEYWORDS="~amd64 ~loong ~riscv ~x86"
18 18
IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
19 19
	general-32 general-64 +optimize"
20 20

  
......
34 34
	# prevent pre-stripping
35 35
	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
36 36
		|| die 'failed to disable stripping in the Makefile'
37

  
38
	# Makefile is a bit optimistic
39
	sed -e 's:-flto=full:-flto:g' -i Makefile || die
37 40
}
38 41

  
39 42
src_compile() {
Thank you!