summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv')
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh38
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/git_hash_web1
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/PKGBUILD5
-rw-r--r--abs/core/mythtv/stable-0.25/mythweb/PKGBUILD33
4 files changed, 67 insertions, 10 deletions
diff --git a/abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh b/abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh
new file mode 100644
index 0000000..6e8e67e
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+#Quick script used to checkout the Mythweb source
+#This source should be used build all mythplugins & main program
+#76df8e6c8f7b84a157607d8c25fd19f39d8dc830
+_gitroot="https://github.com/MythTV/mythweb.git"
+_gitname="mythweb"
+startdir=`pwd`
+#Set this to True, to update mythtv to the latest.
+#If not true then it will use the hash stored in git_hash
+_current="True"
+
+_checkoutHASH=`cat git_hash_web`
+
+if [ -d $_gitname ]
+then
+ cd $_gitname
+ git checkout fixes/0.25
+ git pull
+ echo "The local files are updated."
+else
+ git clone -b fixes/0.25 $_gitroot
+fi
+
+if [ -d $_gitname ]
+then
+ cd $_gitname
+ if [ $_current == True ]
+ then
+ git rev-parse HEAD > $startdir/git_hash_web
+ else
+ git checkout $_checkoutHASH
+ fi
+ pwd
+ ls
+fi
+echo "GIT checkout done or server timeout"
+
+
diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash_web b/abs/core/mythtv/stable-0.25/git_src/git_hash_web
new file mode 100644
index 0000000..0bcf85d
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/git_src/git_hash_web
@@ -0,0 +1 @@
+1d056f77dc29045008b52b82e90bc935ff1ab948
diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
index 37c3643..9768370 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=mythtv
pkgver=0.25
-pkgrel=1
+pkgrel=3
commit_hash=`cat ../git_src/git_hash`
pkgdesc="A Homebrew PVR project $commit_hash"
arch=('i686' 'x86_64')
@@ -59,7 +59,8 @@ groups=('pvr')
install='mythtv.install'
patchs=('myth_settings.patch')
optdepends=('xmltv: to download tv listings')
-conflicts=('mythvideo')
+replaces=('mythvideo' 'myththemes')
+conflicts=('mythvideo' 'myththemes')
source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}`
'mythbackend.lr' 'mythfrontend.lr' 'pretty' )
diff --git a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
index cab8fbd..f78c224 100644
--- a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
@@ -1,24 +1,41 @@
pkgname=mythweb
-pkgver=0.24
-pkgrel=16
-pkgdesc="Web interface for MythTV's backend"
+pkgver=0.25
+pkgrel=1
+
+commit_hash=`cat ../git_src/git_hash_web`
+
+pkgdesc="Web interface for MythTV's backend, $commit_hash"
url="http://www.mythtv.org"
license="GPL"
arch=('i686' 'x86_64')
-depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website')
+depends=('mythtv>=0.25' 'lighttpd' 'php' 'local-website')
groups=('mythtv-extras')
patches=()
-source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
+source=(`echo ${patches[@]:0}`)
DOCROOT=/data/srv/httpd/htdocs/mythweb
-_gitroot="https://github.com/mythtv/mythweb.git"
-_gitname="${pkgname}"
build() {
+ if [ -e ${srcdir}/mythweb ]
+ then
+ rm -rf ${srcdir}/mythweb
+ fi
+
+ cd ${startdir}
+ msg "copy in myth web src"
+ cp -rp ../git_src/mythweb $srcdir
+ cd ${srcdir}/${pkgbase}
+
+
+
+ msg "The local files are updated."
+
+
cd $startdir/src/mythweb
- git pull
+
+
echo "--------------------------applying patches----------------------------------------------------"
for i in `echo ${patches[@]:0} `