Skip to content

Commit 104bf58

Browse files
committed
ci
1 parent c516320 commit 104bf58

File tree

1 file changed

+34
-16
lines changed

1 file changed

+34
-16
lines changed

snapcraft.yaml

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,29 @@ grade: stable
77
confinement: strict
88
base: core22
99

10-
# plugs:
11-
# desktop:
12-
# mount-host-font-cache: false
13-
# icon-themes:
14-
# interface: content
15-
# target: $SNAP/data-dir/icons
16-
# default-provider: gtk-common-themes
17-
# sound-themes:
18-
# interface: content
19-
# target: $SNAP/data-dir/sounds
20-
# default-provider: gtk-common-themes
21-
# kf5-5-113-qt-5-15-11-core22:
22-
# content: kf5-5-113-qt-5-15-11-core22-all
23-
# interface: content
24-
# default-provider: kf5-5-113-qt-5-15-11-core22
25-
# target: $SNAP/kf5
10+
plugs:
11+
desktop:
12+
mount-host-font-cache: false
13+
icon-themes:
14+
interface: content
15+
target: $SNAP/data-dir/icons
16+
default-provider: gtk-common-themes
17+
sound-themes:
18+
interface: content
19+
target: $SNAP/data-dir/sounds
20+
default-provider: gtk-common-themes
21+
kf5-5-113-qt-5-15-11-core22:
22+
content: kf5-5-113-qt-5-15-11-core22-all
23+
interface: content
24+
default-provider: kf5-5-113-qt-5-15-11-core22
25+
target: $SNAP/kf5
26+
27+
hooks:
28+
configure:
29+
plugs:
30+
- desktop
31+
command-chain:
32+
- snap/command-chain/hooks-configure-desktop
2633

2734
layout:
2835
/usr/share/X11:
@@ -31,6 +38,10 @@ layout:
3138
apps:
3239
onvif:
3340
command: onvif
41+
command-chain:
42+
- snap/command-chain/desktop-launch
43+
environment:
44+
SNAP_DESKTOP_RUNTIME: $SNAP/kf5
3445
extensions:
3546
- kde-neon
3647
plugs:
@@ -65,3 +76,10 @@ parts:
6576
- libpulse0
6677
- libpulse-mainloop-glib0
6778
- libffmpegthumbnailer4v5
79+
kde-neon/sdk:
80+
source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
81+
plugin: make
82+
make-parameters:
83+
- PLATFORM_PLUG=kf5-5-113-qt-5-15-11-core22
84+
build-snaps:
85+
- kf5-5-113-qt-5-15-11-core22-sdk

0 commit comments

Comments
 (0)