diff options
Diffstat (limited to 'app-admin/qtpass')
-rw-r--r-- | app-admin/qtpass/Manifest | 2 | ||||
-rw-r--r-- | app-admin/qtpass/qtpass-1.3.2.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-admin/qtpass/Manifest b/app-admin/qtpass/Manifest index 807f5a96d7b8..10ef84d68c50 100644 --- a/app-admin/qtpass/Manifest +++ b/app-admin/qtpass/Manifest @@ -1,3 +1,5 @@ DIST qtpass-1.2.3.tar.gz 369412 BLAKE2B 55e8f5e7967b264b20aa044979620631f319e2ff38edcc4e1390ab5d9f35e1e90ff8ff00c94cd35a9b5c05a5ccd8d8fdfc97214e9bd9f564bae1bd80efe0f224 SHA512 d6c3af5b92042a38afecb40689d41c08105dd2a39555f78ebc585a6db6dd65cd8fd6dc637542dd3b5b4ce18f1a852768ffa298b5a461a2d0e4ef4950c58d1649 +DIST qtpass-1.3.2.tar.gz 310316 BLAKE2B ac0f562fd263e9d46980a69183cfd556596750e1050dbc50748cd9be45bc4bf39e4de14cb59f778cfc54f5c32050d567d88d65ec039cba1e9c2e8ef24d7ae99a SHA512 9026f74f6ff75fcef2f6a0862484a2a1eaed1370edd0659e8b4d20039affe846e0da3a0a26a804563813bc678638ab67fa516441208e70c7e9de9b2eda876a10 EBUILD qtpass-1.2.3.ebuild 1169 BLAKE2B 28e24f3651ef3abebd613d7e464e3d2ce2ee0fc759cd133144158fa7659699925cec08713848d34df52e28529287ab76a8fdc3a08ed630ea004cf02b9cef498d SHA512 f738908611196d83ffdaea3ff2360a97d2e7d2be46a9a7cffb3025bffba2b9127a331400b58307806819ec1728a39fab57cae7671a2d5baf2a9fea126a899d6e +EBUILD qtpass-1.3.2.ebuild 1187 BLAKE2B 041e02b80371294797db76f9c52f00f541ce7e1b4dbd605401e0d448cc3d3a7e4e468fe12cb3fa7b8c160bb8d5c1c5b5ceab4197c1cc48f0547cffd565026558 SHA512 9ca19544740a327f60f364db06e398960d37e72c0d5b5cffa6a1bd62951f127eea1b20d606f5a5a6088a28f228817d557f933d20ad2639a9346ebaece2005c27 MISC metadata.xml 571 BLAKE2B 1fec9b040ae2b49beec1b99abd0853f631275d3c7f22584a42b503d008ff9403edcd451194881d09224ab0d41ff0598dea2dc7a403aea0227adc4909d02deaad SHA512 937b219855427d7423067037b05ea3b7f19c01eca32fa38e3d6bad9354da039bf2be63a6450f0ebd71fcbd7b6b15b8ca1f993b89391597b1bfb7e3db3d3c04ae diff --git a/app-admin/qtpass/qtpass-1.3.2.ebuild b/app-admin/qtpass/qtpass-1.3.2.ebuild new file mode 100644 index 000000000000..dad3a4d82ee6 --- /dev/null +++ b/app-admin/qtpass/qtpass-1.3.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 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 ~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/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/appdata + doins qtpass.appdata.xml +} |