diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-06-28 20:46:50 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-07-29 22:06:25 +0000 |
commit | afcaa28043205824db93ac86b463bc6366f62979 (patch) | |
tree | 6944f60b18e1722f22a16e31d26b33c69a8a4889 | |
parent | 7d47a7fdd99d96c6e0c16c33e1058e7240e794a1 (diff) | |
download | shared-mime-info-afcaa28043205824db93ac86b463bc6366f62979.tar.gz |
model/gltf-binary: new type
https://www.iana.org/assignments/media-types/model/gltf-binary
-rw-r--r-- | data/freedesktop.org.xml.in | 9 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test.glb | bin | 0 -> 1632 bytes |
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 3ed0df72..b0b71518 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -5705,6 +5705,15 @@ command to generate the output files. <glob pattern="*.igs"/> <glob pattern="*.iges"/> </mime-type> + <mime-type type="model/gltf-binary"> + <comment>glTF model</comment> + <acronym>glTF</acronym> + <expanded-acronym>GL Transmission Format</expanded-acronym> + <magic> + <match type="string" value="glTF" offset="0"/> + </magic> + <glob pattern="*.glb"/> + </mime-type> <mime-type type="model/vrml"> <comment>VRML document</comment> <acronym>VRML</acronym> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 0237962a..1efb647a 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -665,6 +665,8 @@ PWAD.WAD application/x-doom-wad # Models cube.igs model/iges cube.wrl model/vrml +# Copied from https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/BoxInterleaved/glTF-Binary/BoxInterleaved.glb +test.glb model/gltf-binary # other text.pdf application/pdf diff --git a/tests/mime-detection/test.glb b/tests/mime-detection/test.glb Binary files differnew file mode 100644 index 00000000..25cb4046 --- /dev/null +++ b/tests/mime-detection/test.glb |