From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECB311382F6 for ; Thu, 7 Jul 2016 17:58:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1FDAE08C6; Thu, 7 Jul 2016 17:58:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FCB0E08C6 for ; Thu, 7 Jul 2016 17:58:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3B3C340A51 for ; Thu, 7 Jul 2016 17:58:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AB3D243D for ; Thu, 7 Jul 2016 12:01:55 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1467892894.fab5fcc6cbc209f49f1ec6776bd3b0e28ecc246e.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/passwordsafe/Manifest app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild X-VCS-Directories: app-admin/passwordsafe/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: fab5fcc6cbc209f49f1ec6776bd3b0e28ecc246e X-VCS-Branch: master Date: Thu, 7 Jul 2016 12:01:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3324b033-52ae-4e8e-8c61-863bd8b70fe5 X-Archives-Hash: db9e1192aeeee37d2583c644a991b8dc commit: fab5fcc6cbc209f49f1ec6776bd3b0e28ecc246e Author: Manuel Rüger gentoo org> AuthorDate: Thu Jul 7 12:01:34 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Jul 7 12:01:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab5fcc6 app-admin/passwordsafe: Version bump to 0.99_beta Package-Manager: portage-2.2.28 app-admin/passwordsafe/Manifest | 1 + .../passwordsafe/passwordsafe-0.99_beta.ebuild | 88 ++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/app-admin/passwordsafe/Manifest b/app-admin/passwordsafe/Manifest index 6e8cf27..b082324 100644 --- a/app-admin/passwordsafe/Manifest +++ b/app-admin/passwordsafe/Manifest @@ -1 +1,2 @@ DIST passwordsafe-0.98.1_beta.tar.gz 13836527 SHA256 d44bd032ac92503b118e59c19d6d8cccae85e4abe3561f72a4ae58bffd33e2a5 SHA512 42eecb9d2f3ccfaab2dff3b4dedee3fcb97645632f7596c724dc0eeacef55d88fad7438b863990cb2964b3fdf6272aec2bb53be53bb185d9fe593eb351a459ab WHIRLPOOL 0303c5c7d092290143925ba8edf6972dfc901e27bdb6f02f2e14a3e234b8dd47eeb131be015356a2378254d6ea76ae2020c04149a9b9c65139b16c48ff78429f +DIST passwordsafe-0.99_beta.tar.gz 13867271 SHA256 d5369fe83e44dc5a3feb850b8bfb91d42a9ca11256470a561dd91c37c952571f SHA512 338317c0a618686d646a6e2ea50887429aab08e7b6f263a03a2befcaf23e3b706147a5e36a0c5b4b73bc1c762b31407ab797795a9229370a603459236d974694 WHIRLPOOL b7620ee0156d843d1c80ce46ae098cd8920d1eb023f45f0d566e8a32fd0323dc3e4cca99e9b2249969df6481af145ff50c98e4e4972590ffd41373a1fbeb1bda diff --git a/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild b/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild new file mode 100644 index 0000000..3634dff --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-0.99_beta.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +WX_GTK_VER="3.0" + +inherit eutils flag-o-matic wxwidgets cmake-utils + +MY_PV="${PV/_beta/BETA}" +DESCRIPTION="Password manager with wxGTK based frontend" +HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/" +SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="minimal test yubikey +xml" + +RDEPEND="xml? ( dev-libs/xerces-c ) + sys-apps/util-linux + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}[X] + !minimal? ( !!app-misc/pwsafe ) + yubikey? ( sys-auth/ykpers )" +DEPEND="${RDEPEND} + sys-devel/gettext + test? ( dev-cpp/gtest )" + +S=${WORKDIR}/pwsafe-${MY_PV} + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_prepare() { + # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe + # instead. Perform required changes in linking files + sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die + 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 +} + +src_configure() { + need-wxwidgets unicode + + local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON') + $(usex xml '' '-DNO_XML=ON') ) + + cmake-utils_src_configure +} + +src_install() { + pushd "${BUILD_DIR}" || die + if use minimal; then + newbin pwsafe ${PN} + else + dobin pwsafe + dosym pwsafe /usr/bin/${PN} + fi + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + # The upstream Makefile builds this .zip file from html source material for + # use by the package's internal help system. Must prevent + # Portage from applying additional compression. + docompress -x /usr/share/doc/${PN}/help + insinto /usr/share/doc/${PN}/help + doins help/*.zip + + popd || die + + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt} + + insinto /usr/share/pwsafe/xml + doins xml/* + + newicon install/graphics/pwsafe.png ${PN}.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +}