summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-21 23:01:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-21 23:23:03 +0200
commitbb2db7ce7cbe7f84221b45c07376442814371c5e (patch)
tree4c506da8cb216a686f599eaabd70b1ab225ac272 /media-sound/musescore
parentmedia-sound/musescore: Add USE webengine (diff)
downloadgentoo-bb2db7ce7cbe7f84221b45c07376442814371c5e.tar.gz
gentoo-bb2db7ce7cbe7f84221b45c07376442814371c5e.tar.bz2
gentoo-bb2db7ce7cbe7f84221b45c07376442814371c5e.zip
media-sound/musescore: Run xdg_{desktop,mimeinfo}_database_update
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'media-sound/musescore')
-rw-r--r--media-sound/musescore/musescore-2.1.0-r1.ebuild12
-rw-r--r--media-sound/musescore/musescore-9999.ebuild12
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
+}