mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Update snapcraft.yaml
change to kf5-5-108-qt-5-15-10-core22-sdk
This commit is contained in:
parent
92604d5d65
commit
f2ef554290
@ -13,8 +13,10 @@ confinement: strict
|
||||
compression: lzo
|
||||
|
||||
architectures:
|
||||
- build-on: [amd64]
|
||||
build-for: [amd64]
|
||||
- build-on: amd64
|
||||
build-for: amd64
|
||||
- build-on: arm64
|
||||
build-for: arm64
|
||||
|
||||
layout:
|
||||
/usr/local/share/qelectrotech:
|
||||
@ -67,14 +69,14 @@ parts:
|
||||
kde-sdk-setup:
|
||||
plugin: nil
|
||||
build-snaps:
|
||||
- kf5-5-104-qt-5-15-8-core22-sdk
|
||||
- kf5-5-108-qt-5-15-10-core22-sdk
|
||||
build-packages:
|
||||
- g++
|
||||
- mesa-common-dev
|
||||
- libglvnd-dev
|
||||
- rsync
|
||||
override-build: |
|
||||
rsync -a --ignore-existing /snap/kf5-5-104-qt-5-15-8-core22-sdk/current/ /
|
||||
rsync -a --ignore-existing /snap/kf5-5-108-qt-5-15-10-core22-sdk/current/ /
|
||||
|
||||
dxf-to-qet:
|
||||
after: [kde-sdk-setup]
|
||||
@ -112,10 +114,10 @@ parts:
|
||||
cleanup:
|
||||
after: [qelectrotech, dxf-to-qet, qet-tb-generator]
|
||||
plugin: nil
|
||||
build-snaps: [kf5-5-104-qt-5-15-8-core22]
|
||||
build-snaps: [kf5-5-108-qt-5-15-10-core22]
|
||||
override-prime: |
|
||||
set -eux
|
||||
for snap in "kf5-5-104-qt-5-15-8-core22"; do # List all content-snaps you're using here
|
||||
for snap in "kf5-5-108-qt-5-15-10-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
|
||||
|
Loading…
x
Reference in New Issue
Block a user