summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2020-09-26 12:32:00 +0200
committerAdrien Plazas <kekun.plazas@laposte.net>2020-11-02 20:34:11 +0100
commite4519d1490179fe7533ace0511560aef9d6b9262 (patch)
tree0ebd4a511ef6f723f52bffe9238ed1f9919e42f6
parent14b07da919853e17bec3d7a4f17245d86d9e1708 (diff)
downloadshared-mime-info-e4519d1490179fe7533ace0511560aef9d6b9262.tar.gz
Add application/x-gd-rom-cue
-rw-r--r--data/freedesktop.org.xml.in10
-rwxr-xr-xtests/mime-detection/dreamcast-us-samba-de-amigo.gdi4
-rw-r--r--tests/mime-detection/list1
3 files changed, 15 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 6e8de8df..a4b4f126 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -1664,6 +1664,16 @@ command to generate the output files.
</magic>
<glob pattern="*.toc"/>
</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, each one
+ matching a disc track.
+ The first file should have the application/x-dreamcast-rom type. -->
+ <sub-class-of type="text/plain"/>
+ <generic-icon name="text-x-generic"/>
+ <glob pattern="*.gdi"/>
+ </mime-type>
<mime-type type="application/vnd.chess-pgn">
<comment>PGN chess game notation</comment>
<acronym>PGN</acronym>
diff --git a/tests/mime-detection/dreamcast-us-samba-de-amigo.gdi b/tests/mime-detection/dreamcast-us-samba-de-amigo.gdi
new file mode 100755
index 00000000..b84bddab
--- /dev/null
+++ b/tests/mime-detection/dreamcast-us-samba-de-amigo.gdi
@@ -0,0 +1,4 @@
+3
+1 0 4 2352 dreamcast-us-samba-de-amigo-track-1.bin 0
+2 600 0 2352 dreamcast-us-samba-de-amigo-track-2.raw 0
+3 45000 4 2352 dreamcast-us-samba-de-amigo-track-3.bin 0
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index a6ec240a..cb4e340b 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -287,6 +287,7 @@ test.mof text/x-mof ox
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=11530
test-cdda.toc application/x-cdrdao-toc
test-cdrom.toc application/x-cdrdao-toc
+dreamcast-us-samba-de-amigo.gdi application/x-gd-rom-cue ox
# Copied from /etc/sysconfig/iptables
test.iptables text/x-iptables
test-vpn.pcf application/x-cisco-vpn-settings x