summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/miro/miro.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-05-03 23:46:15 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-05-03 23:46:15 (GMT)
commit9c1e9f9c00589c8fc56bc74fb12e07c7a6b931cb (patch)
tree1b76cb0817e8253437c3b4d1f04fe3dcaafe71e7 /abs/extra-testing/miro/miro.install
parent5a24192b27696cab0787c499fa1b4e7bf0b61872 (diff)
downloadlinhes_pkgbuild-9c1e9f9c00589c8fc56bc74fb12e07c7a6b931cb.zip
linhes_pkgbuild-9c1e9f9c00589c8fc56bc74fb12e07c7a6b931cb.tar.gz
linhes_pkgbuild-9c1e9f9c00589c8fc56bc74fb12e07c7a6b931cb.tar.bz2
Should resolve the Miro crashes.
Diffstat (limited to 'abs/extra-testing/miro/miro.install')
-rw-r--r--abs/extra-testing/miro/miro.install8
1 files changed, 7 insertions, 1 deletions
diff --git a/abs/extra-testing/miro/miro.install b/abs/extra-testing/miro/miro.install
index 8bdb343..db52df4 100644
--- a/abs/extra-testing/miro/miro.install
+++ b/abs/extra-testing/miro/miro.install
@@ -1,13 +1,15 @@
# arg 1: the new package version
post_install() {
update-desktop-database -q
+ mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
+ sed -e '/\#Miro/,/\#Miro/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
mv /usr/share/mythtv/is.xml /tmp
grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
echo "<!--#Miro-->" >> /tmp/is.xml.tmp
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Miro Player</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/miro --set renderer=xine</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/bin/miro --set xine-xvhack=false --set renderer=xine</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#Miro-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -36,6 +38,10 @@ post_install() {
fi
}
+post_update() {
+ post_install $1
+}
+
post_remove() {
update-desktop-database -q
rm -fr /home/mythtv/.miro /myth/video/Miro /myth/miro /myth/democracy