aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmidiplayer.mime
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-01 17:48:03 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-01 17:48:03 +0800
commiteddc629bd637ec5d9260849d095b6951a437360d (patch)
tree98fd45c4b4e2ed3bdcc213722de76df0decd3b18 /qmidiplayer-desktop/qmidiplayer.mime
parent8a0d671e1a77c58142d0cbe82f40ee64bcae2be5 (diff)
downloadQMidiPlayer-eddc629bd637ec5d9260849d095b6951a437360d.tar.xz
Make packaging qmidiplayer less painful.
Add mime info. Do not throw integers. Fix incorrect font paths in Arch Linux.
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer.mime')
-rw-r--r--qmidiplayer-desktop/qmidiplayer.mime11
1 files changed, 11 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer.mime b/qmidiplayer-desktop/qmidiplayer.mime
new file mode 100644
index 0000000..becf239
--- /dev/null
+++ b/qmidiplayer-desktop/qmidiplayer.mime
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="audio/midi">
+ <comment>MIDI audio</comment>
+ <magic priority="50">
+ <match type="string" offset="0" value="MThd"/>
+ </magic>
+ <glob pattern="*.mid"/>
+ <glob pattern="*.midi"/>
+ </mime-type>
+</mime-info>