Commit f9eb1ee8 authored by David Llewellyn-Jones's avatar David Llewellyn-Jones

Add snap desktop file and dependencies

Adds build-package and stage-package dependencies (at least a
first attempt at them, taken from configure.ac). Also adds a
.desktop file and icon.
parent 3626b4f0
[Desktop Entry]
Type=Application
Version=1.0
Name=functy
Comment=Functy is a 3D graph drawing application for generating vivid and immediate results.
Exec=$snap.$app
Path=~
Icon=${snap}/meta/gui/functy.png
Terminal=false
Categories=Application;Graphics;Mathematics;
......@@ -9,9 +9,10 @@ confinement: strict
apps:
functy:
command: desktop-launch functy --datadir="/snap/functy/current/share/functy"
command: desktop-launch functy --datadir="${SNAP}/share/functy"
plugs:
- x11
- unity7
- opengl
- pulseaudio
- home
......@@ -23,5 +24,30 @@ parts:
functy:
plugin: autotools
source: git@gitlab.com:flypig/functy.git
build-packages:
- libgtkglext1-dev
- glee-dev
- libzip-dev
- libpng12-dev
- libpulse-dev
- libfftw3-dev
- libncursesw5-dev
- libopenexr-dev
- libtbb-dev
- freeglut3-dev
- libboost-dev
- libopenvdb-dev
stage-packages:
- libgtkglext1
- libglee0d1
- libzip4
- libpng12-0
- libpulse-mainloop-glib0
- libfftw3-3
- libncursesw5
- libopenexr22
- libtbb2
- freeglut3
- libopenvdb3.1
after: [desktop-gtk2, libsymbolic]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment