summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-04-05 20:18:19 +0200
committerMichał Górny <mgorny@gentoo.org>2018-04-05 20:51:07 +0200
commitad63babf63ff665ed97420d9645b3b775a53371c (patch)
tree16a2d653b3939eacd035b350f90218b57630ea7e
parentwww-plugins/lightspark: Remove test for ancient GCC in -9999 (diff)
downloadgentoo-ad63babf63ff665ed97420d9645b3b775a53371c.tar.gz
gentoo-ad63babf63ff665ed97420d9645b3b775a53371c.tar.bz2
gentoo-ad63babf63ff665ed97420d9645b3b775a53371c.zip
www-plugins/lightspark: Add missing cache updates to -9999
-rw-r--r--www-plugins/lightspark/lightspark-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild
index 09a12ccd2612..e85c7575af90 100644
--- a/www-plugins/lightspark/lightspark-9999.ebuild
+++ b/www-plugins/lightspark/lightspark-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cmake-utils git-r3 nsplugins toolchain-funcs
+inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils
DESCRIPTION="High performance flash player"
HOMEPAGE="http://lightspark.github.io/"
@@ -76,6 +76,9 @@ src_install() {
}
pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+
if use nsplugin && ! has_version www-plugins/gnash; then
elog "Lightspark now supports gnash fallback for its browser plugin."
elog "Install www-plugins/gnash to take advantage of it."
@@ -87,3 +90,8 @@ pkg_postinst() {
elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
fi
}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}