2016-11-07 14:57:06 -05:00
name : keepassxc
2018-08-28 21:30:56 -04:00
version : 2.4 .0
2017-01-22 13:40:24 -05:00
grade : stable
2017-10-17 07:42:12 -04:00
summary : Community-driven port of the Windows application “KeePass Password Safe”
2016-11-07 14:57:06 -05:00
description : |
2017-02-05 12:47:27 -05:00
KeePassXC is an application for people with extremely high demands on secure
2017-10-17 07:42:12 -04: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 14:57:06 -05:00
confinement : strict
2018-08-28 15:11:16 -04:00
base : core18
2016-11-07 14:57:06 -05:00
apps :
keepassxc :
command : desktop-launch keepassxc
2018-08-28 15:11:16 -04:00
plugs : [ unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb, wayland, desktop-legacy]
2017-12-13 12:51:55 -05:00
desktop : usr/share/applications/org.keepassxc.KeePassXC.desktop
2018-09-01 12:29:41 -04:00
environment :
DISABLE_WAYLAND : 1
2017-09-10 09:58:05 -04:00
cli :
command : keepassxc-cli
plugs : [ gsettings, home, removable-media, raw-usb]
2018-02-21 21:27:19 -05:00
proxy :
command : keepassxc-proxy
plugs : [ home]
2016-11-07 14:57:06 -05:00
parts :
keepassxc :
source : .
plugin : cmake
configflags :
- -DCMAKE_BUILD_TYPE=Release
2017-10-03 12:29:39 -04:00
- -DCMAKE_INSTALL_PREFIX=/usr
2017-10-16 11:51:16 -04:00
- -DKEEPASSXC_DIST_TYPE=Snap
2018-08-28 21:30:56 -04:00
- -DKEEPASSXC_BUILD_TYPE=PreRelease
2016-11-07 14:57:06 -05:00
- -DWITH_TESTS=OFF
2018-02-21 21:27:19 -05:00
- -DWITH_XC_ALL=ON
2016-11-07 14:57:06 -05:00
build-packages :
- g++
2018-09-01 12:29:41 -04:00
- libgcrypt20-dev
2016-11-07 14:57:06 -05:00
- libqt5x11extras5-dev
- qtbase5-dev
- qttools5-dev
- qttools5-dev-tools
- zlib1g-dev
2017-04-11 19:06:54 -04:00
- libxi-dev
- libxtst-dev
2017-06-20 23:12:57 -04:00
- libyubikey-dev
- libykpers-1-dev
2017-12-12 03:15:23 -05:00
- libsodium-dev
2018-05-09 06:56:38 -04:00
- libargon2-0-dev
2017-12-19 00:07:25 -05:00
stage-packages :
- dbus
2017-12-21 23:25:24 -05:00
- qttranslations5-l10n # common translations
2018-08-28 15:11:16 -04:00
- libgcrypt20
2018-05-16 22:39:39 -04:00
- libykpers-1-1
- libargon2-0
- libsodium23
- libxtst6
- libqt5x11extras5
- libusb-1.0-0
2018-08-28 15:11:16 -04:00
- qtwayland5
2018-05-16 22:39:39 -04:00
override-build : |
snapcraftctl build
2017-12-13 12:51:55 -05: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-21 23:25:24 -05:00
organize :
usr/share/qt5/translations/*.qm : usr/share/keepassxc/translations/
2018-05-16 22:39:39 -04:00
stage :
- -opt
2016-11-07 14:57:06 -05:00
after : [ desktop-qt5]
2018-05-16 22:39:39 -04:00