media-gfx/mandelbulber: fix desktop file icon
authorMichael Palimaka <kensington@gentoo.org>
Sun, 11 Feb 2018 00:59:09 +0000 (11:59 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 11 Feb 2018 00:59:20 +0000 (11:59 +1100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild [moved from media-gfx/mandelbulber/mandelbulber-2.12.ebuild with 89% similarity]

similarity index 89%
rename from media-gfx/mandelbulber/mandelbulber-2.12.ebuild
rename to media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild
index 7e1c40cc3a611ec42a78e6d25443d9e44c994370..29199dbef0d5ec956600f189bd581512a2a96ad2 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 
 MY_P="${PN}2-${PV}-1"
-inherit qmake-utils
+inherit desktop gnome2-utils qmake-utils
 
 DESCRIPTION="Tool to render 3D fractals"
 HOMEPAGE="http://www.mandelbulber.com"
@@ -68,4 +68,14 @@ src_install() {
 
        insinto /usr/share/applications
        doins ${PN}2.desktop
+
+       newicon -s 256 qt/icons/${PN}.png ${PN}2.png
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
 }