summaryrefslogtreecommitdiff
path: root/games/sms_sdl/mime
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-01-14 23:15:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:01 -0600
commit8f4f40dc37c0553293567fe33a87a6d26762cd81 (patch)
tree0ae069615fc6aa61530191363bb4d473a98ba6f4 /games/sms_sdl/mime
parentad722f51d0dc2d2b4bc7f3142ad4acbb90499a72 (diff)
downloadslackbuilds-8f4f40dc37c0553293567fe33a87a6d26762cd81.tar.gz
games/sms_sdl: Added (A Sega Master System and Game Gear Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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>