Fix snap build to use latest format (#13728)

* Fix snap build to use latest format

- add x11-related libs to make the program functional.
- additional metadata
- remove desktop-launch

* Move to core24
This commit is contained in:
Jonathan White authored and GitHub committed 2026-10-14 00:00:31 -04:00
1 parent 9e0f57a4a4
commit 52e2743b3a
1 file changed
+40 -10
+40 -10
View File
@@ -1,25 +1,44 @@
name: keepassxc
contact:
- [email protected]
- 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
base: core24
confinement: strict
compression: lzo
apps:
keepassxc:
command: usr/bin/keepassxc
common-id: 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
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
extensions: [kde-neon-6]
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]
extensions: [kde-neon-6]
plugs: [home, removable-media, raw-usb]
proxy:
command: usr/bin/keepassxc-proxy
extensions: [kde-neon]
extensions: [kde-neon-6]
# Enable direct access to the native messaging host configuration files
plugs:
browser-native-messaging:
interface: personal-files
@@ -61,25 +80,36 @@ parts:
- libreadline-dev
- libpcsclite-dev
- libminizip-dev
- libxkbcommon-dev
- libxi-dev
- libxtst-dev
- asciidoctor
- libfreetype-dev
- libkeyutils-dev
stage-packages:
- dbus
- libbotan-2-19
- libqrencode4
- libusb-1.0-0
- libreadline8
- libpcsclite1
- libminizip1
- libminizip1t64
- libxtst6
- 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*