media-sound/spotify: switched to xdg-utils
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 15 Dec 2017 15:58:58 +0000 (09:58 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 15 Dec 2017 15:59:22 +0000 (09:59 -0600)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

media-sound/spotify/spotify-1.0.69.ebuild

index 621e0eb4a634ce0f680fade3a759e44796efdbb0..9a0afad07016ae07e09d3373b702c2c7fb264147 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils fdo-mime gnome2-utils pax-utils unpacker
+inherit eutils xdg-utils gnome2-utils pax-utils unpacker
 
 DESCRIPTION="Spotify is a social music platform"
 HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
@@ -97,8 +97,8 @@ pkg_preinst() {
 
 pkg_postinst() {
        gnome2_icon_cache_update
-       fdo-mime_mime_database_update
-       fdo-mime_desktop_database_update
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
 
        ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
        ewarn "To remove the cache:"
@@ -112,6 +112,6 @@ pkg_postinst() {
 
 pkg_postrm() {
        gnome2_icon_cache_update
-       fdo-mime_mime_database_update
-       fdo-mime_desktop_database_update
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
 }