mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
keepassxc: restore build options
* buildoptions had previously been removed
(098e7b4195
)
* maintainer stopped contributing in 2017-07
This commit is contained in:
parent
bbce69f036
commit
c4af93cb71
1 changed files with 26 additions and 7 deletions
|
@ -3,22 +3,41 @@ pkgname=keepassxc
|
||||||
version=2.4.1
|
version=2.4.1
|
||||||
revision=2
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWITH_TESTS=OFF -DWITH_XC_ALL=ON -DWITH_XC_KEESHARE_SECURE=ON"
|
configure_args="-DWITH_TESTS=OFF -DWITH_XC_UPDATECHECK=OFF
|
||||||
makedepends="qt5-tools-devel qt5-svg-devel libgcrypt-devel libargon2-devel qrencode-devel
|
-DWITH_XC_AUTOTYPE=$(vopt_if autotype ON OFF)
|
||||||
qt5-x11extras-devel libXtst-devel libykpers-devel libyubikey-devel libsodium-devel quazip-devel"
|
-DWITH_XC_BROWSER=$(vopt_if browser ON OFF)
|
||||||
|
-DWITH_XC_KEESHARE_SECURE=$(vopt_if keeshare ON OFF)
|
||||||
|
-DWITH_XC_NETWORKING=$(vopt_if network ON OFF)
|
||||||
|
-DWITH_XC_SSHAGENT=$(vopt_if sshagent ON OFF)
|
||||||
|
-DWITH_XC_YUBIKEY=$(vopt_if yubikey ON OFF)"
|
||||||
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||||
|
makedepends="qt5-tools-devel qt5-svg-devel libgcrypt-devel libargon2-devel
|
||||||
|
qrencode-devel
|
||||||
|
$(vopt_if autotype 'qt5-x11extras-devel libXtst-devel libXi-devel')
|
||||||
|
$(vopt_if browser libsodium-devel)
|
||||||
|
$(vopt_if keeshare quazip-devel)
|
||||||
|
$(vopt_if network libcurl-devel)
|
||||||
|
$(vopt_if yubikey 'libykpers-devel libyubikey-devel')"
|
||||||
short_desc="KeePassXC is a cross-platform port of “Keepass Password Safe”"
|
short_desc="KeePassXC is a cross-platform port of “Keepass Password Safe”"
|
||||||
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
|
maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
license="GPL-3.0-or-later, BSD-3-Clause, CC0-1.0, LGPL-2.0-only, LGPL-2.1-only,
|
license="GPL-3.0-or-later, BSD-3-Clause, CC0-1.0, LGPL-2.0-only, LGPL-2.1-only,
|
||||||
LGPL-3.0-or-later, Nokia-Qt-exception-1.1, MIT BSL-1.0"
|
LGPL-3.0-or-later, Nokia-Qt-exception-1.1, MIT BSL-1.0"
|
||||||
homepage="https://keepassxc.org/"
|
homepage="https://keepassxc.org/"
|
||||||
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
|
distfiles="https://github.com/keepassxreboot/keepassxc/releases/download/${version}/keepassxc-${version}-src.tar.xz"
|
||||||
checksum=0da97bd1279d1b9b06a63b9f723b43ab8c078b7f1203d6c13504fdd4735489ab
|
checksum=0da97bd1279d1b9b06a63b9f723b43ab8c078b7f1203d6c13504fdd4735489ab
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
# https://github.com/keepassxreboot/keepassxc/blob/7bafe65d17e98348b0ff5fb46f117bdf05764cc6/CMakeLists.txt#L45
|
||||||
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
build_options="browser keeshare network sshagent yubikey"
|
||||||
fi
|
desc_option_autotype="Include auto-type"
|
||||||
|
desc_option_browser="Include browser integration with keepassxc-browser-plugin"
|
||||||
|
desc_option_keeshare="Include sharing integration with KeeShare"
|
||||||
|
desc_option_network="Include networking code (favicon download)"
|
||||||
|
desc_option_sshagent="Include SSH agent support"
|
||||||
|
desc_option_yubikey="Include YubiKey support"
|
||||||
|
build_options_default="autotype browser keeshare sshagent yubikey"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
vlicense LICENSE.BSD
|
vlicense LICENSE.BSD
|
||||||
vlicense LICENSE.MIT
|
vlicense LICENSE.MIT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue