Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the packaging metadata to build the electrum snap #2521

Merged
merged 4 commits into from
Jun 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: electrum
version: master
summary: Bitcoin thin client
description: |
Lightweight Bitcoin client

grade: devel # must be 'stable' to release into candidate/stable channels
Copy link
Collaborator

@bauerj bauerj Jun 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be changed later? Why is it set to devel?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a safeguard during the initial tests. Once it's move to the stable channel in the store it will be installable by millions of users of Ubuntu who can find it in the software center. I'm usually cautious to make sure that there is a commit that marks when the snap is stable. But this is not strictly necessary.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense. Thank you!

confinement: strict

apps:
electrum:
command: desktop-launch electrum
plugs: [network, network-bind, x11, unity7]

parts:
electrum:
source: .
plugin: python
python-version: python2
stage-packages: [python-qt4]
build-packages: [pyqt4-dev-tools]
install: pyrcc4 icons.qrc -o $SNAPCRAFT_PART_INSTALL/lib/python2.7/site-packages/electrum_gui/qt/icons_rc.py
after: [desktop-qt4]