[snap] refresh snap
- move to packaging/ubuntu/snap similar to the others - use `snapcraftctl` to set the snap version - define the supported architectures - use command-chain to improve debugging
This commit is contained in:
parent
c478310c52
commit
e188d930db
@ -1,5 +1,4 @@
|
|||||||
name: nymea-app
|
name: nymea-app
|
||||||
version: developer-build
|
|
||||||
summary: Control app for nymea
|
summary: Control app for nymea
|
||||||
description: |
|
description: |
|
||||||
The nymea daemon is a plugin based IoT (Internet of Things) server.
|
The nymea daemon is a plugin based IoT (Internet of Things) server.
|
||||||
@ -9,12 +8,19 @@ description: |
|
|||||||
scenes and behaviors for your environment.
|
scenes and behaviors for your environment.
|
||||||
|
|
||||||
grade: stable
|
grade: stable
|
||||||
base: core18
|
base: core20
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
adopt-info: nymea-app
|
||||||
|
|
||||||
|
architectures:
|
||||||
|
- build-on: amd64
|
||||||
|
- build-on: arm64
|
||||||
|
- build-on: armhf
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
nymea-app:
|
nymea-app:
|
||||||
command: desktop-launch nymea-app
|
command-chain: [ bin/desktop-launch ]
|
||||||
|
command: usr/bin/nymea-app
|
||||||
desktop: usr/share/applications/nymea-app.desktop
|
desktop: usr/share/applications/nymea-app.desktop
|
||||||
plugs:
|
plugs:
|
||||||
- avahi-observe
|
- avahi-observe
|
||||||
@ -55,7 +61,6 @@ parts:
|
|||||||
plugin: qmake
|
plugin: qmake
|
||||||
source: .
|
source: .
|
||||||
after: [desktop-qt5]
|
after: [desktop-qt5]
|
||||||
project-files: [ nymea-app.pro ]
|
|
||||||
build-packages:
|
build-packages:
|
||||||
- execstack
|
- execstack
|
||||||
- qt5-default
|
- qt5-default
|
||||||
@ -90,3 +95,6 @@ parts:
|
|||||||
- libavahi-common3
|
- libavahi-common3
|
||||||
- qtvirtualkeyboard-plugin
|
- qtvirtualkeyboard-plugin
|
||||||
- qtwayland5
|
- qtwayland5
|
||||||
|
override-build: |
|
||||||
|
snapcraftctl set-version $( git -C ${SNAPCRAFT_PART_SRC} describe --tags )
|
||||||
|
snapcraftctl build
|
||||||
Reference in New Issue
Block a user