2016-11-07 19:57:06 +00:00
name : keepassxc
2020-10-24 14:58:23 +00:00
version : 2.7 .0
2017-01-22 18:40:24 +00:00
grade : stable
2017-10-17 11:42:12 +00:00
summary : Community-driven port of the Windows application “KeePass Password Safe”
2016-11-07 19:57:06 +00:00
description : |
2017-02-05 17:47:27 +00:00
KeePassXC is an application for people with extremely high demands on secure
2017-10-17 11:42:12 +00:00
personal data management. It has a light interface, is cross-platform and
published under the terms of the GNU General Public License.
2016-11-07 19:57:06 +00:00
confinement : strict
2018-08-28 19:11:16 +00:00
base : core18
2021-01-31 21:47:35 +00:00
compression : lzo
2016-11-07 19:57:06 +00:00
2019-04-25 14:39:06 +00:00
plugs : # plugs for theming, font settings, cursor and to use gtk3 file chooser
gtk-3-themes :
interface : content
target : $SNAP/data-dir/themes
default-provider : gtk-common-themes:gtk-3-themes
icon-themes :
2019-03-21 22:53:50 +00:00
interface : content
target : $SNAP/data-dir/icons
2019-04-25 14:39:06 +00:00
default-provider : gtk-common-themes:icon-themes
sound-themes :
interface : content
target : $SNAP/data-dir/sounds
default-provider : gtk-common-themes:sounds-themes
2019-03-21 22:53:50 +00:00
2016-11-07 19:57:06 +00:00
apps :
keepassxc :
2019-04-25 14:39:06 +00:00
adapter : full
command : usr/bin/keepassxc -style fusion
command-chain :
- bin/desktop-launch
- bin/gtk3-env-launch
2019-04-20 18:05:54 +00:00
plugs : [ unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb, wayland, desktop-legacy, desktop]
2017-12-13 17:51:55 +00:00
desktop : usr/share/applications/org.keepassxc.KeePassXC.desktop
2018-09-01 16:29:41 +00:00
environment :
DISABLE_WAYLAND : 1
2017-09-10 13:58:05 +00:00
cli :
command : keepassxc-cli
2020-05-03 18:48:12 +00:00
plugs : [ x11, gsettings, home, removable-media, raw-usb]
2018-02-22 02:27:19 +00:00
proxy :
command : keepassxc-proxy
plugs : [ home]
2016-11-07 19:57:06 +00:00
parts :
keepassxc :
source : .
plugin : cmake
configflags :
- -DCMAKE_BUILD_TYPE=Release
2017-10-03 16:29:39 +00:00
- -DCMAKE_INSTALL_PREFIX=/usr
2017-10-16 15:51:16 +00:00
- -DKEEPASSXC_DIST_TYPE=Snap
2019-03-19 19:52:58 +00:00
- -DKEEPASSXC_BUILD_TYPE=Release
2016-11-07 19:57:06 +00:00
- -DWITH_TESTS=OFF
2018-02-22 02:27:19 +00:00
- -DWITH_XC_ALL=ON
2019-03-19 12:31:05 +00:00
- -DWITH_XC_KEESHARE_SECURE=ON
2016-11-07 19:57:06 +00:00
build-packages :
- g++
2018-09-01 16:29:41 +00:00
- libgcrypt20-dev
2016-11-07 19:57:06 +00:00
- libqt5x11extras5-dev
2018-09-14 21:41:30 +00:00
- libqt5svg5-dev
2016-11-07 19:57:06 +00:00
- qtbase5-dev
2020-05-07 19:17:44 +00:00
- qtbase5-private-dev
2016-11-07 19:57:06 +00:00
- qttools5-dev
- qttools5-dev-tools
- zlib1g-dev
2017-04-11 23:06:54 +00:00
- libxi-dev
- libxtst-dev
2017-06-21 03:12:57 +00:00
- libyubikey-dev
- libykpers-1-dev
2017-12-12 08:15:23 +00:00
- libsodium-dev
2018-05-09 10:56:38 +00:00
- libargon2-0-dev
2018-10-19 18:42:49 +00:00
- libqrencode-dev
2019-03-19 12:31:05 +00:00
- libquazip5-dev
2020-07-05 22:28:09 +00:00
- asciidoctor
2017-12-19 05:07:25 +00:00
stage-packages :
- dbus
2017-12-22 04:25:24 +00:00
- qttranslations5-l10n # common translations
2018-08-28 19:11:16 +00:00
- libgcrypt20
2018-05-17 02:39:39 +00:00
- libykpers-1-1
- libargon2-0
- libsodium23
- libxtst6
- libqt5x11extras5
2018-09-14 21:41:30 +00:00
- libqt5svg5
2019-05-16 22:03:29 +00:00
- try : [ libqrencode3, libqrencode4]
2019-03-19 12:31:05 +00:00
- libqt5concurrent5
- libquazip5-1
2018-05-17 02:39:39 +00:00
- libusb-1.0-0
2018-08-28 19:11:16 +00:00
- qtwayland5
2019-04-25 14:39:06 +00:00
- qt5-gtk-platformtheme # for theming, font settings, cursor and to use gtk3 file chooser
2019-06-11 07:28:47 +00:00
- libqrencode3
2020-05-03 18:48:12 +00:00
- xclip
2018-05-17 02:39:39 +00:00
override-build : |
snapcraftctl build
2017-12-13 17:51:55 +00:00
sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/org.keepassxc.KeePassXC.desktop
2017-12-22 04:25:24 +00:00
organize :
usr/share/qt5/translations/*.qm : usr/share/keepassxc/translations/
2018-05-17 02:39:39 +00:00
stage :
- -opt
2016-11-07 19:57:06 +00:00
after : [ desktop-qt5]
2019-04-20 18:05:54 +00:00
2019-04-25 14:39:06 +00:00
launchers : # custom launcher to set QT_QPA_PLATFORMTHEME=gtk3 correctly
source : snap/local/launchers
plugin : dump
organize :
'*' : bin/
stage :
- -bin/README.*
2019-03-19 12:31:05 +00:00
desktop-qt5 :
source : https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir : qt
plugin : make
make-parameters : [ "FLAVOR=qt5" ]
build-packages :
- qtbase5-dev
- dpkg-dev
stage-packages :
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- adwaita-icon-theme
- gnome-themes-standard
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
2019-06-11 07:28:47 +00:00
- libgtk2.0-0
2019-03-19 12:31:05 +00:00
- libqt5svg5 # for loading icon themes which are svg
- try : [ appmenu-qt5] # not available on core18
2019-03-19 19:52:58 +00:00
- locales-all