summaryrefslogtreecommitdiffstats
path: root/games/sms_sdl/mime
diff options
context:
space:
mode:
Diffstat (limited to 'games/sms_sdl/mime')
-rw-r--r--games/sms_sdl/mime/doinst.mime5
-rw-r--r--games/sms_sdl/mime/mime_types2
-rw-r--r--games/sms_sdl/mime/sms_sdl.xml17
3 files changed, 24 insertions, 0 deletions
diff --git a/games/sms_sdl/mime/doinst.mime b/games/sms_sdl/mime/doinst.mime
new file mode 100644
index 0000000000..8542d1c18e
--- /dev/null
+++ b/games/sms_sdl/mime/doinst.mime
@@ -0,0 +1,5 @@
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/sms_sdl/mime/mime_types b/games/sms_sdl/mime/mime_types
new file mode 100644
index 0000000000..88a8585f19
--- /dev/null
+++ b/games/sms_sdl/mime/mime_types
@@ -0,0 +1,2 @@
+application/x-sega-master-system-rom
+application/x-sega-game-gear-rom
diff --git a/games/sms_sdl/mime/sms_sdl.xml b/games/sms_sdl/mime/sms_sdl.xml
new file mode 100644
index 0000000000..e0815ee2a3
--- /dev/null
+++ b/games/sms_sdl/mime/sms_sdl.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-sega-master-system-rom">
+ <icon name="sms_sdl" />
+ <comment>Sega Master System ROM</comment>
+ <acronym>SMS</acronym>
+ <expanded-acronym>Sega Master System</expanded-acronym>
+ <glob pattern="*.sms"/>
+ </mime-type>
+ <mime-type type="application/x-sega-game-gear-rom">
+ <icon name="sms_sdl" />
+ <comment>Sega Game Gear ROM</comment>
+ <acronym>GG</acronym>
+ <expanded-acronym>Game Gear</expanded-acronym>
+ <glob pattern="*.gg"/>
+ </mime-type>
+</mime-info>