Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/qtpass/
Date: Tue, 02 Feb 2016 08:02:11
Message-Id: 1454400101.2530948c04ba31fab3200dffad3ae32ac6e52fe8.idella4@gentoo
1 commit: 2530948c04ba31fab3200dffad3ae32ac6e52fe8
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 06:10:08 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 08:01:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2530948c
7
8 app-admin/qtpass: bump to vn. 1.1.0
9
10 ebuild by maintainer sourced from the gentoo bug
11
12 Gentoo bug: #572986
13
14 Package-Manager: portage-2.2.26
15
16 app-admin/qtpass/Manifest | 1 +
17 app-admin/qtpass/qtpass-1.1.0.ebuild | 62 ++++++++++++++++++++++++++++++++++++
18 2 files changed, 63 insertions(+)
19
20 diff --git a/app-admin/qtpass/Manifest b/app-admin/qtpass/Manifest
21 index f720394..62b8074 100644
22 --- a/app-admin/qtpass/Manifest
23 +++ b/app-admin/qtpass/Manifest
24 @@ -1 +1,2 @@
25 DIST qtpass-1.0.5.tar.gz 636461 SHA256 0c07bd1eb9e5336c0225f891e5b9a9df103f218619cf7ec6311edf654e8db281 SHA512 e1b63f1058dc9c194f06376d52acbbb8594d429f4d7fe4ba27baed2cafe10b1c36137b3e33626c1bf33c7f3e1444e6fbe48fc66a83e0f7cd82f5b47f0193d178 WHIRLPOOL acb914d89bcd667343f648e38bb9eb316ebbf0b01f75686d3a7694e82eedd3e3f52ffc99f530bbe3ccbb6089ced727796924fcf48a94c071a3e20b27141b28df
26 +DIST qtpass-1.1.0.tar.gz 671525 SHA256 60b458062f54184057e55dbd9c93958a8bf845244ffd70b9cb31bf58697f0dc6 SHA512 da7439f2c18c46cbf4df15538210051ad60d036334e62a1c4f62d6c1ccff8e4327fb0c6030ed89f78ffd87b615fcaae8ed5552099ff8663bff713990216132ae WHIRLPOOL 4288ee76762c41a81fece4b72bacb1560b28d5681ce288f5e9b5fd9257fd778e4038fc0c75951bdb2a967afdf6ac66035fc716606b1ad6148834fc4ca81dfe45
27
28 diff --git a/app-admin/qtpass/qtpass-1.1.0.ebuild b/app-admin/qtpass/qtpass-1.1.0.ebuild
29 new file mode 100644
30 index 0000000..c173745
31 --- /dev/null
32 +++ b/app-admin/qtpass/qtpass-1.1.0.ebuild
33 @@ -0,0 +1,62 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI=5
39 +
40 +inherit qmake-utils
41 +
42 +DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
43 +HOMEPAGE="https://qtpass.org/"
44 +SRC_URI="https://github.com/IJHack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~x86 ~amd64"
49 +IUSE="+qt5"
50 +DOCS=( FAQ.md README.md CONTRIBUTING.md )
51 +
52 +RDEPEND="qt5? (
53 + dev-qt/qtcore:5
54 + dev-qt/qtgui:5[xcb]
55 + dev-qt/qtwidgets:5
56 + dev-qt/qtnetwork:5
57 + )
58 + !qt5? (
59 + dev-qt/qtcore:4
60 + dev-qt/qtgui:4
61 + )
62 + app-admin/pass
63 + net-misc/x11-ssh-askpass"
64 +DEPEND="${RDEPEND}
65 + qt5? (
66 + dev-qt/linguist-tools:5
67 + dev-qt/qtsvg:5
68 + )
69 + !qt5? ( dev-qt/qtsvg:4 )"
70 +
71 +src_prepare() {
72 + # Modify install path
73 + sed -i "s/target.path = \$\$PREFIX/target.path = \$\$PREFIX\/bin/" \
74 + ${PN}.pro \
75 + || die "sed failed to modify install path for ${PN}.pro"
76 +
77 + epatch_user
78 +}
79 +
80 +src_configure() {
81 + if use qt5 ; then
82 + eqmake5 PREFIX="${D}"/usr
83 + else
84 + eqmake4 PREFIX="${D}"/usr
85 + fi
86 +}
87 +
88 +src_install() {
89 + default
90 +
91 + insinto /usr/share/applications
92 + doins "${PN}.desktop"
93 +
94 + newicon artwork/icon.svg "${PN}-icon.svg"
95 +}