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
|
|
@ -22,6 +22,16 @@ build-options:
|
|||
env:
|
||||
CARGO_HOME: /run/build/chesspenguin/cargo
|
||||
modules:
|
||||
# Bundled Stockfish (GPL-3.0). Keep in sync with packaging/stockfish.sh.
|
||||
- name: stockfish
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- install -Dm755 stockfish-linux-x86-64-universal /app/lib/chesspenguin/stockfish
|
||||
- install -Dm644 Copying.txt /app/share/licenses/chesspenguin/stockfish-Copying.txt
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://github.com/official-stockfish/Stockfish/releases/download/sf_19/stockfish-linux-x86-64-universal.tar.gz
|
||||
sha256: 9defc0d4e55d49c65a6d042f3e571a39fcea499ade6dbe741b53b8c65e03611f
|
||||
- name: chesspenguin
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
|
|
@ -38,3 +48,4 @@ modules:
|
|||
- .flatpak-builder
|
||||
- pgnFilesforExample
|
||||
- engines
|
||||
- build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue