From: Michael Palimaka Date: Sun, 11 Feb 2018 00:59:09 +0000 (+1100) Subject: media-gfx/mandelbulber: fix desktop file icon X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=87764381cbe850c90f70b458bab29a6df8fb1ae2;p=gentoo.git media-gfx/mandelbulber: fix desktop file icon Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/media-gfx/mandelbulber/mandelbulber-2.12.ebuild b/media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild similarity index 89% rename from media-gfx/mandelbulber/mandelbulber-2.12.ebuild rename to media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild index 7e1c40cc3a61..29199dbef0d5 100644 --- a/media-gfx/mandelbulber/mandelbulber-2.12.ebuild +++ b/media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild @@ -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 }