diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2016-10-17 00:50:02 +0300 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-10-17 17:49:03 -0400 |
commit | 6a91588018cb300dc78a482669f20f7cab6cfe62 (patch) | |
tree | 7c7c9b466150f0081db75910c14ca902f5eabb50 /media-video | |
parent | f4c33e1ec62b4f5c44254e13f7b72553ccf51d84 (diff) | |
download | gentoo-6a91588018cb300dc78a482669f20f7cab6cfe62.tar.gz gentoo-6a91588018cb300dc78a482669f20f7cab6cfe62.tar.xz |
media-video/mpv: port live ebuild to xdg-utils eclass
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 810eeb00b92..51540f794bf 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() { |