0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 04:12:15 +02:00
keepassxc/snapcraft.yaml

73 lines
2.0 KiB
YAML
Raw Normal View History

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