mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix snap build to use latest recommendations
* Switch to core24 as default * Switch to qt5-base from kde-neon * Switch to using desktop-launch instead of autostart * Use layout to map specific directories for better desktop integration
This commit is contained in:
@@ -1,25 +1,42 @@
|
|||||||
name: keepassxc
|
name: keepassxc
|
||||||
|
summary: "KeePassXC: Secure, Community-Driven Password Management"
|
||||||
|
description: |
|
||||||
|
KeePassXC is an advanced password manager that continues the legacy of KeePassX.
|
||||||
|
It offers secure storage for your passwords in an encrypted database, with a modern,
|
||||||
|
user-friendly experience that adapts to your desktop environment.
|
||||||
|
|
||||||
adopt-info: keepassxc
|
adopt-info: keepassxc
|
||||||
grade: stable
|
grade: stable
|
||||||
base: core22
|
base: core24
|
||||||
confinement: strict
|
confinement: strict
|
||||||
compression: lzo
|
compression: zstd
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
keepassxc:
|
keepassxc:
|
||||||
command: usr/bin/keepassxc
|
# Use desktop-launch to improve integration
|
||||||
common-id: org.keepassxc.KeePassXC.desktop
|
command: desktop-launch usr/bin/keepassxc
|
||||||
extensions: [kde-neon]
|
desktop: usr/share/applications/org.keepassxc.KeePassXC.desktop
|
||||||
plugs: [home, unity7, network, network-bind, removable-media, raw-usb, password-manager-service, browser-native-messaging]
|
extensions: [qt5-base]
|
||||||
autostart: org.keepassxc.KeePassXC.desktop
|
plugs:
|
||||||
|
- home
|
||||||
|
- unity7
|
||||||
|
- network
|
||||||
|
- network-bind
|
||||||
|
- removable-media
|
||||||
|
- raw-usb
|
||||||
|
- password-manager-service
|
||||||
|
- browser-native-messaging
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
command: usr/bin/keepassxc-cli
|
command: usr/bin/keepassxc-cli
|
||||||
extensions: [kde-neon]
|
extensions: [qt5-base]
|
||||||
plugs: [home, removable-media, raw-usb]
|
plugs: [home, removable-media, raw-usb]
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
command: usr/bin/keepassxc-proxy
|
command: usr/bin/keepassxc-proxy
|
||||||
extensions: [kde-neon]
|
extensions: [qt5-base]
|
||||||
|
|
||||||
|
# Enable direct access to the native messaging host configuration files
|
||||||
plugs:
|
plugs:
|
||||||
browser-native-messaging:
|
browser-native-messaging:
|
||||||
interface: personal-files
|
interface: personal-files
|
||||||
@@ -32,6 +49,13 @@ plugs:
|
|||||||
- $HOME/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
|
- $HOME/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
|
||||||
- $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Browser/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
|
- $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Browser/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
|
||||||
|
|
||||||
|
# Improve desktop integration
|
||||||
|
layout:
|
||||||
|
/usr/share/X11/locale:
|
||||||
|
bind: $SNAP/usr/share/X11/locale
|
||||||
|
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/plugins:
|
||||||
|
bind: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/plugins
|
||||||
|
|
||||||
slots:
|
slots:
|
||||||
session-dbus-interface:
|
session-dbus-interface:
|
||||||
interface: dbus
|
interface: dbus
|
||||||
@@ -78,8 +102,8 @@ parts:
|
|||||||
- libfreetype6
|
- libfreetype6
|
||||||
- xclip
|
- xclip
|
||||||
- libkeyutils1
|
- libkeyutils1
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
ignore:
|
ignore:
|
||||||
- library:
|
- library:
|
||||||
- lib/**/libhistory.so*
|
- lib/**/libhistory.so*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user