media-gfx/blender: gnome2-utils -> xdg-utils
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 10 Jun 2019 18:18:20 +0000 (20:18 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 10 Jun 2019 19:50:53 +0000 (21:50 +0200)
Minor modernisation.

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-gfx/blender/blender-2.79b-r1.ebuild

index 4e307518c21b9e6c9e6a2ab18caa81b77735b4a8..147bcd56b0d9e008b59d391e0ef9a2b2e6c73138 100644 (file)
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{3_5,3_6} )
 
-inherit check-reqs cmake-utils xdg-utils flag-o-matic gnome2-utils \
+inherit check-reqs cmake-utils xdg-utils flag-o-matic xdg-utils \
        pax-utils python-single-r1 toolchain-funcs eapi7-ver
 
 DESCRIPTION="3D Creation/Animation/Publishing System"
@@ -256,10 +256,6 @@ src_install() {
        python_optimize "${ED%/}/usr/share/blender/${MY_PV}/scripts"
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
 pkg_postinst() {
        elog
        elog "Blender uses python integration. As such, may have some"
@@ -277,12 +273,12 @@ pkg_postinst() {
        ewarn "If you are concerned about security, file a bug upstream:"
        ewarn "  https://developer.blender.org/"
        ewarn
-       gnome2_icon_cache_update
+       xdg_icon_cache_update
        xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
+       xdg_icon_cache_update
        xdg_mimeinfo_database_update
 
        ewarn ""