diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/musescore/musescore-2.1.0-r1.ebuild | 12 | ||||
-rw-r--r-- | media-sound/musescore/musescore-9999.ebuild | 12 |
2 files changed, 22 insertions, 2 deletions
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 +} |