summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-06 03:08:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-06 03:13:49 +0100
commitddc2565279507fd8c2fc92513082410bf155bc6f (patch)
tree9d4a206cb3f8557d8cf2f63e4b6d00c38bdbff70 /media-sound
parentmedia-sound/supercollider: Add xdg_{desktop,mimeinfo}_database_update (diff)
downloadgentoo-ddc2565279507fd8c2fc92513082410bf155bc6f.tar.gz
gentoo-ddc2565279507fd8c2fc92513082410bf155bc6f.tar.bz2
gentoo-ddc2565279507fd8c2fc92513082410bf155bc6f.zip
media-sound/supercollider: Fix invalid desktop file
Thanks-to: CaptainBlood <luc_pierard_de_maujouy@yahoo.fr> Closes: https://bugs.gentoo.org/636090 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/supercollider/files/supercollider-3.8.0-desktop.patch10
-rw-r--r--media-sound/supercollider/supercollider-3.8.0-r1.ebuild (renamed from media-sound/supercollider/supercollider-3.8.0.ebuild)1
2 files changed, 11 insertions, 0 deletions
diff --git a/media-sound/supercollider/files/supercollider-3.8.0-desktop.patch b/media-sound/supercollider/files/supercollider-3.8.0-desktop.patch
new file mode 100644
index 000000000000..2cf759881d05
--- /dev/null
+++ b/media-sound/supercollider/files/supercollider-3.8.0-desktop.patch
@@ -0,0 +1,10 @@
+--- a/editors/sc-ide/SuperColliderIDE.desktop 2016-08-22 11:12:21.000000000 +0300
++++ b/editors/sc-ide/SuperColliderIDE.desktop 2017-10-31 18:26:58.520164204 +0300
+@@ -5,6 +5,5 @@
+ Icon=sc_ide
+ Type=Application
+ Terminal=false
+-Patterns=*.scd;*.sc;*.schelp
+-Categories=Application;Multimedia;Audio;AudioVideo
++Categories=X-Multimedia;Audio;AudioVideo
+ MimeType=text/x-sc;
diff --git a/media-sound/supercollider/supercollider-3.8.0.ebuild b/media-sound/supercollider/supercollider-3.8.0-r1.ebuild
index 0c0e190926b8..d5199f592ce1 100644
--- a/media-sound/supercollider/supercollider-3.8.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.8.0-r1.ebuild
@@ -58,6 +58,7 @@ PATCHES=(
"${FILESDIR}"/${P}-no-qtpositioning.patch
"${FILESDIR}"/${P}-multilib.patch
"${FILESDIR}"/${P}-gcc-7.patch
+ "${FILESDIR}"/${P}-desktop.patch
)
src_configure() {