diff options
author | Cecil <knoppmyth@gmail.com> | 2011-02-11 09:09:46 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-02-11 09:09:46 (GMT) |
commit | 216c63cf4c2e1cce015575ad4f5b0e79940ff8c2 (patch) | |
tree | c82517d25c073a16213dd00ef582fbf4698fe472 | |
parent | 7ffed172d3b02e6aaa5c7f3c6d11e7fa2c08b10a (diff) | |
download | linhes_pkgbuild-216c63cf4c2e1cce015575ad4f5b0e79940ff8c2.zip linhes_pkgbuild-216c63cf4c2e1cce015575ad4f5b0e79940ff8c2.tar.gz linhes_pkgbuild-216c63cf4c2e1cce015575ad4f5b0e79940ff8c2.tar.bz2 |
miro:fixes
-rw-r--r-- | abs/extra/miro/PKGBUILD | 5 | ||||
-rw-r--r-- | abs/extra/miro/__changelog | 1 | ||||
-rw-r--r-- | abs/extra/miro/miro.install | 20 |
3 files changed, 22 insertions, 4 deletions
diff --git a/abs/extra/miro/PKGBUILD b/abs/extra/miro/PKGBUILD index 627e7b8..df3e83c 100644 --- a/abs/extra/miro/PKGBUILD +++ b/abs/extra/miro/PKGBUILD @@ -3,7 +3,7 @@ pkgname=miro pkgver=3.5 -pkgrel=1 +pkgrel=2 pkgdesc="The free and open source internet TV platform" arch=('i686' 'x86_64') url="http://www.getmiro.com" @@ -12,7 +12,8 @@ depends=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'gnome-python' 'python-pysqlite' 'pywebkitgtk' 'shared-mime-info' 'desktop-file-utils' 'gstreamer0.10' 'hicolor-icon-theme' 'gstreamer0.10-python' 'python-notify' 'libtorrent-rasterbar' - 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python-pycurl') + 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'python-pycurl' + 'python2-gconf') makedepends=('pkgconfig') install=miro.install source=(http://ftp.osuosl.org/pub/pculture.org/${pkgname}/src/${pkgname}-${pkgver}.tar.gz) diff --git a/abs/extra/miro/__changelog b/abs/extra/miro/__changelog index 27c5164..4c11c5f 100644 --- a/abs/extra/miro/__changelog +++ b/abs/extra/miro/__changelog @@ -1 +1,2 @@ 2/5/11 - chw - the miro.install that is used is LinHES specfic. +2/5/11 - chw - added python2-gconf as dep. diff --git a/abs/extra/miro/miro.install b/abs/extra/miro/miro.install index db52df4..02b2c06 100644 --- a/abs/extra/miro/miro.install +++ b/abs/extra/miro/miro.install @@ -9,7 +9,7 @@ post_install() { 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 xine-xvhack=false --set renderer=xine</action>" >> /tmp/is.xml.tmp + echo " <action>EXEC /usr/bin/miro</action>" >> /tmp/is.xml.tmp echo " </button>" >> /tmp/is.xml.tmp echo "<!--#Miro-->" >> /tmp/is.xml.tmp echo "" >> /tmp/is.xml.tmp @@ -36,10 +36,26 @@ post_install() { fi fi fi + chown -R mythtv.mythtv /myth/miro } post_update() { - post_install $1 + 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/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</action>" >> /tmp/is.xml.tmp + echo " </button>" >> /tmp/is.xml.tmp + echo "<!--#Miro-->" >> /tmp/is.xml.tmp + echo "" >> /tmp/is.xml.tmp + echo "</mythmenu>" >> /tmp/is.xml.tmp + mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml } post_remove() { |