summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-04-04 11:02:05 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-04 11:02:18 +0200
commit5f17a5b589d7052017b1a07d87b7734f9b477b4b (patch)
treee8b1e010847b812bf85a39f927f01614a0dd7ae3 /media-sound
parentx11-misc/menulibre: Version 2.1.5. (diff)
downloadgentoo-5f17a5b589d7052017b1a07d87b7734f9b477b4b.tar.gz
gentoo-5f17a5b589d7052017b1a07d87b7734f9b477b4b.tar.bz2
gentoo-5f17a5b589d7052017b1a07d87b7734f9b477b4b.zip
media-sound/alsa-tools: Thoroughly handle .desktop and icon files.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-tools/alsa-tools-1.1.6.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/alsa-tools/alsa-tools-1.1.6.ebuild b/media-sound/alsa-tools/alsa-tools-1.1.6.ebuild
index 4e949cb7a3af..5f4c7573d32d 100644
--- a/media-sound/alsa-tools/alsa-tools-1.1.6.ebuild
+++ b/media-sound/alsa-tools/alsa-tools-1.1.6.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic gnome2-utils xdg-utils
DESCRIPTION="Advanced Linux Sound Architecture tools"
HOMEPAGE="https://alsa-project.org/"
@@ -148,3 +148,13 @@ src_install() {
# Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27)
find "${ED}" -name '*.la' -delete || die
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}