media-gfx/gnofract4d: fdo-mime->xdg-utils
authorMarty E. Plummer <hanetzer@startmail.com>
Tue, 10 Apr 2018 03:38:58 +0000 (22:38 -0500)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Apr 2018 19:43:11 +0000 (21:43 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild
media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild

index c6931c84c568f7f975f5a65cedc4ae63ae70fb15..73a10f4e5557c266e4ba5caeec8065c9c3cca1f4 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit distutils-r1 fdo-mime
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
 HOMEPAGE="http://gnofract4d.sourceforge.net/"
@@ -30,11 +30,11 @@ src_install() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
index 437acd4d8528496e0260c15d35ed4ce674f4f815..0b9934a1077f12ef23f6052c13526e324fd743d2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
 DISTUTILS_SINGLE_IMPL=1
 MY_PV=V_${PV//./_}
 
-inherit distutils-r1 fdo-mime
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
 HOMEPAGE="http://edyoung.github.io/gnofract4d/"
@@ -43,11 +43,11 @@ python_install_all() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }