public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/
Date: Tue,  2 Feb 2016 21:27:06 +0000 (UTC)	[thread overview]
Message-ID: <1454448417.a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25.mrueg@gentoo> (raw)

commit:     a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  2 21:26:57 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 21:26:57 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=a4b005bf

app-admin/passwordsafe: Fix dependencies

Package-Manager: portage-2.2.27

 app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
index dac9adf..51be156 100644
--- a/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
+++ b/app-admin/passwordsafe/passwordsafe-0.98_beta.ebuild
@@ -16,17 +16,18 @@ SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
 LICENSE="Artistic-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="minimal yubikey +xml"
+IUSE="minimal test yubikey +xml"
 
 RDEPEND="xml? ( dev-libs/xerces-c )
 	sys-apps/util-linux
-	sys-devel/gettext
 	x11-libs/libXt
 	x11-libs/libXtst
 	x11-libs/wxGTK:${WX_GTK_VER}[X]
 	!minimal? ( !!app-misc/pwsafe )
 	yubikey? ( sys-auth/ykpers )"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+	test? ( dev-cpp/gtest )"
 
 S=${WORKDIR}/pwsafe-${MY_PV}
 
@@ -42,6 +43,8 @@ src_prepare() {
 	sed -i docs/pwsafe.1 \
 		-e 's/PWSAFE/PASSWORDSAFE/' \
 		-e "s/^.B pwsafe/.B ${PN}/" || die
+	use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
+		-e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
 	epatch "${FILESDIR}"/${P}-fix-noyubikey.patch\
 		"${FILESDIR}"/${P}-fix-yubikey.patch
 }


             reply	other threads:[~2016-02-02 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 21:27 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-06 15:21 [gentoo-commits] dev/mrueg:master commit in: app-admin/passwordsafe/ Manuel Rüger
2016-03-06 15:02 Manuel Rüger
2015-10-27  0:08 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454448417.a4b005bf0b3c2a069ddeccf667cbb0bf5e63fa25.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox