From: Ilya Tumaykin Date: Sun, 16 Oct 2016 21:50:02 +0000 (+0300) Subject: media-video/mpv: port live ebuild to xdg-utils eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a91588018cb300dc78a482669f20f7cab6cfe62;p=gentoo.git media-video/mpv: port live ebuild to xdg-utils eclass Package-Manager: portage-2.3.2 --- diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 810eeb00b92b..51540f794bf4 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() {