commit:     01cfcf03d58a14ca0471af1c9a9b819baab6b18f
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Thu Jul 11 17:10:35 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Thu Jul 11 17:12:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01cfcf03

media-gfx/mayo: Desktop integration

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 media-gfx/mayo/mayo-0.8.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/mayo/mayo-0.8.0.ebuild b/media-gfx/mayo/mayo-0.8.0.ebuild
index 364966033..0939fec5e 100644
--- a/media-gfx/mayo/mayo-0.8.0.ebuild
+++ b/media-gfx/mayo/mayo-0.8.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit qmake-utils
+inherit qmake-utils desktop xdg
 
 DESCRIPTION="Opensource 3D CAD viewer and converter"
 HOMEPAGE="https://github.com/fougue/mayo";
@@ -37,5 +37,7 @@ src_configure() {
 src_install() {
        emake install INSTALL_ROOT="${ED}"
        dobin mayo
+       newicon -s scalable images/appicon.svg mayo.svg
+       make_desktop_entry "mayo %F" Mayo mayo "Graphics;" 
"MimeType=model/step;model/iges;model/brep;image/vnd.dxf;model/obj;model/gltf+json;model/gltf+binary;model/vrml;model/stl;model/x.stl-ascii;model/x.stl-binary;application/x-amf;application/x-coff;application/x-coffexec;model/3mf;image/x-3ds;model/vnd.collada+xml;model/x3d+binary;model/x3d+fastinfoset;model/x3d+vrml;model/x3d+xml;model/x3d-vrml;application/directx;"
        einstalldocs
 }

Reply via email to