-
Notifications
You must be signed in to change notification settings - Fork 21
/
snapcraft.yaml
74 lines (66 loc) · 1.52 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: jfxchess
version: "4.3.0"
summary: A graphical chess program
description: |
JFXChess is a chess graphical user interface
with the following features:
* based around world's best chess program Stockfish
* play against the computer
* adjust strength levels to match your skill
* enter, edit and analyse games
* automatic game analysis
* read and save games in standard pgn format
* copy and paste FEN positions and pgn games from clipboard
* cross-platform, available for Linux and Windows
* easy and intuitive GUI
confinement: strict
grade: stable
base: core22
lint:
ignore:
- library:
- usr/lib/jvm/java-*/lib/*.so
apps:
jfxchess:
command: usr/bin/jfxchess-snap
plugs:
- desktop
- x11
- unity7
- home
- cups-control
- removable-media
extensions: [gnome]
environment:
JAVA_HOME: "$SNAP/usr/lib/jvm/java-11-openjdk-amd64"
JAVA_TOOL_OPTIONS: "-Duser.home=$SNAP_USER_COMMON"
parts:
jfxchess:
plugin: maven
source: https://github.com/asdfjkl/jfxchess.git
maven-parameters: ["clean", "compile", "assembly:single"]
source-type: git
build-packages:
[maven,openjdk-21-jdk]
stage-packages:
- openjdk-21-jdk
starter:
plugin: dump
source: .
organize:
jfxchess-snap: usr/bin/jfxchess-snap
book:
plugin: dump
source: snap/local
stage:
- book
engine:
plugin: dump
source: snap/local
stage:
- engine
splash:
plugin: dump
source: snap/local
stage:
- splash