mirror of
https://github.com/libretro/hatari.git
synced 2026-11-07 10:36:00 -10:00
Add mime type configuration for IPF and SCP disk images
And while we're at it, update the mime type of STX disk images to the new official type now.
This commit is contained in:
1 parent
48e3cfda7e
commit
981f291ab0
3 files changed
+20
-4
No files matched your search
@@ -4,7 +4,7 @@ foreach(size 32x32 48x48 64x64 128x128 256x256)
|
||||
DESTINATION ${ICONDIR}/${size}/apps)
|
||||
install(FILES icons/hicolor/${size}/mimetypes/application-x-st-disk-image.png
|
||||
DESTINATION ${ICONDIR}/${size}/mimetypes)
|
||||
foreach(type vnd.msa vnd.fastcopy x-stx)
|
||||
foreach(type vnd.msa vnd.fastcopy vnd.pasti-stx vnd.softpres-ipf vnd.supercard-pro)
|
||||
install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink
|
||||
application-x-st-disk-image.png
|
||||
\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${ICONDIR}/${size}/mimetypes/application-${type}-disk-image.png)
|
||||
@@ -16,7 +16,7 @@ install(FILES icons/hicolor/scalable/apps/hatari.svg
|
||||
DESTINATION ${ICONDIR}/scalable/apps)
|
||||
install(FILES icons/hicolor/scalable/mimetypes/application-x-st-disk-image.svg
|
||||
DESTINATION ${ICONDIR}/scalable/mimetypes)
|
||||
foreach(type vnd.msa vnd.fastcopy x-stx)
|
||||
foreach(type vnd.msa vnd.fastcopy vnd.pasti-stx vnd.softpres-ipf vnd.supercard-pro)
|
||||
install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink
|
||||
application-x-st-disk-image.svg
|
||||
\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${ICONDIR}/scalable/mimetypes/application-${type}-disk-image.svg)
|
||||
|
||||
@@ -5,7 +5,7 @@ Comment=Emulator for Atari ST/STE/TT/Falcon computers
|
||||
Comment[fr]=Emulateur pour les ordinateurs Atari ST/STE/TT/Falcon
|
||||
Exec=hatari %f
|
||||
Icon=hatari
|
||||
MimeType=application/x-st-disk-image;application/vnd.msa-disk-image;application/vnd.fastcopy-disk-image;application/x-stx-disk-image;
|
||||
MimeType=application/x-st-disk-image;application/vnd.msa-disk-image;application/vnd.fastcopy-disk-image;application/vnd.pasti-stx-disk-image;application/vnd.softpres-ipf-disk-image;application/vnd.supercard-pro-disk-image;
|
||||
Categories=Game;Emulator;
|
||||
Keywords=Emulator;Atari;Atari ST;Atari Falcon;
|
||||
Terminal=false
|
||||
@@ -21,7 +21,7 @@
|
||||
<match type="big16" offset="0" value="0x4242"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
<mime-type type="application/x-stx-disk-image">
|
||||
<mime-type type="application/vnd.pasti-stx-disk-image">
|
||||
<sub-class-of type="application/octet-stream"/>
|
||||
<comment>Pasti STX disk image</comment>
|
||||
<glob pattern="*.stx"/>
|
||||
@@ -29,4 +29,20 @@
|
||||
<match type="big32" offset="0" value="0x52535900"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.softpres-ipf-disk-image">
|
||||
<sub-class-of type="application/octet-stream"/>
|
||||
<comment>Interchangeable Preservation Format disk image</comment>
|
||||
<glob pattern="*.ipf"/>
|
||||
<magic priority="50">
|
||||
<match type="big32" offset="0" value="0x43415053"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.supercard-pro-disk-image">
|
||||
<sub-class-of type="application/octet-stream"/>
|
||||
<comment>Supercard Pro disk image</comment>
|
||||
<glob pattern="*.scp"/>
|
||||
<magic priority="50">
|
||||
<match type="big16" offset="0" value="0x5343"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
Reference in new issue
Block a user