commit:     6a91588018cb300dc78a482669f20f7cab6cfe62
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Sun Oct 16 21:50:02 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 21:49:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a915880

media-video/mpv: port live ebuild to xdg-utils eclass

Package-Manager: portage-2.3.2

 media-video/mpv/mpv-9999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 810eeb0..51540f7 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
 
 WAF_PV=1.8.12
 
-inherit fdo-mime gnome2-utils pax-utils python-any-r1 toolchain-funcs 
versionator waf-utils
+inherit gnome2-utils pax-utils python-any-r1 toolchain-funcs versionator 
waf-utils xdg-utils
 
 DESCRIPTION="Media player based on MPlayer and mplayer2"
 HOMEPAGE="https://mpv.io/";
@@ -274,9 +274,6 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       gnome2_icon_cache_update
-
        local rv softvol_0_18_1=0
        for rv in ${REPLACING_VERSIONS}; do
                version_compare ${rv} 0.18.1-r1
@@ -309,11 +306,14 @@ pkg_postinst() {
                elog "If command-line completion doesn't work after mpv update,"
                elog "please rebuild app-shells/mpv-bash-completion."
        fi
+
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
        gnome2_icon_cache_update
+       xdg_desktop_database_update
 }
 
 src_test() {

Reply via email to