commit: c499d61492f1ed792eb0726d614aa7f2dbf6bb7a Author: Francesco Turco <fturco <AT> fastmail <DOT> fm> AuthorDate: Thu Jan 4 20:06:28 2018 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Sun Jan 21 12:19:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c499d614
media-video/mkvtoolnix: update .desktop and mime databases Bug: https://bugs.gentoo.org/643328 media-video/mkvtoolnix/mkvtoolnix-9999.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild index d58ac973b2d..bbf85f64514 100644 --- a/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild +++ b/media-video/mkvtoolnix/mkvtoolnix-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit toolchain-funcs versionator multiprocessing +inherit toolchain-funcs versionator multiprocessing xdg-utils if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://gitlab.com/mbunkus/mkvtoolnix.git" @@ -109,3 +109,13 @@ src_install() { einstalldocs doman doc/man/*.1 } + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}
