snapcraft.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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: [home]
  22. plugs:
  23. browser-native-messaging:
  24. interface: personal-files
  25. write:
  26. - $HOME/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
  27. - $HOME/.config/chromium/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  28. - $HOME/.config/google-chrome/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  29. - $HOME/.config/microsoft-edge/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  30. - $HOME/.config/vivaldi/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  31. - $HOME/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts/org.keepassxc.keepassxc_browser.json
  32. - $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/TorBrowser/Data/Browser/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
  33. slots:
  34. session-dbus-interface:
  35. interface: dbus
  36. name: org.keepassxc.KeePassXC.MainWindow
  37. bus: session
  38. parts:
  39. keepassxc:
  40. source: .
  41. plugin: cmake
  42. parse-info: [usr/share/metainfo/org.keepassxc.KeePassXC.appdata.xml]
  43. cmake-parameters:
  44. - -DCMAKE_BUILD_TYPE=Release
  45. - -DCMAKE_INSTALL_PREFIX=/usr
  46. - -DKEEPASSXC_DIST_TYPE=Snap
  47. - -DKEEPASSXC_BUILD_TYPE=Release
  48. - -DWITH_TESTS=OFF
  49. - -DWITH_XC_ALL=ON
  50. - -DWITH_XC_UPDATECHECK=OFF
  51. build-packages:
  52. - g++
  53. - libbotan-2-dev
  54. - libargon2-dev
  55. - zlib1g-dev
  56. - libqrencode-dev
  57. - libusb-1.0-0-dev
  58. - libreadline-dev
  59. - libpcsclite-dev
  60. - libminizip-dev
  61. - libxi-dev
  62. - libxtst-dev
  63. - asciidoctor
  64. - libfreetype-dev
  65. - libkeyutils-dev
  66. stage-packages:
  67. - dbus
  68. - libbotan-2-19
  69. - libqrencode4
  70. - libusb-1.0-0
  71. - libreadline8
  72. - libpcsclite1
  73. - libminizip1
  74. - libxtst6
  75. - libfreetype6
  76. - xclip
  77. - libkeyutils1
  78. lint:
  79. ignore:
  80. - library:
  81. - lib/**/libhistory.so*