Skip to content

Commit f7ce3bb

Browse files
committed
ci
1 parent 497b5dd commit f7ce3bb

File tree

1 file changed

+42
-20
lines changed

1 file changed

+42
-20
lines changed

snapcraft.yaml

Lines changed: 42 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,24 @@ version: 4.2.0
33
summary: onvif viewer
44
description: |
55
onvif tools
6+
grade: stable
67
confinement: strict
7-
base: core20
8+
base: core22
9+
10+
apps:
11+
onvif:
12+
command: onvif
13+
# extensions:
14+
# # - kde-neon
15+
# - gnome
16+
plugs:
17+
- opengl
18+
- network
19+
- network-bind
20+
- desktop
21+
- desktop-legacy
22+
- unity7
23+
- x11
824

925
parts:
1026
onvif:
@@ -24,22 +40,28 @@ parts:
2440
- desktop-qt5
2541

2642
desktop-qt5:
27-
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
28-
source-branch: stable
29-
source-subdir: qt
30-
plugin: make
31-
32-
33-
apps:
34-
onvif:
35-
command: desktop-launch $SNAP/usr/bin/onvif
36-
# extensions:
37-
# # - kde-neon
38-
# - gnome
39-
plugs:
40-
- opengl
41-
- network
42-
- network-bind
43-
- desktop
44-
- desktop-legacy
45-
- x11
43+
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
44+
source-subdir: qt
45+
plugin: make
46+
make-parameters: ["FLAVOR=qt5"]
47+
build-packages:
48+
- build-essential
49+
- qtbase5-dev
50+
- dpkg-dev
51+
stage-packages:
52+
- libxkbcommon0
53+
# - ttf-ubuntu-font-family
54+
- dmz-cursor-theme
55+
- light-themes
56+
- adwaita-icon-theme
57+
- gnome-themes-standard
58+
- shared-mime-info
59+
- libqt5gui5
60+
- libgdk-pixbuf2.0-0
61+
# - libgtk2.0-0 # snapcraft was complaining about missing libgtk-x11-2.0.so.0
62+
- libqt5svg5 # for loading icon themes which are svg
63+
# - appmenu-qt5
64+
- locales-all
65+
- xdg-user-dirs
66+
- fcitx-frontend-qt5
67+
- libglib2.0-0 # we need this or under Gnome the file chooser will crash the app!

0 commit comments

Comments
 (0)