From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 483221384B4 for ; Mon, 4 Jan 2016 07:16:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94340E085D; Mon, 4 Jan 2016 07:16:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27667E085D for ; Mon, 4 Jan 2016 07:16:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D559933FD3F for ; Mon, 4 Jan 2016 07:15:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2354AC6A for ; Mon, 4 Jan 2016 07:15:53 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1451891704.019bcd0e1fa9001399fe53a872fbd4aa8a9e7bd2.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/qtpass/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/qtpass/Manifest app-admin/qtpass/metadata.xml app-admin/qtpass/qtpass-1.0.5.ebuild X-VCS-Directories: app-admin/qtpass/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 019bcd0e1fa9001399fe53a872fbd4aa8a9e7bd2 X-VCS-Branch: master Date: Mon, 4 Jan 2016 07:15:53 +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: c6b3266f-1b78-488c-9dc0-dad4b103e430 X-Archives-Hash: fe1c7ba9b796d0f3dbc7a2d58df5c8fe commit: 019bcd0e1fa9001399fe53a872fbd4aa8a9e7bd2 Author: Ian Delaney gentoo org> AuthorDate: Mon Jan 4 07:13:14 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Jan 4 07:15:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019bcd0e app-admin/qtpass: New ebuild, a GUI for app-admin/pass in qt ebuild submitted by the OP Anne Jan Brouwer which was edited by Merlijn Wajer who agreed to proxy maintain, however in the end, ebuild also submitted by spiderx who also agreed to proxy maintain. With consent by Merlijn Wajer, the proxy maintainership has been assigned to spiderx; ebuild submitted in Comment 8 of the gentoo bug and usedfor this addition to the tree with minor touchups to bring style and syntax in the ebuild and metadata to required needs. Cross tested fully by user wraeth and myself. Fixes and closes the gentoo bug Gentoo bug: #564190 Package-Manager: portage-2.2.26 app-admin/qtpass/Manifest | 1 + app-admin/qtpass/metadata.xml | 18 +++++++++++ app-admin/qtpass/qtpass-1.0.5.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) diff --git a/app-admin/qtpass/Manifest b/app-admin/qtpass/Manifest new file mode 100644 index 0000000..f720394 --- /dev/null +++ b/app-admin/qtpass/Manifest @@ -0,0 +1 @@ +DIST qtpass-1.0.5.tar.gz 636461 SHA256 0c07bd1eb9e5336c0225f891e5b9a9df103f218619cf7ec6311edf654e8db281 SHA512 e1b63f1058dc9c194f06376d52acbbb8594d429f4d7fe4ba27baed2cafe10b1c36137b3e33626c1bf33c7f3e1444e6fbe48fc66a83e0f7cd82f5b47f0193d178 WHIRLPOOL acb914d89bcd667343f648e38bb9eb316ebbf0b01f75686d3a7694e82eedd3e3f52ffc99f530bbe3ccbb6089ced727796924fcf48a94c071a3e20b27141b28df diff --git a/app-admin/qtpass/metadata.xml b/app-admin/qtpass/metadata.xml new file mode 100644 index 0000000..6c4ad75 --- /dev/null +++ b/app-admin/qtpass/metadata.xml @@ -0,0 +1,18 @@ + + + + proxy-maintainers + + spiderx@spiderx.dp.ua + Vladimir Pavljuchenkov + Proxied maintainer; set to assignee in all bugs + + +QtPass is a multi-platform GUI for pass, the standard unix password manager. + + + https://github.com/IJHack/qtpass/releases + https://github.com/IJHack/qtpass/wiki + https://github.com/IJHack/qtpass/issues + + diff --git a/app-admin/qtpass/qtpass-1.0.5.ebuild b/app-admin/qtpass/qtpass-1.0.5.ebuild new file mode 100644 index 0000000..ed2aa21 --- /dev/null +++ b/app-admin/qtpass/qtpass-1.0.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils + +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="~x86 ~amd64" +IUSE="+qt5" +DOCS=( FAQ.md README.md CONTRIBUTING.md ) + +RDEPEND="qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[xcb] + dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 + ) + !qt5? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + app-admin/pass" +DEPEND="${RDEPEND} + qt5? ( dev-qt/linguist-tools:5 )" + +src_prepare() { + # Modify install path + sed -i "s/target.path = \$\$PREFIX/target.path = \$\$PREFIX\/bin/" \ + ${PN}.pro \ + || die "sed failed to modify install path for ${PN}.pro" + + # Backport segfault fix https://github.com/IJHack/qtpass/issues/122 + # (ToDo: remove this in 1.0.6) + sed -e "/QtPass = NULL;/{n;d};/startupPhase = true;/a autoclearTimer = NULL;" \ + -i mainwindow.cpp || die "sed failed mainwindow.cpp" + + epatch_user +} + +src_configure() { + if use qt5 ; then + eqmake5 PREFIX="${D}"/usr + else + eqmake4 PREFIX="${D}"/usr + fi +} + +src_install() { + default + + insinto /usr/share/applications + doins "${PN}.desktop" + + newicon artwork/icon.svg "${PN}-icon.svg" +}