From e48540713d66082de2ff22452184414785d8e075 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Mon, 16 Oct 2017 13:50:46 +0900 Subject: [PATCH] Edit snapcraft.yaml to snap Boostnote --- snap/snapcraft.yaml | 54 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 8b613cfa..b7c3157d 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,16 +1,48 @@ -name: my-snap-name # you probably want to 'snapcraft register ' -version: '0.1' # just for humans, typically '1.2+git' or '1.3.2' -summary: Single-line elevator pitch for your amazing snap # 79 char long summary +name: boostnote +version: '0.1' +summary: A note-taking app for programmers description: | - This is my-snap's description. You have a paragraph or two to tell the - most important story about your snap. Keep it under 100 words though, - we live in tweetspace and your description wants to look good in the snap - store. + Boostnote is an open source note-taking app made for programmers just like you. https://boostnote.io + https://github.com/BoostIO/Boostnote -grade: devel # must be 'stable' to release into candidate/stable channels -confinement: devmode # use 'strict' once you have the right plugs and slots +grade: stable +confinement: strict + +apps: + asmstnote: + command: desktop-launch $SNAP/etc/boostnote/Boostnote + plugs: + - browser-support + - network + - unity7 + - gsettings parts: - my-part: - # See 'snapcraft plugins' + src: + plugin: nodejs + source: . + + deps: plugin: nil + stage-packages: + - libgconf-2-4 + - libnss3 + - libxss1 + - fontconfig-config + + desktop-integration: + plugin: nil + stage-packages: + - libappindicator1 + - libdbusmenu-glib4 + - libnotify4 + - libunity9 + + launcher: + plugin: dump + source: . + stage: + - etc/boostnote + organize: + dist/Boostnote-linux-x64: etc/boostnote + after: [desktop-glib-only]