2019-01-09 14:39:21 +01:00
|
|
|
name: parity
|
|
|
|
version: $VERSION
|
|
|
|
architectures: [$BUILD_ARCH]
|
|
|
|
grade: $GRADE
|
|
|
|
confinement: strict
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
apps:
|
|
|
|
parity:
|
|
|
|
command: parity
|
2019-02-20 09:49:54 +01:00
|
|
|
plugs: [home, network, network-bind, mount-observe, removable-media, x11, unity7, desktop, desktop-legacy, wayland]
|
2019-01-09 14:39:21 +01:00
|
|
|
desktop: ./usr/share/applications/parity.desktop
|
|
|
|
parity-evm:
|
|
|
|
command: parity-evm
|
2019-02-20 09:49:54 +01:00
|
|
|
plugs: [home, network, network-bind, removable-media]
|
2019-01-09 14:39:21 +01:00
|
|
|
ethkey:
|
|
|
|
command: ethkey
|
2019-02-20 09:49:54 +01:00
|
|
|
plugs: [home, removable-media]
|
2019-01-09 14:39:21 +01:00
|
|
|
ethstore:
|
|
|
|
command: ethstore
|
2019-02-20 09:49:54 +01:00
|
|
|
plugs: [home, removable-media]
|
2019-01-09 14:39:21 +01:00
|
|
|
|
|
|
|
icon: ./scripts/snap/icon.png
|
|
|
|
|
|
|
|
parts:
|
|
|
|
desktop-icon:
|
|
|
|
source: ./scripts/snap
|
|
|
|
plugin: nil
|
|
|
|
override-build: |
|
|
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
|
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
|
|
|
cp -v ./parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
|
|
|
cp -v ./icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
|
|
|
|
parity:
|
|
|
|
source: ./artifacts/$CARGO_TARGET
|
|
|
|
plugin: nil
|
|
|
|
override-build: |
|
|
|
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin
|
|
|
|
cp -v parity $SNAPCRAFT_PART_INSTALL/usr/bin/parity
|
|
|
|
cp -v parity-evm $SNAPCRAFT_PART_INSTALL/usr/bin/parity-evm
|
|
|
|
cp -v ethkey $SNAPCRAFT_PART_INSTALL/usr/bin/ethkey
|
|
|
|
cp -v ethstore $SNAPCRAFT_PART_INSTALL/usr/bin/ethstore
|
2020-07-30 02:45:43 +02:00
|
|
|
stage-packages: [libstdc++6, cmake, libdb5.3]
|