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 5A8921382C5 for ; Tue, 15 Dec 2020 07:18:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5C05E092B; Tue, 15 Dec 2020 07:18:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C883E092B for ; Tue, 15 Dec 2020 07:18:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6CF334128A for ; Tue, 15 Dec 2020 07:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A50A49 for ; Tue, 15 Dec 2020 07:18:11 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1608016681.afe8b240a960b2bc4cd8726f510ffc87dcfcd444.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/passwordsafe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/passwordsafe/passwordsafe-1.12.0-r1.ebuild X-VCS-Directories: app-admin/passwordsafe/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: afe8b240a960b2bc4cd8726f510ffc87dcfcd444 X-VCS-Branch: master Date: Tue, 15 Dec 2020 07:18:11 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e086d049-8bde-4e0f-9cea-19088cf25001 X-Archives-Hash: 490e54118ab47bd4e17f35e6425db24d commit: afe8b240a960b2bc4cd8726f510ffc87dcfcd444 Author: Martin Dummer gmx net> AuthorDate: Tue Dec 8 21:38:07 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Dec 15 07:18:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe8b240 app-admin/passwordsafe: fix icon filename in desktop file Fix filename in the passwordsafe.desktop description file, so that the icon appears in the menu. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Martin Dummer gmx.net> Closes: https://github.com/gentoo/gentoo/pull/18572 Signed-off-by: Joonas Niilola gentoo.org> .../passwordsafe/passwordsafe-1.12.0-r1.ebuild | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/app-admin/passwordsafe/passwordsafe-1.12.0-r1.ebuild b/app-admin/passwordsafe/passwordsafe-1.12.0-r1.ebuild new file mode 100644 index 00000000000..df1f621a56e --- /dev/null +++ b/app-admin/passwordsafe/passwordsafe-1.12.0-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" + +inherit cmake desktop flag-o-matic optfeature wxwidgets + +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="libressl qr test +xml yubikey" +RESTRICT="!test? ( test )" + +DEPEND=" + net-misc/curl + sys-apps/file + sys-apps/util-linux + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}[X] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + qr? ( media-gfx/qrencode ) + xml? ( dev-libs/xerces-c ) + yubikey? ( sys-auth/ykpers )" +RDEPEND="${DEPEND}" +BDEPEND=" + app-arch/zip + sys-devel/gettext + test? ( dev-cpp/gtest )" + +S="${WORKDIR}/pwsafe-${MY_PV}" + +PATCHES=( + "${FILESDIR}/${PN}-1.06_beta-system-gtest.patch" +) + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_configure() { + setup-wxwidgets + + local mycmakeargs=( + -DNO_QR=$(usex !qr) + -DNO_GTEST=$(usex !test) + -DSYSTEM_GTEST=ON + -DXML_XERCESC=$(usex xml) + -DNO_YUBI=$(usex !yubikey) + ) + + cmake_src_configure +} + +src_install() { + pushd "${BUILD_DIR}" || die + + dobin pwsafe + dobin cli/pwsafe-cli + dosym pwsafe /usr/bin/${PN} + dosym pwsafe-cli /usr/bin/${PN}-cli + + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + insinto /usr/share/${PN}/help + doins help/*.zip + + popd || die + + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.md README.LINUX.* SECURITY.md docs/{ReleaseNotes.md,ChangeLog.txt} + + insinto /usr/share/${PN} + doins -r xml + + doicon install/graphics/pwsafe.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +} + +pkg_postinst() { + optfeature "on-screen keyboard for password entry" x11-misc/xvkbd +}