diff options
author | Cecil <knoppmyth@gmail.com> | 2012-02-19 09:28:36 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-02-19 09:28:36 (GMT) |
commit | 76a6d7de125a0201d93ae90a33205533d66a93ee (patch) | |
tree | f1ad899a73f1f5f506e02217b257d25bd1b92751 /abs | |
parent | 1177f600640ec34a81dbfc44437bc215ce0d1be3 (diff) | |
download | linhes_pkgbuild-76a6d7de125a0201d93ae90a33205533d66a93ee.zip linhes_pkgbuild-76a6d7de125a0201d93ae90a33205533d66a93ee.tar.gz linhes_pkgbuild-76a6d7de125a0201d93ae90a33205533d66a93ee.tar.bz2 |
mythtv:Bumped to latest (post 0.24.2). Corrects media libray if XBMC is installed so the user doesn't have to.
Diffstat (limited to 'abs')
-rwxr-xr-x | abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/mythtv/stable-0.24/mythtv/mythtv.install | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index 223c827..e9d9a12 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mythtv pkgver=0.24 -pkgrel=29 +pkgrel=30 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') url="http://www.mythtv.org/" diff --git a/abs/core/mythtv/stable-0.24/mythtv/mythtv.install b/abs/core/mythtv/stable-0.24/mythtv/mythtv.install index 0524f86..3f2e304 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/mythtv.install +++ b/abs/core/mythtv/stable-0.24/mythtv/mythtv.install @@ -33,6 +33,22 @@ post_upgrade() { else mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml fi + pacxmbc=`pacman -Q xbmc` + if [ -z "$pacxbmc" ] + then + mv /usr/share/mythtv/themes/defaultmenu/library.xml /tmp + grep -v -e /mythmenu /tmp/library.xml > /tmp/library.xml.tmp + echo "<!--#XBMC-->" >> /tmp/library.xml.tmp + echo " <button>" >> /tmp/library.xml.tmp + echo " <type>MENU_XBMC</type>" >> /tmp/library.xml.tmp + echo " <text>Launch XBMC</text>" >> /tmp/library.xml.tmp + echo " <action>EXEC /usr/bin/xbmc</action>" >> /tmp/library.xml.tmp + echo " </button>" >> /tmp/library.xml.tmp + echo "<!--#XBMC-->" >> /tmp/library.xml.tmp + echo "" >> /tmp/library.xml.tmp + echo "</mythmenu>" >> /tmp/library.xml.tmp + mv /tmp/library.xml.tmp /usr/share/mythtv/themes/defaultmenu/library.xml + fi } |