Skip to content

Commit

Permalink
media-video/mpv: port live ebuild to xdg-utils eclass
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
Coacher authored and gktrk committed Oct 17, 2016
1 parent f4c33e1 commit 6a91588
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions media-video/mpv/mpv-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 6a91588

Please sign in to comment.