Update snapcraft.yaml (#9530)
fix DEPRICATED `prepare ` fix TODO https://bugs.launchpad.net/snapcraft/+bug/1778530
This commit is contained in:
parent
e2e1d221d5
commit
47d7197fb9
@ -22,7 +22,7 @@ parts:
|
|||||||
desktop-icon:
|
desktop-icon:
|
||||||
source: ./snap
|
source: ./snap
|
||||||
plugin: nil
|
plugin: nil
|
||||||
prepare: |
|
override-build: |
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
||||||
cp -v gui/parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
cp -v gui/parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||||
@ -30,8 +30,6 @@ parts:
|
|||||||
parity:
|
parity:
|
||||||
source: .
|
source: .
|
||||||
plugin: rust
|
plugin: rust
|
||||||
# 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
|
|
||||||
build-attributes: [no-system-libraries]
|
build-attributes: [no-system-libraries]
|
||||||
build-packages: [g++, libudev-dev, make, pkg-config, cmake]
|
build-packages: [g++, libudev-dev, make, pkg-config, cmake]
|
||||||
stage-packages: [libc6, libudev1, libstdc++6]
|
stage-packages: [libc6, libudev1, libstdc++6]
|
||||||
|
Loading…
Reference in New Issue
Block a user