app-admin/qtpass: use virtualx eclass
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>
Sat, 2 Nov 2019 16:54:52 +0000 (18:54 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 2 Nov 2019 22:40:58 +0000 (23:40 +0100)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/13527
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-admin/qtpass/qtpass-1.3.2.ebuild

index 5e74ff1ca07bde3fc64e8e21ba2c6700275d2419..dad3a4d82ee630fe16f7b5c21712b3087c07dc85 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop qmake-utils
+inherit desktop qmake-utils virtualx
 
 DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
 HOMEPAGE="https://qtpass.org/"
@@ -44,15 +44,19 @@ src_configure() {
        eqmake5 PREFIX="${D}"/usr
 }
 
+src_test() {
+       virtx default
+}
+
 src_install() {
        default
 
-       insinto /usr/share/"${PN}"/translations
+       insinto /usr/share/qtpass/translations
        doins localization/*.qm
 
-       doman "${PN}".1
-       domenu "${PN}".desktop
-       newicon artwork/icon.png "${PN}"-icon.png
+       doman qtpass.1
+       domenu qtpass.desktop
+       newicon artwork/icon.png qtpass-icon.png
        insinto /usr/share/appdata
        doins qtpass.appdata.xml
 }