commit: 87764381cbe850c90f70b458bab29a6df8fb1ae2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Sun Feb 11 00:59:09 2018 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sun Feb 11 00:59:20 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87764381
media-gfx/mandelbulber: fix desktop file icon Package-Manager: Portage-2.3.19, Repoman-2.3.6 ...{mandelbulber-2.12.ebuild => mandelbulber-2.12-r1.ebuild} | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 7e1c40cc3a6..29199dbef0d 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 }