Skip to content

Instantly share code, notes, and snippets.

@brunob brunob/snapcraft.yaml
Last active May 17, 2018

Embed
What would you like to do?
Timeline snap
name: timeline # you probably want to 'snapcraft register <name>'
version: '1.17.0'
summary: Timeline
description: |
Timeline is a cross-platform application for displaying and navigating events on a timeline
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
timeline:
plugs: [x11,desktop,unity7]
command: desktop-launch $SNAP/var/opt/timeline/source/timeline.py
parts:
timeline:
source: https://downloads.sourceforge.net/project/thetimelineproj/thetimelineproj/$SNAPCRAFT_PROJECT_VERSION/timeline-$SNAPCRAFT_PROJECT_VERSION.zip
plugin: python
python-version: python2
python-packages:
- humblewx
stage-packages: [python-wxgtk3.0]
override-build: |
snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/var/opt/timeline
cp -R timeline-$SNAPCRAFT_PROJECT_VERSION/* $SNAPCRAFT_PART_INSTALL/var/opt/timeline
after: [desktop-gtk2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.