1 |
commit: ad63babf63ff665ed97420d9645b3b775a53371c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 5 18:18:19 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 5 18:51:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad63babf |
7 |
|
8 |
www-plugins/lightspark: Add missing cache updates to -9999 |
9 |
|
10 |
www-plugins/lightspark/lightspark-9999.ebuild | 10 +++++++++- |
11 |
1 file changed, 9 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/www-plugins/lightspark/lightspark-9999.ebuild b/www-plugins/lightspark/lightspark-9999.ebuild |
14 |
index 09a12ccd261..e85c7575af9 100644 |
15 |
--- a/www-plugins/lightspark/lightspark-9999.ebuild |
16 |
+++ b/www-plugins/lightspark/lightspark-9999.ebuild |
17 |
@@ -2,7 +2,7 @@ |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
|
20 |
EAPI=6 |
21 |
-inherit cmake-utils git-r3 nsplugins toolchain-funcs |
22 |
+inherit cmake-utils git-r3 gnome2-utils nsplugins toolchain-funcs xdg-utils |
23 |
|
24 |
DESCRIPTION="High performance flash player" |
25 |
HOMEPAGE="http://lightspark.github.io/" |
26 |
@@ -76,6 +76,9 @@ src_install() { |
27 |
} |
28 |
|
29 |
pkg_postinst() { |
30 |
+ gnome2_icon_cache_update |
31 |
+ xdg_desktop_database_update |
32 |
+ |
33 |
if use nsplugin && ! has_version www-plugins/gnash; then |
34 |
elog "Lightspark now supports gnash fallback for its browser plugin." |
35 |
elog "Install www-plugins/gnash to take advantage of it." |
36 |
@@ -87,3 +90,8 @@ pkg_postinst() { |
37 |
elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" |
38 |
fi |
39 |
} |
40 |
+ |
41 |
+pkg_postrm() { |
42 |
+ gnome2_icon_cache_update |
43 |
+ xdg_desktop_database_update |
44 |
+} |