- 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>
87 lines
3.5 KiB
YAML
87 lines
3.5 KiB
YAML
# 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
|
|
platform: linux
|
|
version: ${VERSION}
|
|
section: games
|
|
priority: optional
|
|
maintainer: vrubelroman <vrubelroman@gmail.com>
|
|
vendor: vrubelroman
|
|
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: 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
|
|
dst: /usr/bin/chesspenguin
|
|
file_info:
|
|
mode: 0755
|
|
- src: packaging/io.github.vrubelroman.chessPenguin.desktop
|
|
dst: /usr/share/applications/io.github.vrubelroman.chessPenguin.desktop
|
|
- src: packaging/io.github.vrubelroman.chessPenguin.metainfo.xml
|
|
dst: /usr/share/metainfo/io.github.vrubelroman.chessPenguin.metainfo.xml
|
|
# Icons are listed one by one so the package does not own the shared hicolor directories.
|
|
- src: packaging/icons/hicolor/16x16/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/16x16/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/24x24/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/24x24/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/32x32/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/32x32/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/48x48/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/48x48/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/64x64/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/64x64/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/128x128/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/128x128/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/256x256/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/256x256/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: packaging/icons/hicolor/512x512/apps/io.github.vrubelroman.chessPenguin.png
|
|
dst: /usr/share/icons/hicolor/512x512/apps/io.github.vrubelroman.chessPenguin.png
|
|
- src: LICENSE
|
|
dst: /usr/share/licenses/chesspenguin/LICENSE
|
|
- src: THIRD_PARTY_NOTICES.md
|
|
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:
|
|
depends:
|
|
- libc6
|
|
- libasound2 | libasound2t64
|
|
- libxkbcommon0
|
|
- libdbus-1-3
|
|
recommends:
|
|
- libvulkan1
|
|
- libegl1
|
|
rpm:
|
|
depends:
|
|
- alsa-lib
|
|
- libxkbcommon
|
|
- dbus-libs
|
|
recommends:
|
|
- vulkan-loader
|
|
- mesa-libEGL
|
|
archlinux:
|
|
depends:
|
|
- glibc
|
|
- gcc-libs
|
|
- alsa-lib
|
|
- libxkbcommon
|
|
- dbus
|
|
- hicolor-icon-theme
|