commit:     d503828cfe88f7cd3ce262cc40f0db31316f46b2
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Tue Dec  5 12:44:44 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 22:38:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d503828c

media-sound/patchage: update icons cache.

This fixes QA warnings about missing calls to gnome2_icon_cache_update.

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-sound/patchage/patchage-0.5.0-r2.ebuild | 10 +++++++++-
 media-sound/patchage/patchage-1.0.0-r1.ebuild | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/media-sound/patchage/patchage-0.5.0-r2.ebuild 
b/media-sound/patchage/patchage-0.5.0-r2.ebuild
index ecd4516090e..98b3a269c3f 100644
--- a/media-sound/patchage/patchage-0.5.0-r2.ebuild
+++ b/media-sound/patchage/patchage-0.5.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='threads(+)'
 
-inherit flag-o-matic waf-utils python-any-r1
+inherit flag-o-matic gnome2-utils waf-utils python-any-r1
 
 DESCRIPTION="Modular patch bay for audio and MIDI systems"
 HOMEPAGE="http://wiki.drobilla.net/Patchage";
@@ -43,3 +43,11 @@ src_configure() {
                $(use alsa || echo "--no-alsa") \
                $(use lash || echo "--no-lash")
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

diff --git a/media-sound/patchage/patchage-1.0.0-r1.ebuild 
b/media-sound/patchage/patchage-1.0.0-r1.ebuild
index 98c7403ade2..6fe9924872d 100644
--- a/media-sound/patchage/patchage-1.0.0-r1.ebuild
+++ b/media-sound/patchage/patchage-1.0.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='threads(+)'
-inherit waf-utils python-any-r1
+inherit gnome2-utils waf-utils python-any-r1
 
 DESCRIPTION="Modular patch bay for JACK-based audio and MIDI systems"
 HOMEPAGE="http://drobilla.net/software/patchage";
@@ -38,3 +38,11 @@ src_configure() {
                $(use jack-dbus && echo "--jack-dbus") \
                $(use session && echo "--jack-session-manage")
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to