Bundle Stockfish 19 with every package and set it up on first start
- packaging/stockfish.sh fetches the pinned official universal build (SHA-256 checked) for Linux and Windows and the source archive for the release. - deb/rpm/Arch, AppImage, Flatpak, tarball and Windows zip ship it unmodified (AppImage: added after linuxdeploy, packed with appimagetool). - The app resolves the built-in engine at run time (EngineConfig::builtin), adds it on first start (or a system stockfish), and offers engines found on the computer in Settings > Engines. - install.sh installs Stockfish into ~/.local/lib/chesspenguin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6db8d67821
commit
56cfb4d09f
22 changed files with 383 additions and 35 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# deb and rpm packages (https://nfpm.goreleaser.com). Run from the repository root:
|
||||
# deb, rpm and Arch packages (https://nfpm.goreleaser.com). Run from the repository root:
|
||||
# packaging/stockfish.sh linux build/stockfish
|
||||
# VERSION=0.1.0 nfpm package -f packaging/nfpm.yaml -p deb -t dist/ (deb, rpm, archlinux)
|
||||
name: chesspenguin
|
||||
arch: amd64
|
||||
|
|
@ -12,8 +13,9 @@ homepage: https://github.com/vrubelroman/chessPenguin
|
|||
license: GPL-3.0-or-later
|
||||
description: |
|
||||
Chess database for Linux.
|
||||
View, enter and analyse chess games in PGN with any UCI engine
|
||||
(Stockfish and others): variations, comments, multi-line analysis.
|
||||
View, enter and analyse chess games in PGN: variations, comments,
|
||||
multi-line engine analysis and whole-game review. Stockfish is included;
|
||||
any other UCI engine can be added.
|
||||
|
||||
contents:
|
||||
- src: target/release/chesspenguin
|
||||
|
|
@ -47,6 +49,15 @@ contents:
|
|||
dst: /usr/share/doc/chesspenguin/THIRD_PARTY_NOTICES.md
|
||||
- src: examples/classics.pgn
|
||||
dst: /usr/share/doc/chesspenguin/examples/classics.pgn
|
||||
# Bundled Stockfish (GPL-3.0); the application looks for it in ../lib/chesspenguin.
|
||||
- src: build/stockfish/stockfish
|
||||
dst: /usr/lib/chesspenguin/stockfish
|
||||
file_info:
|
||||
mode: 0755
|
||||
- src: build/stockfish/Copying.txt
|
||||
dst: /usr/share/licenses/chesspenguin/stockfish-Copying.txt
|
||||
- src: build/stockfish/AUTHORS
|
||||
dst: /usr/share/doc/chesspenguin/stockfish-AUTHORS
|
||||
|
||||
overrides:
|
||||
deb:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue