Skip to content

Commit

Permalink
Update snapcraft.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpio810 authored Sep 5, 2023
1 parent e8c876c commit 2154461
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build-aux/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,15 +36,15 @@ 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]
plugs: *plugs
environment: *env

dxf-to-qet:
command: bin/DXFtoQET
command: desktop-launch $SNAP/bin/DXFtoQET
extensions: [kde-neon]
plugs: *plugs
environment: *env
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2154461

Please sign in to comment.