forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
28 lines (22 loc) · 1006 Bytes
/
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
# based on https://github.com/snapcore/snapcraft/blob/master/demos/gradle/snap/snapcraft.yaml
name: jabref
# the version string 4.0-dev is replaced by scripts/run-snapcraft.sh with the current version provided in build.gradle
version: '4.0-dev'
summary: Bibliography manager
icon: buildres/snapcraft/JabRef-icon-256.png
description: JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
jabref:
command: desktop-launch java -jar $SNAP/jar/JabRef-4.0-dev.jar
plugs: [home, network-bind, x11]
desktop: buildres/snapcraft/jabref.desktop
parts:
jabref:
plugin: gradle
source: .
stage-packages: [default-jre, openjfx, x11-utils]
gradle-options: [snapJar]
gradle-output-dir: 'build/releases'
after: [desktop-gtk3]