commit 2d48aa35af94bfc26ac3353ae732b71b8ee6d93c parent 31ab5b2e0a911a014ea1398f6f73fa3f311e76ec Author: ThomasV <thomasv@electrum.org> Date: Tue, 20 Jun 2017 10:06:38 +0200 Merge pull request #2521 from elopio/snapcraft Add the packaging metadata to build the electrum snap Diffstat:
A | snap/snapcraft.yaml | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml @@ -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 +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]