mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Try to fix Github action to build snap
This commit is contained in:
parent
2a1d3ae1f1
commit
1748280b80
@ -1,6 +1,6 @@
|
|||||||
name: qelectrotech
|
name: qelectrotech
|
||||||
title: QElectroTech
|
title: QElectroTech
|
||||||
base: core22
|
base: core20
|
||||||
adopt-info: qelectrotech
|
adopt-info: qelectrotech
|
||||||
license: GPL-2.0
|
license: GPL-2.0
|
||||||
summary: Electrical diagram editor
|
summary: Electrical diagram editor
|
||||||
@ -68,14 +68,14 @@ parts:
|
|||||||
kde-sdk-setup:
|
kde-sdk-setup:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-snaps:
|
build-snaps:
|
||||||
- kde-frameworks-5-102-qt-5-15-8-core22-sdk
|
- kde-frameworks-5-99-qt-5-15-7-core20-sdk
|
||||||
build-packages:
|
build-packages:
|
||||||
- g++
|
- g++
|
||||||
- mesa-common-dev
|
- mesa-common-dev
|
||||||
- libglvnd-dev
|
- libglvnd-dev
|
||||||
- rsync
|
- rsync
|
||||||
override-build: |
|
override-build: |
|
||||||
rsync -a --ignore-existing /snap/kde-frameworks-5-102-qt-5-15-8-core22-sdk/current/ /
|
rsync -a --ignore-existing /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/ /
|
||||||
|
|
||||||
dxf-to-qet:
|
dxf-to-qet:
|
||||||
after: [kde-sdk-setup]
|
after: [kde-sdk-setup]
|
||||||
@ -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-102-qt-5-15-8-core22]
|
build-snaps: [kde-frameworks-5-99-qt-5-15-7-core20]
|
||||||
override-prime: |
|
override-prime: |
|
||||||
set -eux
|
set -eux
|
||||||
for snap in "kde-frameworks-5-102-qt-5-15-8-core22"; do # List all content-snaps you're using here
|
for snap in "kde-frameworks-5-99-qt-5-15-7-core20"; 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user