Skip to content

Commit

Permalink
Move snapcraft.yaml to snap directory to make desktop entry appear co…
Browse files Browse the repository at this point in the history
…rrectly
  • Loading branch information
JensAc committed Aug 10, 2018
1 parent 73df450 commit e66e564
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Binary file added snap/gui/PLOT64.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions snap/gui/rdplot.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Name=RDPlot
GenericName=Rate Distortion Plot
Type=Application
Encoding=UTF-8
Exec=rdplot %F
Terminal=false
Icon=${SNAP}/meta/gui/PLOT64.png
Comment=RDPlot tool
NoDisplay=false
Name[en]=RDPlot
Categories=AudioVideo
X-KDE-StartupNotify=true
4 changes: 2 additions & 2 deletions snapcraft.yaml → snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: rdplot
version: git
icon: src/rdplot/logo/PLOT64.png
type: app
icon: snap/gui/PLOT64.png
summary: The plotting tool for rate distortion curves in the context of video coding.
description: |
RDPlot is a tool for plotting rate-distortion curves. The major feature consists in the parsing
Expand All @@ -14,7 +15,6 @@ confinement: strict
apps:
rdplot:
command: desktop-launch ${SNAP}/bin/rdplot
desktop: lib/python3.5/site-packages/rdplot/misc/rdplot.desktop
plugs: [home, removable-media, network, x11, wayland, desktop, desktop-legacy, opengl, gsettings]

parts:
Expand Down

0 comments on commit e66e564

Please sign in to comment.