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 1D8E61382C5 for ; Thu, 10 Dec 2020 07:31:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70975E0932; Thu, 10 Dec 2020 07:31:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 59102E0932 for ; Thu, 10 Dec 2020 07:31:16 +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 0A1D4340D41 for ; Thu, 10 Dec 2020 07:31:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D3D6489 for ; Thu, 10 Dec 2020 07:31: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: <1607585459.d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/qtpass/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/qtpass/qtpass-1.3.2-r2.ebuild X-VCS-Directories: app-admin/qtpass/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda X-VCS-Branch: master Date: Thu, 10 Dec 2020 07:31: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: b2ffd8e2-3771-417c-9056-be0830d7e280 X-Archives-Hash: 9d24070eaf3dc94e94e5676911ba2599 commit: d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda Author: Vladimir Pavljuchenkov (SpiderX) spiderx dp ua> AuthorDate: Fri Dec 4 21:32:05 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Dec 10 07:30:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cbbd4b app-admin/qtpass: fix metainfo install location Closes: https://bugs.gentoo.org/744358 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Vladimir Pavljuchenkov spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/18507 Signed-off-by: Joonas Niilola gentoo.org> app-admin/qtpass/qtpass-1.3.2-r2.ebuild | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/app-admin/qtpass/qtpass-1.3.2-r2.ebuild b/app-admin/qtpass/qtpass-1.3.2-r2.ebuild new file mode 100644 index 00000000000..68259ad478d --- /dev/null +++ b/app-admin/qtpass/qtpass-1.3.2-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop qmake-utils virtualx + +DESCRIPTION="multi-platform GUI for pass, the standard unix password manager" +HOMEPAGE="https://qtpass.org" +SRC_URI="https://github.com/IJHack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" + +RDEPEND="|| ( app-admin/pass app-admin/gopass ) + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + net-misc/x11-ssh-askpass" +DEPEND="${RDEPEND} + dev-qt/qtsvg:5 + test? ( dev-qt/qttest:5 )" +BDEPEND="dev-qt/linguist-tools:5" + +RESTRICT="!test? ( test )" + +S="${WORKDIR}/QtPass-${PV}" + +DOCS=( {CHANGELOG,CONTRIBUTING,FAQ,README}.md ) + +src_prepare() { + default + + if ! use test ; then + sed -i '/SUBDIRS += src /s/tests //' \ + qtpass.pro || die "sed for qtpass.pro failed" + fi +} + +src_configure() { + eqmake5 PREFIX="${D}"/usr +} + +src_test() { + virtx default +} + +src_install() { + default + + insinto /usr/share/qtpass/translations + doins localization/*.qm + + doman qtpass.1 + domenu qtpass.desktop + newicon artwork/icon.png qtpass-icon.png + insinto /usr/share/metainfo + doins qtpass.appdata.xml +}