From 47d7197fb95cc27765518b49426fee8d58548d8c Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Tue, 11 Sep 2018 22:32:10 +0300 Subject: [PATCH] Update snapcraft.yaml (#9530) fix DEPRICATED `prepare ` fix TODO https://bugs.launchpad.net/snapcraft/+bug/1778530 --- snap/snapcraft.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c7da23960..3235c7aa3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -22,7 +22,7 @@ parts: desktop-icon: source: ./snap plugin: nil - prepare: | + override-build: | 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/ @@ -30,8 +30,6 @@ parts: parity: source: . 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-packages: [g++, libudev-dev, make, pkg-config, cmake] stage-packages: [libc6, libudev1, libstdc++6]