Fix snap build to use latest format

- add x11-related libs to make the program functional.
- additional metadata
- remove desktop-launch
This commit is contained in:
Jonathan White 2026-01-04 10:07:35 -05:00
parent 331a2de136
commit 615cf78fd9
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01

View file

@ -1,4 +1,13 @@
name: keepassxc
contact:
- team@keepassxc.org
- https://keepassxc.org/team
donation: https://keepassxc.org/donate
summary: "KeePassXC: Secure, Community-Driven Password Management"
description: |
KeePassXC is an advanced password manager that offers secure storage
in an encrypted database, with a modern, user-friendly experience that
adapts to your desktop environment.
adopt-info: keepassxc
grade: stable
base: core22
@ -8,18 +17,28 @@ compression: lzo
apps:
keepassxc:
command: usr/bin/keepassxc
common-id: org.keepassxc.KeePassXC.desktop
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
extensions: [kde-neon]
plugs: [home, unity7, network, network-bind, removable-media, raw-usb, password-manager-service, browser-native-messaging]
autostart: org.keepassxc.KeePassXC.desktop
plugs:
- home
- unity7
- network
- network-bind
- removable-media
- raw-usb
- password-manager-service
- browser-native-messaging
cli:
command: usr/bin/keepassxc-cli
extensions: [kde-neon]
plugs: [home, removable-media, raw-usb]
proxy:
command: usr/bin/keepassxc-proxy
extensions: [kde-neon]
# Enable direct access to the native messaging host configuration files
plugs:
browser-native-messaging:
interface: personal-files
@ -67,7 +86,6 @@ parts:
- libfreetype-dev
- libkeyutils-dev
stage-packages:
- dbus
- libbotan-2-19
- libqrencode4
- libusb-1.0-0
@ -78,8 +96,19 @@ parts:
- libfreetype6
- xclip
- libkeyutils1
- libxkbcommon0
- libxkbcommon-x11-0
- libxkbfile1
- libxcb-cursor0
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-render-util0
- libxcb-render0
- libxcb-shape0
- libxcb-xkb1
lint:
ignore:
- library:
- lib/**/libhistory.so*