Add an attempt at a glob pattern to match PCB footprints
[geda-pcb/gde.git] / data / pcb.xml.in
blobd6e2e105dfb8be10b13c42a4dbe7860c3943c1ed
1 <?xml version="1.0" encoding="utf-8"?>
2 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3 <mime-type type="application/x-pcb-layout">
4 <sub-class-of type="text/plain"/>
5 <_comment>PCB layout</_comment>
6 <glob pattern="*.pcb"/>
7 <magic priority="50">
8 <match value="# release: pcb " type="string" offset="0"/>
9 </magic>
10 </mime-type>
11 <mime-type type="application/x-pcb-footprint">
12 <sub-class-of type="text/plain"/>
13 <_comment>PCB footprint</_comment>
14 <glob pattern="*.fp"/>
15 <magic priority="50">
16 <match value="Element[" type="string" offset="0:20"/>
17 </magic>
18 </mime-type>
19 <mime-type type="application/x-pcb-netlist">
20 <sub-class-of type="text/plain"/>
21 <_comment>PCB netlist</_comment>
22 <glob pattern="*.net"/>
23 </mime-type>
24 <mime-type type="application/x-gerber">
25 <sub-class-of type="text/plain"/>
26 <_comment>Gerber file</_comment>
27 <glob pattern="*.gbr"/>
28 <magic priority="50">
29 <match value="G04" type="string" offset="0"/>
30 </magic>
31 </mime-type>
32 <mime-type type="application/x-excellon">
33 <sub-class-of type="text/plain"/>
34 <_comment>Excellon drill file</_comment>
35 <glob pattern="*.cnc"/>
36 </mime-type>
37 </mime-info>