From 83386b0d6e38b771da27cd9da2d9c7a5efb2e07b Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 15 Jun 2018 20:25:15 +0200 Subject: [PATCH] app-editors/neovim-gtk: add MimeType to desktop entry --- ...vim-gtk-0.1.1.exheres-0 => neovim-gtk-0.1.1-r1.exheres-0} | 0 packages/app-editors/neovim-gtk/neovim-gtk.exlib | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename packages/app-editors/neovim-gtk/{neovim-gtk-0.1.1.exheres-0 => neovim-gtk-0.1.1-r1.exheres-0} (100%) diff --git a/packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 b/packages/app-editors/neovim-gtk/neovim-gtk-0.1.1-r1.exheres-0 similarity index 100% rename from packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 rename to packages/app-editors/neovim-gtk/neovim-gtk-0.1.1-r1.exheres-0 diff --git a/packages/app-editors/neovim-gtk/neovim-gtk.exlib b/packages/app-editors/neovim-gtk/neovim-gtk.exlib index fba3e0e..4a82cc3 100644 --- a/packages/app-editors/neovim-gtk/neovim-gtk.exlib +++ b/packages/app-editors/neovim-gtk/neovim-gtk.exlib @@ -1,7 +1,7 @@ # Copyright 2018 Julian Ospald # Distributed under the terms of the GNU General Public License v2 -require desktop-utils +require desktop-utils freedesktop-desktop require cargo [ channel=stable ] require github [ user=daa84 tag="v${PV}" ] @@ -15,6 +15,7 @@ BUGS_TO="hasufell@posteo.de" src_install() { ecargo_install - install_desktop_entry Exec="nvim-gtk" + install_desktop_entry Exec="nvim-gtk" \ + MimeType="text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;" }