Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
Date: Tue, 02 Feb 2016 21:27:13
Message-Id: 1454448417.a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25.mrueg@gentoo
1 commit: a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 21:26:57 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 21:26:57 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=a4b005bf
7
8 app-admin/passwordsafe: Fix dependencies
9
10 Package-Manager: portage-2.2.27
11
12 app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15 diff --git a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
16 index dac9adf..51be156 100644
17 --- a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
18 +++ b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
19 @@ -16,17 +16,18 @@ SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
20 LICENSE="Artistic-2"
21 SLOT="0"
22 KEYWORDS="~amd64"
23 -IUSE="minimal yubikey +xml"
24 +IUSE="minimal test yubikey +xml"
25
26 RDEPEND="xml? ( dev-libs/xerces-c )
27 sys-apps/util-linux
28 - sys-devel/gettext
29 x11-libs/libXt
30 x11-libs/libXtst
31 x11-libs/wxGTK:${WX_GTK_VER}[X]
32 !minimal? ( !!app-misc/pwsafe )
33 yubikey? ( sys-auth/ykpers )"
34 -DEPEND="${RDEPEND}"
35 +DEPEND="${RDEPEND}
36 + sys-devel/gettext
37 + test? ( dev-cpp/gtest )"
38
39 S=${WORKDIR}/pwsafe-${MY_PV}
40
41 @@ -42,6 +43,8 @@ src_prepare() {
42 sed -i docs/pwsafe.1 \
43 -e 's/PWSAFE/PASSWORDSAFE/' \
44 -e "s/^.B pwsafe/.B ${PN}/" || die
45 + use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
46 + -e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
47 epatch "${FILESDIR}"/${P}-fix-noyubikey.patch\
48 "${FILESDIR}"/${P}-fix-yubikey.patch
49 }