summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-27 23:42:54 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-27 23:44:59 +0200
commitafc97537c47748f6402618f3089d8c95ac9782e1 (patch)
tree421757f61ef7c5be098e50a2d3fc63368de50187 /app-admin
parentapp-text/libwps: Drop old (diff)
downloadgentoo-afc97537c47748f6402618f3089d8c95ac9782e1.tar.gz
gentoo-afc97537c47748f6402618f3089d8c95ac9782e1.tar.bz2
gentoo-afc97537c47748f6402618f3089d8c95ac9782e1.zip
app-admin/keepassxc: Bump to version 2.2.0 (bug #622804).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/keepassxc/Manifest1
-rw-r--r--app-admin/keepassxc/keepassxc-2.2.0.ebuild63
-rw-r--r--app-admin/keepassxc/metadata.xml1
3 files changed, 65 insertions, 0 deletions
diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest
index 5592066012dd..91a1ebda3491 100644
--- a/app-admin/keepassxc/Manifest
+++ b/app-admin/keepassxc/Manifest
@@ -1,2 +1,3 @@
DIST keepassxc-2.1.3.tar.gz 3329237 SHA256 9cfdcb519127197e4b35837160729a3f38c34771f869249b03fa88a8104fb0e4 SHA512 dac030211f596265e5a70d508393bb88ad314a029112b4ce3ae9e4ad6e33ef82f94b616b73535aa45065e34fef819a5136401dd01808fa0b80d21f25b1a68b4a WHIRLPOOL 454cdb17368db06b77b9325363de62654797e739c4417cb1ffc4965b3f12ed8537c488815d3af334986f55f15c42cbac8e841240fd3c472bf9deda8e6f06c331
DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8 WHIRLPOOL da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
+DIST keepassxc-2.2.0.tar.gz 3814252 SHA256 9d9d39b9c056955fe5d7a5212efe1703be02fa4731c36e2b1e06a78174b0a7b8 SHA512 e23968c259afade81c8dcf0786ed68ca77ca8e9726dffb12e1017f2f60afb29b60ec1b71450ce7e284d543bcaa72bbc79bec917dea852d5bb923dff7fc6edcb5 WHIRLPOOL a993068922d8fd0bd1b06d434fff7340160c30992a166f15d9692d83e4a985939b88d20fce2b0425d3bab00de0e2ffce6fd2d34ff0bd92d08d95747ae03c9df9
diff --git a/app-admin/keepassxc/keepassxc-2.2.0.ebuild b/app-admin/keepassxc/keepassxc-2.2.0.ebuild
new file mode 100644
index 000000000000..b237bab19a6d
--- /dev/null
+++ b/app-admin/keepassxc/keepassxc-2.2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SCM=""
+[[ "${PV}" == 9999 ]] && SCM="git-r3"
+inherit cmake-utils ${SCM}
+unset SCM
+
+DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
+HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
+
+if [[ "${PV}" != 9999 ]] ; then
+ SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+else
+ EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
+fi
+
+LICENSE="LGPL-2.1 GPL-2 GPL-3"
+SLOT="0"
+IUSE="autotype debug http test yubikey"
+
+RDEPEND="
+ dev-libs/libgcrypt:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib
+ autotype? (
+ dev-qt/qtx11extras:5
+ x11-libs/libXi
+ x11-libs/libXtst
+ )
+ yubikey? ( sys-auth/libyubikey )
+"
+
+DEPEND="
+ ${RDEPEND}
+ dev-qt/linguist-tools:5
+ dev-qt/qtconcurrent:5
+ test? ( dev-qt/qttest:5 )
+"
+
+src_prepare() {
+ use test || \
+ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_GUI_TESTS=OFF
+ -DWITH_TESTS="$(usex test)"
+ -DWITH_XC_AUTOTYPE="$(usex autotype)"
+ -DWITH_XC_HTTP="$(usex http)"
+ -DWITH_XC_YUBIKEY="$(usex yubikey)"
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-admin/keepassxc/metadata.xml b/app-admin/keepassxc/metadata.xml
index fe942b6d2542..80385e835f0b 100644
--- a/app-admin/keepassxc/metadata.xml
+++ b/app-admin/keepassxc/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="autotype">Add support to autotype the passwords into other applications</flag>
<flag name="http">Add http support</flag>
+ <flag name="yubikey">Enable database unlocking via YubiKey.</flag>
</use>
<longdescription>
KeePassXC provides a safe location for your passwords and similar