Snapcraft: Add .desktop path

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis 2018-04-21 23:58:36 +02:00
parent bcdf38da0a
commit 35ef2337fa
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ apps:
reicast:
command: desktop-launch $SNAP/bin/reicast
plugs: [home, alsa, pulseaudio, opengl, x11, joystick, unity7]
desktop: share/applications/reicast.desktop
joyconfig:
command: desktop-launch $SNAP/bin/reicast-joyconfig
plugs: [home, joystick]
@ -23,6 +24,7 @@ parts:
python-packages:
- evdev
source: .
reicast:
source: .
source-subdir: shell/linux
@ -36,4 +38,6 @@ parts:
- libgles2-mesa-dev
- mesa-common-dev
- pkg-config
stage-packages:
- libevdev2
after: [desktop-gtk2]