media-sound/patchage: update icons cache.
authorKarl Linden <karl.j.linden@gmail.com>
Tue, 5 Dec 2017 12:44:44 +0000 (13:44 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 20 Dec 2017 22:38:29 +0000 (23:38 +0100)
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
media-sound/patchage/patchage-1.0.0-r1.ebuild

index ecd4516090e6b0bc0d9a3d9f3ecc1def588fd6a3..98b3a269c3f9f274e26dae420558f68d782b1fbc 100644 (file)
@@ -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
+}
index 98c7403ade26a3f6f99d3f354a72ddd35a126dbd..6fe9924872d564b15cc00781d2b258fd8e6fd1bb 100644 (file)
@@ -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
+}