summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-19 19:08:27 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-19 19:08:27 (GMT)
commitceadc4984709885231d241bd210a61cb4e97935e (patch)
tree333865f98d6647b5e658196a091f644f73839433 /abs/core-testing/mythtv/stable
parentaf3f2dc08bde2ccd9ffb671235e2f02b3e571226 (diff)
downloadlinhes_pkgbuild-ceadc4984709885231d241bd210a61cb4e97935e.zip
linhes_pkgbuild-ceadc4984709885231d241bd210a61cb4e97935e.tar.gz
linhes_pkgbuild-ceadc4984709885231d241bd210a61cb4e97935e.tar.bz2
Change pkgbuild to error out if patching the xml doesn't work.
Fixed patch for libary.xml
Diffstat (limited to 'abs/core-testing/mythtv/stable')
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/PKGBUILD10
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/menu-xml/library.xml.patch13
2 files changed, 11 insertions, 12 deletions
diff --git a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
index 7b9c2a4..ae95780 100644
--- a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythtv
pkgver=0.21
-pkgrel=40
+pkgrel=41
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \
@@ -77,10 +77,10 @@ build() {
#Patch the xml LinHES style
cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv
cd $startdir/pkg/usr/share/mythtv
- patch -p0 < $startdir/menu-xml/mainmenu.xml.patch
- patch -p0 < $startdir/menu-xml/optical_menu.xml.patch
- patch -p0 < $startdir/menu-xml/library.xml.patch
- patch -p0 < $startdir/menu-xml/util_menu.xml.patch
+ patch -Np0 < $startdir/menu-xml/mainmenu.xml.patch || return 1
+ patch -Np0 < $startdir/menu-xml/optical_menu.xml.patch || return 1
+ patch -Np0 < $startdir/menu-xml/library.xml.patch || return 1
+ patch -Np0 < $startdir/menu-xml/util_menu.xml.patch || return 1
#Make log dir
mkdir -p $startdir/pkg/var/log/mythtv
diff --git a/abs/core-testing/mythtv/stable/mythtv/menu-xml/library.xml.patch b/abs/core-testing/mythtv/stable/mythtv/menu-xml/library.xml.patch
index efc8623..c811970 100644
--- a/abs/core-testing/mythtv/stable/mythtv/menu-xml/library.xml.patch
+++ b/abs/core-testing/mythtv/stable/mythtv/menu-xml/library.xml.patch
@@ -1,15 +1,14 @@
---- library.xml.orig 2009-02-09 04:30:04.000000000 +0000
-+++ library.xml 2009-02-09 04:31:50.000000000 +0000
-@@ -119,10 +119,9 @@
+--- library.xml.orig 2008-08-31 03:27:59.000000000 +0000
++++ library.xml 2009-02-19 18:55:23.000000000 +0000
+@@ -119,9 +119,9 @@
<button>
<type>STREAM</type>
-- <text>Play Online Streams</text>
-+ <text>Online Streams</text>
+- <text>Play online streams</text>
++ <text>Oonline streams</text>
<text lang="HE">נגן מדיה מכוונת</text>
- <action>PLUGIN mythstream</action>
-- <depends>mythstream</depends>
+ <action>MENU is.xml</action>
+ <depends>mythstream</depends>
</button>
- <button>