tomwij 14/04/06 18:39:19 Modified: mpv-0.3.7.ebuild mpv-9999.ebuild ChangeLog Log: 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)
Revision Changes Path 1.3 media-video/mpv/mpv-0.3.7.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild?r1=1.2&r2=1.3 Index: mpv-0.3.7.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mpv-0.3.7.ebuild 6 Apr 2014 15:07:37 -0000 1.2 +++ mpv-0.3.7.ebuild 6 Apr 2014 18:39:18 -0000 1.3 @@ -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-0.3.7.ebuild,v 1.2 2014/04/06 15:07:37 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild,v 1.3 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" @@ -163,7 +163,7 @@ } src_prepare() { - base_src_prepare + epatch_user } src_configure() { @@ -237,3 +237,17 @@ 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 +} 1.42 media-video/mpv/mpv-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-9999.ebuild?rev=1.42&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-9999.ebuild?rev=1.42&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-9999.ebuild?r1=1.41&r2=1.42 Index: mpv-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-9999.ebuild,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- mpv-9999.ebuild 6 Apr 2014 15:07:37 -0000 1.41 +++ mpv-9999.ebuild 6 Apr 2014 18:39:18 -0000 1.42 @@ -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_prepare() { - base_src_prepare + epatch_user } src_configure() { @@ -232,3 +232,17 @@ 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 +} 1.64 media-video/mpv/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?rev=1.64&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?rev=1.64&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?r1=1.63&r2=1.64 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- ChangeLog 6 Apr 2014 15:07:37 -0000 1.63 +++ ChangeLog 6 Apr 2014 18:39:18 -0000 1.64 @@ -1,6 +1,12 @@ # ChangeLog for media-video/mpv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.63 2014/04/06 15:07:37 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.64 2014/04/06 18:39:18 tomwij Exp $ + + 06 Apr 2014; Tom Wijsman <tom...@gentoo.org> mpv-0.3.7.ebuild, + mpv-9999.ebuild: + 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. 06 Apr 2014; Tom Wijsman <tom...@gentoo.org> mpv-0.3.7.ebuild, mpv-9999.ebuild: