Skip to content

Commit 615cf78

Browse files
committed
Fix snap build to use latest format
- add x11-related libs to make the program functional. - additional metadata - remove desktop-launch
1 parent 331a2de commit 615cf78

File tree

1 file changed

+34
-5
lines changed

1 file changed

+34
-5
lines changed

snap/snapcraft.yaml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
name: keepassxc
2+
contact:
3+
4+
- https://keepassxc.org/team
5+
donation: https://keepassxc.org/donate
6+
summary: "KeePassXC: Secure, Community-Driven Password Management"
7+
description: |
8+
KeePassXC is an advanced password manager that offers secure storage
9+
in an encrypted database, with a modern, user-friendly experience that
10+
adapts to your desktop environment.
211
adopt-info: keepassxc
312
grade: stable
413
base: core22
@@ -8,18 +17,28 @@ compression: lzo
817
apps:
918
keepassxc:
1019
command: usr/bin/keepassxc
11-
common-id: org.keepassxc.KeePassXC.desktop
20+
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
1221
extensions: [kde-neon]
13-
plugs: [home, unity7, network, network-bind, removable-media, raw-usb, password-manager-service, browser-native-messaging]
14-
autostart: org.keepassxc.KeePassXC.desktop
22+
plugs:
23+
- home
24+
- unity7
25+
- network
26+
- network-bind
27+
- removable-media
28+
- raw-usb
29+
- password-manager-service
30+
- browser-native-messaging
31+
1532
cli:
1633
command: usr/bin/keepassxc-cli
1734
extensions: [kde-neon]
1835
plugs: [home, removable-media, raw-usb]
36+
1937
proxy:
2038
command: usr/bin/keepassxc-proxy
2139
extensions: [kde-neon]
2240

41+
# Enable direct access to the native messaging host configuration files
2342
plugs:
2443
browser-native-messaging:
2544
interface: personal-files
@@ -67,7 +86,6 @@ parts:
6786
- libfreetype-dev
6887
- libkeyutils-dev
6988
stage-packages:
70-
- dbus
7189
- libbotan-2-19
7290
- libqrencode4
7391
- libusb-1.0-0
@@ -78,8 +96,19 @@ parts:
7896
- libfreetype6
7997
- xclip
8098
- libkeyutils1
99+
- libxkbcommon0
100+
- libxkbcommon-x11-0
101+
- libxkbfile1
102+
- libxcb-cursor0
103+
- libxcb-icccm4
104+
- libxcb-image0
105+
- libxcb-keysyms1
106+
- libxcb-render-util0
107+
- libxcb-render0
108+
- libxcb-shape0
109+
- libxcb-xkb1
110+
81111
lint:
82112
ignore:
83113
- library:
84114
- lib/**/libhistory.so*
85-

0 commit comments

Comments
 (0)