From f776530dcac969081272f09d3a2c098220f61ac2 Mon Sep 17 00:00:00 2001 From: Tom Wijsman Date: Sun, 6 Apr 2014 18:39:18 +0000 Subject: Replace base inherit by eutils inherit. Update FDO MIME desktop database and GNOME 2 icon list cache. Fixes bug #374402 and bug #374410, proxied commit for Nikoli. (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) --- media-video/mpv/mpv-9999.ebuild | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'media-video/mpv/mpv-9999.ebuild') diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index d506b7f285b0..d994c741427d 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.41 2014/04/06 15:07:37 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v 1.42 2014/04/06 18:39:18 tomwij Exp $ EAPI=5 EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" -inherit base waf-utils pax-utils +inherit eutils waf-utils pax-utils fdo-mime gnome2-utils [[ ${PV} == *9999* ]] && inherit git-r3 WAF_V="1.7.15" @@ -158,7 +158,7 @@ src_unpack() { } src_prepare() { - base_src_prepare + epatch_user } src_configure() { @@ -232,3 +232,17 @@ src_install() { pax-mark -m "${ED}"usr/bin/mpv fi } + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad