summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-02-11 11:59:09 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-02-11 11:59:20 +1100
commit87764381cbe850c90f70b458bab29a6df8fb1ae2 (patch)
treed087eb4aa9455442e0d779f2ead238813301ca57 /media-gfx
parentmedia-gfx/krita: remove 3.3.2.1 (diff)
downloadgentoo-87764381cbe850c90f70b458bab29a6df8fb1ae2.tar.gz
gentoo-87764381cbe850c90f70b458bab29a6df8fb1ae2.tar.bz2
gentoo-87764381cbe850c90f70b458bab29a6df8fb1ae2.zip
media-gfx/mandelbulber: fix desktop file icon
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/mandelbulber/mandelbulber-2.12-r1.ebuild (renamed from media-gfx/mandelbulber/mandelbulber-2.12.ebuild)12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-gfx/mandelbulber/mandelbulber-2.12.ebuild b/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
}