From: Andreas Sturmlechner Date: Tue, 21 Aug 2018 21:01:52 +0000 (+0200) Subject: media-sound/musescore: Run xdg_{desktop,mimeinfo}_database_update X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb2db7ce7cbe7f84221b45c07376442814371c5e;p=gentoo.git media-sound/musescore: Run xdg_{desktop,mimeinfo}_database_update Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/media-sound/musescore/musescore-2.1.0-r1.ebuild b/media-sound/musescore/musescore-2.1.0-r1.ebuild index b197c6d95f73..de76c1939f73 100644 --- a/media-sound/musescore/musescore-2.1.0-r1.ebuild +++ b/media-sound/musescore/musescore-2.1.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils +inherit cmake-utils xdg-utils DESCRIPTION="WYSIWYG Music Score Typesetter" HOMEPAGE="https://musescore.org/" @@ -71,3 +71,13 @@ src_compile() { cmake-utils_src_make -j1 lrelease manpages cmake-utils_src_compile } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild index 619e7f71c5b6..de5c5615bc0c 100644 --- a/media-sound/musescore/musescore-9999.ebuild +++ b/media-sound/musescore/musescore-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils git-r3 +inherit cmake-utils git-r3 xdg-utils DESCRIPTION="WYSIWYG Music Score Typesetter" HOMEPAGE="https://musescore.org/" @@ -73,3 +73,13 @@ src_compile() { cmake-utils_src_make -j1 lrelease manpages cmake-utils_src_compile } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}