2016-11-07 14:57:06 -05:00
name : keepassxc
2017-10-01 10:40:09 -04:00
version : 2.2 .1
2017-01-22 13:40:24 -05:00
grade : stable
2016-11-07 14:57:06 -05:00
summary : community driven port of the windows application “Keepass Password Safe”
description : |
2017-02-05 12:47:27 -05:00
KeePassXC is an application for people with extremely high demands on secure
2016-11-07 14:57:06 -05:00
personal data management. It has a light interface, is cross platform and
2017-02-05 12:47:27 -05:00
is published under the terms of the GNU General Public License.
2016-11-07 14:57:06 -05:00
confinement : strict
apps :
keepassxc :
command : desktop-launch keepassxc
2017-09-10 09:58:05 -04:00
plugs : [ unity7, x11, opengl, gsettings, home, network, network-bind, removable-media, raw-usb]
2017-10-03 12:29:39 -04:00
desktop : usr/share/applications/keepassxc.desktop
2017-09-10 09:58:05 -04:00
cli :
command : keepassxc-cli
plugs : [ gsettings, home, removable-media, raw-usb]
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
- -DKEEPASSXC_SNAP_BUILD=ON
2016-11-07 14:57:06 -05:00
- -DWITH_TESTS=OFF
2017-01-22 13:40:24 -05:00
- -DWITH_XC_AUTOTYPE=ON
2017-02-19 22:27:05 -05:00
- -DWITH_XC_HTTP=ON
2017-06-20 23:12:57 -04:00
- -DWITH_XC_YUBIKEY=ON
2016-11-07 14:57:06 -05:00
build-packages :
- g++
- libgcrypt20-dev
- 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-10-03 12:29:39 -04:00
install : |
sed -i 's|Icon=keepassxc|Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/keepassxc.png|g' $SNAPCRAFT_PART_INSTALL/usr/share/applications/keepassxc.desktop
2016-11-07 14:57:06 -05:00
after : [ desktop-qt5]
2017-09-29 16:26:58 -04:00
# Redefine desktop-qt5 stage packages to work with Ubuntu 17.04
2017-06-24 11:24:41 -04:00
desktop-qt5 :
stage-packages :
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5 # for loading icon themes which are svg
- locales-all
2017-09-29 16:26:58 -04:00
# Overcome limitation in snapd to support URL loading (CTRL+U)
2017-10-03 12:29:39 -04:00
# client needs to install "snapd-xdg-open" on their system
2017-09-29 16:26:58 -04:00
snapd-xdg-open :
source : https://github.com/ubuntu-core/snapd-xdg-open.git
2017-10-03 12:29:39 -04:00
source-depth : 1
plugin : nil
install : |
install -D -t $SNAPCRAFT_PART_INSTALL/usr/bin/ data/xdg-open
2017-09-29 16:26:58 -04:00
stage-packages :
- dbus