[gnome-games] flatpak: Add Dreamcast MIME types



commit af9f2847e298a3979fd88d59921aeccdf9918372
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Dec 11 09:21:34 2020 +0100

    flatpak: Add Dreamcast MIME types
    
    That will help running Dreamcast games until shared-mime-info gets a new
    release.

 flatpak/mime/dreamcast.xml | 23 +++++++++++++++++++++++
 flatpak/mime/mime.json     |  4 ++++
 2 files changed, 27 insertions(+)
---
diff --git a/flatpak/mime/dreamcast.xml b/flatpak/mime/dreamcast.xml
new file mode 100644
index 00000000..db3575a1
--- /dev/null
+++ b/flatpak/mime/dreamcast.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info";>
+  <mime-type type="application/x-dreamcast-rom">
+    <comment>Sega Dreamcast image first track</comment>
+    <generic-icon name="application-x-executable"/>
+    <magic priority="50">
+      <match type="string" value="SEGA SEGAKATANA" offset="16"/>
+    </magic>
+    <glob pattern="*.bin"/>
+  </mime-type>
+  <mime-type type="application/x-gd-rom-cue">
+    <comment>GD-ROM image cuesheet</comment>
+    <!-- It is a non-standard cuesheet used only for Dreamcast GD-ROM images, it
+         is typically surrounded by the .bin and .raw files it lists. -->
+    <sub-class-of type="text/plain"/>
+    <generic-icon name="text-x-generic"/>
+    <glob pattern="*.gdi"/>
+  </mime-type>
+  <mime-type type="application/x-discjuggler-cd-image">
+    <comment>Padus DiscJuggler CD image</comment>
+    <glob pattern="*.cdi"/>
+  </mime-type>
+</mime-info>
diff --git a/flatpak/mime/mime.json b/flatpak/mime/mime.json
index 44fb1404..6d8fe6b6 100644
--- a/flatpak/mime/mime.json
+++ b/flatpak/mime/mime.json
@@ -7,6 +7,10 @@
                 "update-mime-database /app/share/mime"
             ],
             "sources": [
+                {
+                    "type": "file",
+                    "path": "dreamcast.xml"
+                },
                 {
                     "type": "file",
                     "path": "nintendo-3ds.xml"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]