2017-05-31 20:17:44 +02:00
|
|
|
name: parity
|
2017-08-29 15:14:07 +02:00
|
|
|
version: git
|
2017-05-31 20:17:44 +02:00
|
|
|
summary: Fast, light, robust Ethereum implementation
|
|
|
|
description: |
|
|
|
|
Parity's goal is to be the fastest, lightest, and most secure Ethereum
|
|
|
|
client. We are developing Parity using the sophisticated and cutting-edge
|
|
|
|
Rust programming language. Parity is licensed under the GPLv3, and can be
|
|
|
|
used for all your Ethereum needs.
|
|
|
|
|
|
|
|
grade: devel
|
|
|
|
confinement: strict
|
|
|
|
|
|
|
|
apps:
|
|
|
|
parity:
|
|
|
|
command: parity
|
2018-02-13 16:31:05 +01:00
|
|
|
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
|
|
|
|
desktop: usr/share/applications/parity.desktop
|
|
|
|
|
|
|
|
icon: snap/gui/icon.png
|
2017-05-31 20:17:44 +02:00
|
|
|
|
|
|
|
parts:
|
2018-02-13 16:31:05 +01:00
|
|
|
desktop-icon:
|
|
|
|
source: ./snap
|
|
|
|
plugin: nil
|
|
|
|
prepare: |
|
|
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
|
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
|
|
|
cp -v gui/parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
|
|
|
cp -v gui/icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
|
2017-05-31 20:17:44 +02:00
|
|
|
parity:
|
2017-07-17 20:31:12 +02:00
|
|
|
source: .
|
2017-05-31 20:17:44 +02:00
|
|
|
plugin: rust
|
2018-06-29 09:55:47 +02:00
|
|
|
# rust-channel: stable # @TODO enable after https://bugs.launchpad.net/snapcraft/+bug/1778530
|
|
|
|
rust-revision: 1.26.2 # @TODO remove after https://bugs.launchpad.net/snapcraft/+bug/1778530
|
2017-11-06 15:03:45 +01:00
|
|
|
build-attributes: [no-system-libraries]
|
2017-05-31 20:17:44 +02:00
|
|
|
build-packages: [g++, libudev-dev, libssl-dev, make, pkg-config]
|
2017-11-06 15:03:45 +01:00
|
|
|
stage-packages: [libc6, libssl1.0.0, libudev1, libstdc++6]
|
|
|
|
df:
|
|
|
|
plugin: nil
|
|
|
|
stage-packages: [coreutils]
|
|
|
|
stage: [bin/df]
|