From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51A4D1382C5 for ; Wed, 4 Apr 2018 09:02:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 616D4E0E1A; Wed, 4 Apr 2018 09:02:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3CCC8E0E1A for ; Wed, 4 Apr 2018 09:02:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D251335C0C for ; Wed, 4 Apr 2018 09:02:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE2E1250 for ; Wed, 4 Apr 2018 09:02:22 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1522832538.5f17a5b589d7052017b1a07d87b7734f9b477b4b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/alsa-tools/alsa-tools-1.1.6.ebuild X-VCS-Directories: media-sound/alsa-tools/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5f17a5b589d7052017b1a07d87b7734f9b477b4b X-VCS-Branch: master Date: Wed, 4 Apr 2018 09:02:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 62911b97-519f-437d-972b-a40a0dcdd694 X-Archives-Hash: 5a0d559138a9bb8aa07dbc579946040c commit: 5f17a5b589d7052017b1a07d87b7734f9b477b4b Author: Lars Wendler gentoo org> AuthorDate: Wed Apr 4 09:02:05 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Apr 4 09:02:18 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f17a5b5 media-sound/alsa-tools: Thoroughly handle .desktop and icon files. Package-Manager: Portage-2.3.28, Repoman-2.3.9 media-sound/alsa-tools/alsa-tools-1.1.6.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 4e949cb7a3a..5f4c7573d32 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 +}