[neon/kde/spectacle/Neon/release] /: override kglobalaccel

Jonathan Riddell null at kde.org
Mon Mar 29 15:13:05 BST 2021


Git commit bb61f96bd173e76eaf4330b896885eb9b5e615eb by Jonathan Riddell.
Committed on 29/03/2021 at 14:13.
Pushed by jriddell into branch 'Neon/release'.

override kglobalaccel

M  +4    -0    snapcraft.yaml

https://invent.kde.org/neon/kde/spectacle/commit/bb61f96bd173e76eaf4330b896885eb9b5e615eb

diff --git a/snapcraft.yaml b/snapcraft.yaml
index f64e0b6..e589754 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -59,6 +59,10 @@ parts:
         - libkf5kipi-dev
         - libkf5doctools-dev
         source: http://download.kde.org/stable/release-service/20.12.3/src/spectacle-20.12.3.tar.xz
+        override-stage: |
+          snapcraftctl stage
+          rm $SNAPCRAFT_STAGE/usr/share/kglobalaccel/org.kde.spectacle.desktop
+          ln -s ../applications/org.kde.spectacle.desktop $SNAPCRAFT_STAGE/usr/share/kglobalaccel/org.kde.spectacle.desktop
         stage-packages:
         - libxcb-image0
         - libxcb-cursor0


More information about the Neon-commits mailing list