summaryrefslogtreecommitdiffstats
path: root/abs/extra/dolphin-emu/dolphin-emu.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 23:32:27 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 23:32:27 (GMT)
commitc0cbbd8f2f543150b911cb45c6a19a5a3f69ac03 (patch)
tree13a20b60a1d5338d06795742dda13c071c6accf5 /abs/extra/dolphin-emu/dolphin-emu.install
parentc643783556d3d0337421d47ffc1b4649ebebad61 (diff)
downloadlinhes_pkgbuild-c0cbbd8f2f543150b911cb45c6a19a5a3f69ac03.zip
linhes_pkgbuild-c0cbbd8f2f543150b911cb45c6a19a5a3f69ac03.tar.gz
linhes_pkgbuild-c0cbbd8f2f543150b911cb45c6a19a5a3f69ac03.tar.bz2
dolphin-emu: changed to make use of gen_game_xml.py
Also using master branch instead of 3.0 the 3.0 branch fails to compile
Diffstat (limited to 'abs/extra/dolphin-emu/dolphin-emu.install')
-rw-r--r--abs/extra/dolphin-emu/dolphin-emu.install31
1 files changed, 3 insertions, 28 deletions
diff --git a/abs/extra/dolphin-emu/dolphin-emu.install b/abs/extra/dolphin-emu/dolphin-emu.install
index 6acdd50..84b587f 100644
--- a/abs/extra/dolphin-emu/dolphin-emu.install
+++ b/abs/extra/dolphin-emu/dolphin-emu.install
@@ -1,36 +1,11 @@
post_install() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp
- grep -v -e /mythmenu /tmp/game.xml > /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo " <button>" >> /tmp/game.xml.tmp
- echo " <type>MENU_GAME</type>" >> /tmp/game.xml.tmp
- echo " <text>Dolphin Emulator</text>" >> /tmp/game.xml.tmp
- echo " <action>MENU dolphin-emu.xml</action>" >> /tmp/game.xml.tmp
- echo " </button>" >> /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo "" >> /tmp/game.xml.tmp
- echo "</mythmenu>" >> /tmp/game.xml.tmp
- mv /tmp/game.xml.tmp /usr/share/mythtv/themes/defaultmenu/game.xml
+ gen_game_xml.py
}
post_upgrade() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp/game.xml.tmp
- sed -e '/\#Dolphin-Emu/,/\#Dolphin-Emu/d' < /tmp/game.xml.tmp > /usr/share/mythtv/themes/defaultmenu/game.xml
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp
- grep -v -e /mythmenu /tmp/game.xml > /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo " <button>" >> /tmp/game.xml.tmp
- echo " <type>MENU_GAME</type>" >> /tmp/game.xml.tmp
- echo " <text>Dolphin Emulator</text>" >> /tmp/game.xml.tmp
- echo " <action>MENU dolphin-emu.xml</action>" >> /tmp/game.xml.tmp
- echo " </button>" >> /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo "" >> /tmp/game.xml.tmp
- echo "</mythmenu>" >> /tmp/game.xml.tmp
- mv /tmp/game.xml.tmp /usr/share/mythtv/themes/defaultmenu/game.xml
+ gen_game_xml.py
}
post_remove() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp/game.xml.tmp
- sed -e '/\#Dolphin-Emu/,/\#Dolphin-Emu/d' < /tmp/game.xml.tmp > /usr/share/mythtv/themes/defaultmenu/game.xml
+ gen_game_xml.py
}