summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2015-08-29 15:52:55 +0200
committerBastien Nocera <hadess@hadess.net>2015-08-29 18:56:25 +0200
commit3dc91f2fd1a7e07377ad8d64a5a4d155365d3673 (patch)
treeea8264cd3ee90b758548b7131bc6b226211b1a29
parent6a1e61473b873481cbb7e7ec513fc3829f1d5fa9 (diff)
downloadshared-mime-info-3dc91f2fd1a7e07377ad8d64a5a4d155365d3673.tar.gz
Add application/x-doom-wad
https://bugs.freedesktop.org/show_bug.cgi?id=91798
-rw-r--r--freedesktop.org.xml.in12
-rw-r--r--tests/IWAD.WADbin0 -> 1024 bytes
-rw-r--r--tests/PWAD.WADbin0 -> 1024 bytes
-rw-r--r--tests/list6
4 files changed, 18 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 4176ee09..df53138e 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -6416,4 +6416,16 @@ command to generate the output files.
<glob pattern="*.pmd"/>
</mime-type>
+ <mime-type type="application/x-doom-wad">
+ <_comment>Doom WAD</_comment>
+ <acronym>WAD</acronym>
+ <expanded-acronym>Where's All the Data</expanded-acronym>
+ <generic-icon name="package-x-generic"/>
+ <magic priority="50">
+ <match type="string" value="IWAD" offset="0"/>
+ <match type="string" value="PWAD" offset="0"/>
+ </magic>
+ <glob pattern="*.wad"/>
+ </mime-type>
+
</mime-info>
diff --git a/tests/IWAD.WAD b/tests/IWAD.WAD
new file mode 100644
index 00000000..66c41f02
--- /dev/null
+++ b/tests/IWAD.WAD
Binary files differ
diff --git a/tests/PWAD.WAD b/tests/PWAD.WAD
new file mode 100644
index 00000000..c0eb2fd4
--- /dev/null
+++ b/tests/PWAD.WAD
Binary files differ
diff --git a/tests/list b/tests/list
index afb6093a..e8c58b92 100644
--- a/tests/list
+++ b/tests/list
@@ -436,6 +436,12 @@ m64p_test_rom.n64 application/x-n64-rom
m64p_test_rom.v64 application/x-n64-rom
m64p_test_rom.z64 application/x-n64-rom
+# Video game packages
+# DOOM1.WAD trucated to 1Ko
+IWAD.WAD application/x-doom-wad
+# ICARUS.WAD trucated to 1Ko
+PWAD.WAD application/x-doom-wad
+
# other
text.pdf application/pdf
text.wwf application/x-wwf oxo