mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-14 21:50:01 +01:00
Update snapcraft.yaml
This commit is contained in:
@@ -24,10 +24,10 @@ layout:
|
|||||||
|
|
||||||
apps:
|
apps:
|
||||||
qelectrotech:
|
qelectrotech:
|
||||||
command: usr/local/bin/qelectrotech
|
command: desktop-launch $SNAP/usr/local/bin/qelectrotech
|
||||||
command-chain:
|
command-chain:
|
||||||
- bin/qelectrotech-launch
|
- bin/qelectrotech-launch
|
||||||
desktop: usr/local/share/applications/qelectrotech.desktop
|
desktop: usr/share/applications/qelectrotech.desktop
|
||||||
extensions: [kde-neon]
|
extensions: [kde-neon]
|
||||||
plugs: &plugs [opengl, unity7, home, removable-media, gsettings, network, cups-control]
|
plugs: &plugs [opengl, unity7, home, removable-media, gsettings, network, cups-control]
|
||||||
environment: &env
|
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
|
PYTHONPATH: $SNAP:$SNAP/lib/python3.8/site-packages:$SNAP/usr/lib/python3.8:$SNAP/usr/lib/python3.8/lib-dynload
|
||||||
|
|
||||||
qet-tb-generator:
|
qet-tb-generator:
|
||||||
command: bin/qet_tb_generator
|
command: desktop-launch $SNAP/bin/qet_tb_generator
|
||||||
command-chain:
|
command-chain:
|
||||||
- bin/qelectrotech-launch
|
- bin/qelectrotech-launch
|
||||||
extensions: [kde-neon]
|
extensions: [kde-neon]
|
||||||
@@ -44,7 +44,7 @@ apps:
|
|||||||
environment: *env
|
environment: *env
|
||||||
|
|
||||||
dxf-to-qet:
|
dxf-to-qet:
|
||||||
command: bin/DXFtoQET
|
command: desktop-launch $SNAP/bin/DXFtoQET
|
||||||
extensions: [kde-neon]
|
extensions: [kde-neon]
|
||||||
plugs: *plugs
|
plugs: *plugs
|
||||||
environment: *env
|
environment: *env
|
||||||
@@ -113,10 +113,10 @@ parts:
|
|||||||
cleanup:
|
cleanup:
|
||||||
after: [qelectrotech, dxf-to-qet, qet-tb-generator]
|
after: [qelectrotech, dxf-to-qet, qet-tb-generator]
|
||||||
plugin: nil
|
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: |
|
override-prime: |
|
||||||
set -eux
|
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/{}" \;
|
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" "$SNAPCRAFT_PRIME/usr/{}" \;
|
||||||
done
|
done
|
||||||
for cruft in bug lintian man; do
|
for cruft in bug lintian man; do
|
||||||
|
|||||||
Reference in New Issue
Block a user