net-im/psi: Switch to xdg.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:16:41 +0000 (10:16 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:58:23 +0000 (10:58 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-im/psi/psi-1.4.ebuild
net-im/psi/psi-9999.ebuild

index c32424e600c838d5fa64bf9e479f7472e0549db5..ac7520c15da36a652099e5fe6b626ff7db16158b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit l10n qmake-utils gnome2-utils xdg-utils
+inherit l10n qmake-utils xdg
 
 DESCRIPTION="Qt XMPP client"
 HOMEPAGE="https://psi-im.org"
@@ -113,12 +113,6 @@ src_install() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postinst
        einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
 }
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-}
index 504d2fa256f116ec8e43bd6f153db679510dafd6..4c1e85949f64e994b77eb6fa105e635e59764b7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit l10n git-r3 qmake-utils gnome2-utils xdg-utils
+inherit l10n git-r3 qmake-utils xdg
 
 DESCRIPTION="Qt XMPP client"
 HOMEPAGE="https://psi-im.org"
@@ -189,12 +189,6 @@ src_install() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postinst
        einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
 }
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-}