summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-06 03:04:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-06 03:13:49 +0100
commit93e08e10a74fbd5e08a9b793b56277a91a58950f (patch)
tree131eb43709a070a0556190e4bc8875c9571923e4
parentmedia-sound/supercollider: Fix build with GCC-7 (diff)
downloadgentoo-93e08e10a74fbd5e08a9b793b56277a91a58950f.tar.gz
gentoo-93e08e10a74fbd5e08a9b793b56277a91a58950f.tar.bz2
gentoo-93e08e10a74fbd5e08a9b793b56277a91a58950f.zip
media-sound/supercollider: Add xdg_{desktop,mimeinfo}_database_update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--media-sound/supercollider/supercollider-3.8.0.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-sound/supercollider/supercollider-3.8.0.ebuild b/media-sound/supercollider/supercollider-3.8.0.ebuild
index 3a953a593632..0c0e190926b8 100644
--- a/media-sound/supercollider/supercollider-3.8.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.8.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit cmake-utils readme.gentoo-r1
+inherit cmake-utils readme.gentoo-r1 xdg-utils
DESCRIPTION="An environment and a programming language for real time audio synthesis."
HOMEPAGE="https://supercollider.github.io/"
@@ -108,4 +108,12 @@ pkg_postinst() {
einfo "successful and get you started with using SuperCollider is to take"
einfo "a look through ${EROOT%/}/usr/share/doc/${PF}/README.md.bz2"
einfo
+
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
}