snapcraft.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. name: keepassxc
  2. adopt-info: keepassxc
  3. grade: stable
  4. base: core22
  5. confinement: strict
  6. compression: lzo
  7. apps:
  8. keepassxc:
  9. command: usr/bin/keepassxc
  10. common-id: org.keepassxc.KeePassXC.desktop
  11. extensions: [kde-neon]
  12. plugs: [home, unity7, network, network-bind, removable-media, raw-usb, password-manager-service, browser-native-messaging]
  13. autostart: org.keepassxc.KeePassXC.desktop
  14. cli:
  15. command: usr/bin/keepassxc-cli
  16. extensions: [kde-neon]
  17. plugs: [home, removable-media, raw-usb]
  18. proxy:
  19. command: usr/bin/keepassxc-proxy
  20. extensions: [kde-neon]
  21. plugs:
  22. browser-native-messaging:
  23. interface: personal-files
  24. write:
  25. - $HOME/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
  26. - $HOME/.config/chromium/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  27. - $HOME/.config/google-chrome/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  28. - $HOME/.config/microsoft-edge/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  29. - $HOME/.config/vivaldi/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  30. - $HOME/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  31. - $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Browser/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
  32. slots:
  33. session-dbus-interface:
  34. interface: dbus
  35. name: org.keepassxc.KeePassXC.MainWindow
  36. bus: session
  37. parts:
  38. keepassxc:
  39. source: .
  40. plugin: cmake
  41. parse-info: [usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml]
  42. cmake-parameters:
  43. - -DCMAKE_BUILD_TYPE=Release
  44. - -DCMAKE_INSTALL_PREFIX=/usr
  45. - -DKEEPASSXC_DIST_TYPE=Snap
  46. - -DKEEPASSXC_BUILD_TYPE=Release
  47. - -DWITH_TESTS=OFF
  48. - -DWITH_XC_ALL=ON
  49. - -DWITH_XC_UPDATECHECK=OFF
  50. build-packages:
  51. - g++
  52. - libbotan-2-dev
  53. - libargon2-dev
  54. - zlib1g-dev
  55. - libqrencode-dev
  56. - libusb-1.0-0-dev
  57. - libreadline-dev
  58. - libpcsclite-dev
  59. - libminizip-dev
  60. - libxi-dev
  61. - libxtst-dev
  62. - asciidoctor
  63. - libfreetype-dev
  64. - libkeyutils-dev
  65. stage-packages:
  66. - dbus
  67. - libbotan-2-19
  68. - libqrencode4
  69. - libusb-1.0-0
  70. - libreadline8
  71. - libpcsclite1
  72. - libminizip1
  73. - libxtst6
  74. - libfreetype6
  75. - xclip
  76. - libkeyutils1
  77. lint:
  78. ignore:
  79. - library:
  80. - lib/**/libhistory.so*