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 EAAB9138331 for ; Wed, 16 May 2018 08:18:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AC91E093D; Wed, 16 May 2018 08:18:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 DBE7CE093A for ; Wed, 16 May 2018 08:18:44 +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 AA99E335C63 for ; Wed, 16 May 2018 08:18:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C149297 for ; Wed, 16 May 2018 08:18:42 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1526458663.dbce389e48b0996f21c14cd44a8492bcc5581f93.asturm@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/qtpass-1.2.2.ebuild X-VCS-Directories: app-admin/qtpass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: dbce389e48b0996f21c14cd44a8492bcc5581f93 X-VCS-Branch: master Date: Wed, 16 May 2018 08:18:42 +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: 45a556ab-9696-4201-87e1-ff9b82bd9283 X-Archives-Hash: 8ba1feed7430c521e7b7ee55e09deed5 commit: dbce389e48b0996f21c14cd44a8492bcc5581f93 Author: Vladimir Pavljuchenkov (SpiderX) spiderx dp ua> AuthorDate: Tue May 15 17:37:04 2018 +0000 Commit: Andreas Sturmlechner gentoo 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 +}