commit:     b692f5c9fb28b184f599e6fc8123023a0149ef0a
Author:     Martin Dummer <martin.dummer <AT> gmx <DOT> net>
AuthorDate: Tue Nov 16 07:08:44 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 16 08:16:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b692f5c9

app-admin/passwordsafe: fix icon, EAPI=8

fix icon installation path and handling, move to EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../{passwordsafe-1.14.0.ebuild => passwordsafe-1.14.0-r1.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-admin/passwordsafe/passwordsafe-1.14.0.ebuild 
b/app-admin/passwordsafe/passwordsafe-1.14.0-r1.ebuild
similarity index 91%
rename from app-admin/passwordsafe/passwordsafe-1.14.0.ebuild
rename to app-admin/passwordsafe/passwordsafe-1.14.0-r1.ebuild
index 42ae73ac83fd..89108fe1776f 100644
--- a/app-admin/passwordsafe/passwordsafe-1.14.0.ebuild
+++ b/app-admin/passwordsafe/passwordsafe-1.14.0-r1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 WX_GTK_VER="3.0-gtk3"
 
-inherit cmake desktop flag-o-matic optfeature wxwidgets
+inherit cmake desktop flag-o-matic optfeature wxwidgets xdg
 
 MY_PV="${PV/_beta/BETA}"
 DESCRIPTION="Password manager with wxGTK based frontend"
@@ -79,10 +79,12 @@ src_install() {
        insinto /usr/share/${PN}
        doins -r xml
 
-       doicon install/graphics/pwsafe.png
+       doicon -s 48 install/graphics/pwsafe.png
        newmenu install/desktop/pwsafe.desktop ${PN}.desktop
 }
 
 pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
        optfeature "on-screen keyboard for password entry" x11-misc/xvkbd
 }

Reply via email to