commit:     77a83e39aab60e0e6dd153437ed58d0c9177faee
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 23:14:08 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 23:15:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a83e39

games-emulation/dolphin: [QA] Add call to 'gnome2_icon_cache_update'

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 games-emulation/dolphin/dolphin-5.0.ebuild  | 8 +++++++-
 games-emulation/dolphin/dolphin-9999.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/games-emulation/dolphin/dolphin-5.0.ebuild 
b/games-emulation/dolphin/dolphin-5.0.ebuild
index 19005325105..56737af95d7 100644
--- a/games-emulation/dolphin/dolphin-5.0.ebuild
+++ b/games-emulation/dolphin/dolphin-5.0.ebuild
@@ -7,7 +7,7 @@ PLOCALES="ar ca cs da_DK de el en es fa fr hr hu it ja ko ms_MY 
nb nl pl pt pt_B
 PLOCALE_BACKUP="en"
 WX_GTK_VER="3.0"
 
-inherit cmake-utils desktop l10n pax-utils toolchain-funcs versionator 
wxwidgets
+inherit cmake-utils desktop gnome2-utils l10n pax-utils toolchain-funcs 
versionator wxwidgets
 
 SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip -> ${P}.zip"
 KEYWORDS="amd64"
@@ -170,4 +170,10 @@ pkg_postinst() {
                ewarn "If you want microphone capabilities in dolphin-emu, 
rebuild with"
                ewarn "USE=\"portaudio\""
        fi
+
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
 }

diff --git a/games-emulation/dolphin/dolphin-9999.ebuild 
b/games-emulation/dolphin/dolphin-9999.ebuild
index f6dddcb6d01..1df45aa1985 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -7,7 +7,7 @@ PLOCALES="ar ca cs da_DK de el en es fa fr hr hu it ja ko ms_MY 
nb nl pl pt pt_B
 PLOCALE_BACKUP="en"
 WX_GTK_VER="3.0"
 
-inherit cmake-utils desktop l10n pax-utils toolchain-funcs versionator 
wxwidgets
+inherit cmake-utils desktop gnome2-utils l10n pax-utils toolchain-funcs 
versionator wxwidgets
 
 if [[ ${PV} == *9999 ]]
 then
@@ -174,4 +174,10 @@ pkg_postinst() {
                ewarn "If you want microphone capabilities in dolphin-emu, 
rebuild with"
                ewarn "USE=\"portaudio\""
        fi
+
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
 }

Reply via email to