summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-24 23:01:29 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-24 23:01:29 +0100
commit3a30854ef5437114396445127e72fdc717d8f9e7 (patch)
tree1221ba2440ec0cbe32c6ca0120c136889aed5de3
parentx11-themes/audacious-themes: Remove old (diff)
downloadgentoo-3a30854ef5437114396445127e72fdc717d8f9e7.tar.gz
gentoo-3a30854ef5437114396445127e72fdc717d8f9e7.tar.bz2
gentoo-3a30854ef5437114396445127e72fdc717d8f9e7.zip
media-sound/audacious: Update icon and desktop file cache
Closes: https://bugs.gentoo.org/640810 Closes: https://bugs.gentoo.org/640812 Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--media-sound/audacious/audacious-3.9.ebuild12
-rw-r--r--media-sound/audacious/audacious-9999.ebuild12
2 files changed, 24 insertions, 0 deletions
diff --git a/media-sound/audacious/audacious-3.9.ebuild b/media-sound/audacious/audacious-3.9.ebuild
index a8910bd0fe3..d2b1efbb448 100644
--- a/media-sound/audacious/audacious-3.9.ebuild
+++ b/media-sound/audacious/audacious-3.9.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit gnome2-utils xdg-utils
+
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
@@ -80,3 +82,13 @@ src_install() {
docinto gentoo_ice
dodoc "${WORKDIR}"/README
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/audacious/audacious-9999.ebuild b/media-sound/audacious/audacious-9999.ebuild
index a8910bd0fe3..d2b1efbb448 100644
--- a/media-sound/audacious/audacious-9999.ebuild
+++ b/media-sound/audacious/audacious-9999.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit gnome2-utils xdg-utils
+
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
@@ -80,3 +82,13 @@ src_install() {
docinto gentoo_ice
dodoc "${WORKDIR}"/README
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}