Refactor SNAP package

This commit is contained in:
Reinhard Pointner 2018-11-25 17:05:13 +07:00
parent b5d2ba5979
commit 00a3d28da8
1 changed files with 20 additions and 24 deletions

View File

@ -11,32 +11,28 @@ architectures: [amd64]
apps:
filebot:
command: desktop-launch $SNAP/bin/filebot.sh
plugs: [unity7, opengl, x11, home, removable-media, network, network-bind, pulseaudio, gsettings]
plugs: [desktop, desktop-legacy, wayland, unity7, x11, gsettings, dbus, home, removable-media, network, network-bind]
plugs:
gtk-3-themes:
interface: content
target: $SNAP/share/themes
default-provider: gtk-common-themes:gtk-3-themes
icon-themes:
interface: content
target: $SNAP/share/icons
default-provider: gtk-common-themes:icon-themes
sound-themes:
interface: content
target: $SNAP/share/sounds
default-provider: gtk-common-themes:sounds-themes
environment:
XDG_DATA_DIRS: $SNAP/share:$XDG_DATA_DIRS
parts:
filebot:
plugin: dump
source: base
stage-packages:
- openjdk-11-jre
- openjfx
- mediainfo
- libchromaprint-tools
- p7zip-full
- p7zip-rar
- libxrender1
- libxext6
- libx11-6
- libxi6
- libxtst6
- libgnome-2-0
- libgnomevfs2-0
- gtk2-engines-murrine
- libcanberra-gtk-module
- hicolor-icon-theme
- xdg-utils
- libmediainfo0v5
- libchromaprint-tools
- curl
after:
- desktop-gtk2
stage-packages: [openjdk-11-jre, openjfx, libmediainfo0v5, libchromaprint-tools, p7zip-full, p7zip-rar, xdg-utils, curl]
after: [desktop-gtk3]