From 2154461b1db83f1081f64be27ba0b8d33fe09f17 Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Tue, 5 Sep 2023 11:53:55 +0200 Subject: [PATCH] Update snapcraft.yaml --- build-aux/snap/snapcraft.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build-aux/snap/snapcraft.yaml b/build-aux/snap/snapcraft.yaml index c78dfc31d..505abd2c6 100644 --- a/build-aux/snap/snapcraft.yaml +++ b/build-aux/snap/snapcraft.yaml @@ -24,10 +24,10 @@ layout: apps: qelectrotech: - command: usr/local/bin/qelectrotech + command: desktop-launch $SNAP/usr/local/bin/qelectrotech command-chain: - bin/qelectrotech-launch - desktop: usr/local/share/applications/qelectrotech.desktop + desktop: usr/share/applications/qelectrotech.desktop extensions: [kde-neon] plugs: &plugs [opengl, unity7, home, removable-media, gsettings, network, cups-control] environment: &env @@ -36,7 +36,7 @@ apps: PYTHONPATH: $SNAP:$SNAP/lib/python3.8/site-packages:$SNAP/usr/lib/python3.8:$SNAP/usr/lib/python3.8/lib-dynload qet-tb-generator: - command: bin/qet_tb_generator + command: desktop-launch $SNAP/bin/qet_tb_generator command-chain: - bin/qelectrotech-launch extensions: [kde-neon] @@ -44,7 +44,7 @@ apps: environment: *env dxf-to-qet: - command: bin/DXFtoQET + command: desktop-launch $SNAP/bin/DXFtoQET extensions: [kde-neon] plugs: *plugs environment: *env @@ -113,10 +113,10 @@ parts: cleanup: after: [qelectrotech, dxf-to-qet, qet-tb-generator] plugin: nil - build-snaps: [kde-frameworks-5-99-qt-5-15-7-core20] + build-snaps: [kf5-5-104-qt-5-15-8-core22] override-prime: | set -eux - for snap in "kde-frameworks-5-99-qt-5-15-7-core20"; do # List all content-snaps you're using here + for snap in "kf5-5-104-qt-5-15-8-core22"; do # List all content-snaps you're using here cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" "$SNAPCRAFT_PRIME/usr/{}" \; done for cruft in bug lintian man; do