diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2020-12-04 23:32:05 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-12-10 09:30:59 +0200 |
commit | d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda (patch) | |
tree | 41fd5633841b3c29f803e6fc3ac33190d316a8d4 /app-admin/qtpass | |
parent | net-im/slack: version bump to 4.11.3 (diff) | |
download | gentoo-d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda.tar.gz gentoo-d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda.tar.bz2 gentoo-d4cbbd4b2bd2b0f78b896ab451614d336d7e7dda.zip |
app-admin/qtpass: fix metainfo install location
Closes: https://bugs.gentoo.org/744358
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/18507
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-admin/qtpass')
-rw-r--r-- | app-admin/qtpass/qtpass-1.3.2-r2.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/qtpass/qtpass-1.3.2-r2.ebuild b/app-admin/qtpass/qtpass-1.3.2-r2.ebuild new file mode 100644 index 000000000000..68259ad478d9 --- /dev/null +++ b/app-admin/qtpass/qtpass-1.3.2-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 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 ~ppc64 ~x86" +IUSE="test" + +RDEPEND="|| ( app-admin/pass app-admin/gopass ) + dev-qt/qtcore:5 + dev-qt/qtgui:5 + 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/metainfo + doins qtpass.appdata.xml +} |