From e292ab7f897ae23e1516432d92c0b4aa239e097e Mon Sep 17 00:00:00 2001 From: Cecil Date: Wed, 29 Dec 2010 01:03:27 -0800 Subject: mythtv:initial switch from SVN to Git (still have clean up todo). --- abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index 2fb4000..65fc538 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -5,8 +5,8 @@ # Contributor: dorphell pkgname=mythtv -pkgver=0.24 -pkgrel=8 +pkgver=20101229 +pkgrel=1 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') url="http://www.mythtv.org/" @@ -28,10 +28,9 @@ optdepends=('xmltv: to download tv listings') #replaces=('mythtv-contrib') #conflicts=('mythtv-contrib') source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') - +_gitroot="https://github.com/MythTV/mythtv.git" +_gitname="${pkgname}" build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgname}" # get clean copy from SVN repo if [ -d "${srcdir}/${pkgname}" ] @@ -39,12 +38,13 @@ build() { cd "${srcdir}/${pkgname}" msg "Clean up previous build..." make distclean - msg "Updating from SVN..." - svn up + msg "Updating from GIT..." + git pull origin + msg "The local files are updated." else cd "${srcdir}" - msg "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" + msg "Cloning from GIT..." + git clone $_gitroot $_gitname cd "${srcdir}/${pkgname}" fi -- cgit v0.12 From 354311cc3d8ce3d9dc76128c78afa0eaae285d34 Mon Sep 17 00:00:00 2001 From: Cecil Date: Wed, 29 Dec 2010 02:11:34 -0800 Subject: mythtv:more updates from switch to GIT. --- abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index 65fc538..e7c6359 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -35,19 +35,21 @@ build() { # get clean copy from SVN repo if [ -d "${srcdir}/${pkgname}" ] then - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}"/mythtv msg "Clean up previous build..." - make distclean + #make distclean + cd "${srcdir}/${pkgname}" msg "Updating from GIT..." - git pull origin + #git checkout -b 0.24-fixes origin/fixes/0.24 + git pull msg "The local files are updated." else cd "${srcdir}" msg "Cloning from GIT..." git clone $_gitroot $_gitname - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}" && git checkout origin/fixes/0.24 fi - + cd "${srcdir}/${pkgname}"/mythtv # apply patches echo "--------------------------applying patches----------------------------------------------------" for i in `echo ${patchs[@]:0} ` -- cgit v0.12