-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2345 from JabRef/snapcraft
Initial shot for snapcraft.yaml
- Loading branch information
Showing
5 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.snapcraft/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Name=JabRef | ||
Comment=JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format. | ||
Type=Application | ||
Terminal=false | ||
Icon=${SNAP}/meta/gui/JabRef-icon-256.png | ||
Exec=jabref | ||
Keywords=bibtex;biblatex;latex;bibliography | ||
Categories=Utility; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 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: snap/gui/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] | ||
|
||
parts: | ||
jabref: | ||
plugin: gradle | ||
source: . | ||
stage-packages: [default-jre, openjfx, libglib2.0-bin, x11-utils] | ||
gradle-options: [snapJar] | ||
gradle-output-dir: 'build/releases' | ||
after: [desktop-gtk3] |