Don't installing conflicting mime type for *.*64

There is already an mime type for Nintendo64 roms called application/x-n64-rom.
This one has to be extended instead of installing a conflicting type. Otherwise
only one of the desktop entries for mupen64plus-ui-console or m64py works and
not both.
This commit is contained in:
Fayvel Victor 2014-09-05 13:25:21 +02:00
parent 5ba1e04f64
commit cde1b7155a
3 changed files with 1 additions and 11 deletions

View file

@ -320,8 +320,5 @@ setup(
data_files = [
("share/pixmaps", ["xdg/m64py.png"]),
("share/applications", ["xdg/m64py.desktop"]),
("share/mime/packages", ["xdg/application-x-m64py.xml"]),
("share/icons/hicolor/96x96/mimetypes/application-x-m64py.png",
["xdg/application-x-m64py.xml"])
]
)

View file

@ -1,7 +0,0 @@
<?xml version="1.0"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-m64py">
<comment>Nintendo 64 ROM</comment>
<glob pattern="*.*64"/>
</mime-type>
</mime-info>

View file

@ -6,5 +6,5 @@ Type=Application
Icon=m64py
Comment=A frontend for Mupen64Plus
Categories=Game;Emulator;
MimeType=application/x-m64py;
MimeType=application/x-n64-rom;
Keywords=Emulator;Nintendo64;Mupen64plus;