summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-20 09:45:05 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-20 09:45:05 +0100
commitde5cbdd9f11d1d6d2c37a1449d6cfb910e3906e4 (patch)
tree7718c1ea9d41646f9e8cd69fc6734109211d3729 /app-admin
parentapp-admin/keepassxc: Put net-libs/libmicrohttpd behind "http" USE flag. (diff)
downloadgentoo-de5cbdd9f11d1d6d2c37a1449d6cfb910e3906e4.tar.gz
gentoo-de5cbdd9f11d1d6d2c37a1449d6cfb910e3906e4.tar.bz2
gentoo-de5cbdd9f11d1d6d2c37a1449d6cfb910e3906e4.zip
app-admin/keepassxc: Bump to version 2.1.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/keepassxc/Manifest1
-rw-r--r--app-admin/keepassxc/keepassxc-2.1.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest
index a9e32c469656..647e3937b4ee 100644
--- a/app-admin/keepassxc/Manifest
+++ b/app-admin/keepassxc/Manifest
@@ -1 +1,2 @@
DIST keepassxc-2.1.1.tar.gz 3274143 SHA256 b0a737640070d80483b2ac436d87c2872a248f60f86b741e5413b0b8cda92eef SHA512 7ec2aab5b5e87036b3c778fd9b24612a35ac80243c009da9151f0a8aca9b7065c6652bc595be2958cd4fd96c5c8937cc7ce668c47d34267b7e014c3117a32e72 WHIRLPOOL 5cb6a85c58e28eeff8f11bb70a8b949e15e0f97769c73844474abab321c40f81c6a23b3efe1c05ce5e8e8623c7feb3e38d64cda88b13fedc651a722a3607806f
+DIST keepassxc-2.1.2.tar.gz 3319554 SHA256 8cd94a401910ff67cadeed3d7d1b285f1e5d82ac8622a05b5c7eae60f28f1710 SHA512 81c30612eec301f2b6776e229c607f2d9a721c8bed7ca34403f4c281a90a9e110e4673830630447b50d0aef241f2e983394b2513394dcf48751c0f13de9a9586 WHIRLPOOL d032277686f73889f03a7f8cbabace5eafbb8f3f95f6a36678e2eb8913322de514226af5d038b094d5ce910e445843992c29b64447eec453254f686d64270c16
diff --git a/app-admin/keepassxc/keepassxc-2.1.2.ebuild b/app-admin/keepassxc/keepassxc-2.1.2.ebuild
new file mode 100644
index 000000000000..b8c270b05bd5
--- /dev/null
+++ b/app-admin/keepassxc/keepassxc-2.1.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+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
+ )
+ http? ( net-libs/libmicrohttpd )
+"
+# 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
+}