From: Lars Wendler Date: Wed, 4 Apr 2018 09:02:05 +0000 (+0200) Subject: media-sound/alsa-tools: Thoroughly handle .desktop and icon files. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5f17a5b589d7052017b1a07d87b7734f9b477b4b;p=gentoo.git media-sound/alsa-tools: Thoroughly handle .desktop and icon files. Package-Manager: Portage-2.3.28, Repoman-2.3.9 --- 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 +}