summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/musescore/musescore-9999.ebuild')
-rw-r--r--media-sound/musescore/musescore-9999.ebuild12
1 files changed, 11 insertions, 1 deletions
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
+}