games-emulation/dolphin: [QA] Add call to 'gnome2_icon_cache_update'
authorDavid Seifert <soap@gentoo.org>
Sat, 13 Jan 2018 23:14:08 +0000 (00:14 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 13 Jan 2018 23:15:05 +0000 (00:15 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

games-emulation/dolphin/dolphin-5.0.ebuild
games-emulation/dolphin/dolphin-9999.ebuild

index 190053251053cccee6df5aa6b1be0e05c958fc35..56737af95d7200c93b7281854ab16cd900d9e9f1 100644 (file)
@@ -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
 }
index f6dddcb6d01f1190610636845441052f77537c1a..1df45aa19853b2c2bcf7b9d6bc56278a04579609 100644 (file)
@@ -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
 }