2016-06-16 11:04:32 +02:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2014-12-14 20:13:24 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2016-06-16 11:04:32 +02:00
|
|
|
# $Id$
|
2014-12-14 20:13:24 +01:00
|
|
|
|
2016-06-16 11:04:32 +02:00
|
|
|
EAPI=6
|
2014-12-14 20:13:24 +01:00
|
|
|
|
|
|
|
EGIT_REPO_URI="https://github.com/kylemanna/keepassx"
|
2016-06-16 11:04:32 +02:00
|
|
|
EGIT_COMMIT="e0e96ce0fb053d2ec58ec8257136f100683ffe63"
|
2014-12-14 20:13:24 +01:00
|
|
|
EGIT_BRANCH="yubikey"
|
|
|
|
|
2016-06-16 11:04:32 +02:00
|
|
|
inherit git-r3 cmake-utils
|
|
|
|
|
2014-12-14 20:13:24 +01:00
|
|
|
DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions"
|
|
|
|
HOMEPAGE="http://www.keepassx.org/"
|
2016-06-16 11:04:32 +02:00
|
|
|
SRC_URI=""
|
2014-12-14 20:13:24 +01:00
|
|
|
|
|
|
|
LICENSE="|| ( GPL-2 GPL-3 ) BSD GPL-2 LGPL-2.1 LGPL-3+ CC0-1.0 public-domain || ( LGPL-2.1 GPL-3 )"
|
|
|
|
SLOT="0"
|
2016-06-16 11:04:32 +02:00
|
|
|
KEYWORDS="amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
2014-12-14 20:13:24 +01:00
|
|
|
IUSE="test yubikey"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-libs/libgcrypt:0=
|
2016-06-16 11:04:32 +02:00
|
|
|
dev-qt/qtcore:5
|
|
|
|
dev-qt/qtgui:5
|
|
|
|
dev-qt/qttest:5
|
|
|
|
dev-qt/qtx11extras:5
|
2014-12-14 20:13:24 +01:00
|
|
|
sys-libs/zlib
|
|
|
|
x11-libs/libX11
|
|
|
|
x11-libs/libXtst
|
|
|
|
yubikey? ( sys-auth/libyubikey
|
|
|
|
sys-auth/ykpers )
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
DOCS=(CHANGELOG)
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
2016-06-16 11:04:32 +02:00
|
|
|
-DWITH_TESTS="$(usex test)"
|
2014-12-14 20:13:24 +01:00
|
|
|
)
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|