public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/qtpass/
Date: Wed, 16 May 2018 08:18:42 +0000 (UTC)	[thread overview]
Message-ID: <1526458663.dbce389e48b0996f21c14cd44a8492bcc5581f93.asturm@gentoo> (raw)

commit:     dbce389e48b0996f21c14cd44a8492bcc5581f93
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Tue May 15 17:37:04 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 16 08:17:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbce389e

app-admin/qtpass: 1.2.2 version bump

1. Sorted in alphabetical order eclasses, keywords.
2. Added USE-flag test.
3. Fixed dependencies and src_prepare section.
4. Fixed tests installation (patches are in upstream).
5. Added installation of appdata.
6. Added localization support (l10n eclass).

Closes: https://bugs.gentoo.org/643526
Closes: https://bugs.gentoo.org/642956
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6794

 app-admin/qtpass/Manifest            |  1 +
 app-admin/qtpass/qtpass-1.2.2.ebuild | 74 ++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/app-admin/qtpass/Manifest b/app-admin/qtpass/Manifest
index 397410986fb..0d1ae76af59 100644
--- a/app-admin/qtpass/Manifest
+++ b/app-admin/qtpass/Manifest
@@ -1 +1,2 @@
 DIST qtpass-1.2.1.tar.gz 361147 BLAKE2B f46ce4362d4d3e0c0b0a425e5a40cf013181b899d5b1a2efc03cc5c4a3eca2d3ce1cdca78fdb95e8fecae23ffe56c01dbe65c9d07e2fff48934e995a710aac40 SHA512 3621a46aab5db5a41e80aea10bc6baf662510bcb249a1f56d33492aa66c824d9f018164f2d6a70256a7b3d59a9b73c4c8459b5d3fbe19886a607f8f0dc7410c1
+DIST qtpass-1.2.2.tar.gz 366601 BLAKE2B 7b06926465e7d7cbb837cf87b47a89b114b9ae9c508aa558695744c84a00a58a8922155eda3f91a6350354668b381381be757db07f201798a2ee25685e034871 SHA512 cb480357b161573054b752af25f20757057de5c5b2e55619e3fa594c5d9b63c7036b72c0ae7735f8ec197ac8aa43b7fdfbc836b29fbe4c85de8dc5d93ce7bbd2

diff --git a/app-admin/qtpass/qtpass-1.2.2.ebuild b/app-admin/qtpass/qtpass-1.2.2.ebuild
new file mode 100644
index 00000000000..e0c3748be47
--- /dev/null
+++ b/app-admin/qtpass/qtpass-1.2.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="QtPass-${PV}"
+PLOCALES="ar_MA ca cs_CZ de_DE de_LU el_GR en_GB en_US es_ES fr_BE fr_FR fr_LU
+gl_ES he_IL hu_HU it_IT lb_LU nl_BE nl_NL pl_PL pt_PT ru_RU sv_SE zh_CN"
+
+inherit desktop l10n 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="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="app-admin/pass
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5[xcb]
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	net-misc/x11-ssh-askpass"
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5
+	dev-qt/qtsvg:5
+	test? ( dev-qt/qttest:5 )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md FAQ.md README.md  )
+
+src_prepare() {
+	default
+
+	if ! use test ; then
+		sed -i '/SUBDIRS += src /s/tests //' \
+			qtpass.pro || die "sed for qtpass.pro failed"
+	fi
+
+	l10n_find_plocales_changes localization localization_ .ts
+}
+
+src_configure() {
+	eqmake5 PREFIX="${D}"/usr
+}
+
+src_compile() {
+	default
+
+	local lr
+	lr="$(qt5_get_bindir)"/lrelease
+	l10n_build() {
+		$lr localization/localization_"${1}".ts || die "lrelease ${1} failed"
+	}
+	l10n_for_each_locale_do l10n_build
+}
+
+src_install() {
+	default
+
+	insinto /usr/share/"${PN}"/translations
+	doins localization/*.qm
+
+	doman "${PN}".1
+	insinto /usr/share/applications
+	doins "${PN}".desktop
+	newicon artwork/icon.png "${PN}"-icon.png
+	insinto /usr/share/appdata
+	doins qtpass.appdata.xml
+}


             reply	other threads:[~2018-05-16  8:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-16  8:18 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-08 16:08 [gentoo-commits] repo/gentoo:master commit in: app-admin/qtpass/ Arthur Zamarin
2023-12-17 19:37 Arthur Zamarin
2021-04-05  2:13 Mike Gilbert
2020-12-10  7:31 Joonas Niilola
2020-12-10  7:31 Joonas Niilola
2020-12-10  7:31 Joonas Niilola
2020-05-19 20:36 Mikle Kolyada
2020-03-20 14:30 Joonas Niilola
2020-01-19 23:53 Andreas Sturmlechner
2020-01-19 23:53 Andreas Sturmlechner
2020-01-19 13:52 Andreas Sturmlechner
2020-01-18 11:19 Georgy Yakovlev
2019-11-02 22:41 Andreas Sturmlechner
2019-11-02 16:37 Andreas Sturmlechner
2019-11-02 15:23 Andreas Sturmlechner
2018-07-17 21:01 Andreas Sturmlechner
2018-07-17 21:01 Andreas Sturmlechner
2018-06-21 14:54 Georgy Yakovlev
2018-05-16  8:18 Andreas Sturmlechner
2018-05-16  8:18 Andreas Sturmlechner
2018-01-04 20:54 Jason Donenfeld
2017-09-22 10:09 Michael Palimaka
2017-02-18  4:29 Michael Palimaka
2016-11-05 15:24 Michael Palimaka
2016-02-02  8:02 Ian Delaney
2016-01-04  7:15 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526458663.dbce389e48b0996f21c14cd44a8492bcc5581f93.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox