Skip to content

Commit

Permalink
Merge pull request #4615 from LyzardKing/master
Browse files Browse the repository at this point in the history
Update snapcraft.yaml
  • Loading branch information
koppor authored Jan 27, 2019
2 parents 69661a4 + dd53770 commit 8076f84
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 48 deletions.
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ ui/
jabref.xml
*.sonargraph

# Snapcraft - JabRef places the files into buildres/snapcraft
snap/










# Created by https://www.gitignore.io/api/gradle,java,jabref,intellij,eclipse,netbeans,windows,linux,macos,node,snapcraft

### Eclipse ###
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GenericName=BibTeX Editor
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
Icon=${SNAP}/meta/gui/jabref.png
Exec=jabref %U
Keywords=bibtex;biblatex;latex;bibliography
Categories=Office;
Expand Down
File renamed without changes
35 changes: 35 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: jabref
version: "git"
version-script: cat build.gradle | grep "^version =" | cut -d'"' -f2
#icon: snap/gui/icon.png
summary: Bibliography manager
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
confinement: strict

apps:
jabref:
command: desktop-launch java -jar $SNAP/jar/JabRef-$SNAP_VERSION.jar
environment:
_JAVA_OPTIONS: "-Djava.util.prefs.systemRoot=$SNAP_USER_DATA/.java/etc/.java -Djava.util.prefs.userRoot=$SNAP_USER_DATA/.java/.userPrefs"
plugs:
- desktop
- desktop-legacy
- wayland
- unity7
- home
- opengl
- network-bind

parts:
jabref:
plugin: gradle
source: .
stage-packages:
- openjdk-8-jre
- openjfx
- x11-utils
gradle-options: [snapJar]
gradle-output-dir: 'build/releases'
after: [desktop-gtk3]
35 changes: 0 additions & 35 deletions snapcraft.yaml

This file was deleted.

0 comments on commit 8076f84

Please sign in to comment.