From 15d5058bbe99f3046f81206723b8a57a5e4305f9 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 26 Dec 2013 17:15:54 -0600
Subject: mythtv, mythplugins, mythinstall: update to latest.27 fixes

disable mythlogserver and add dclaw as dep for mythgallery to support raw images.
---
 abs/core/mythinstall/PKGBUILD                           | 2 +-
 abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh  | 4 ++--
 abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh | 3 +--
 abs/core/mythtv/stable-0.27/git_src/git_hash            | 2 +-
 abs/core/mythtv/stable-0.27/mythplugins/PKGBUILD        | 6 +++---
 abs/core/mythtv/stable-0.27/mythtv/PKGBUILD             | 4 +++-
 6 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/abs/core/mythinstall/PKGBUILD b/abs/core/mythinstall/PKGBUILD
index 9e18549..5a64034 100644
--- a/abs/core/mythinstall/PKGBUILD
+++ b/abs/core/mythinstall/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jams
 pkgname=mythinstall
 pkgver=8.1
-pkgrel=6
+pkgrel=7
 pkgdesc="LinHES installer/systemconfig GUI."
 arch=('i686' 'x86_64')
 depends=('mythtv>=0.27')
diff --git a/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh b/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh
index f0fc6bd..bddd133 100755
--- a/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh
+++ b/abs/core/mythtv/stable-0.27/git_src/checkout_mythtv.sh
@@ -20,6 +20,7 @@ then
     git checkout $_gitbranch
     git pull
     echo "The local files are updated."
+    cd $startdir
 else
     git clone -b $_gitbranch $_gitroot
 fi
@@ -33,8 +34,7 @@ then
     else
         git checkout $_checkoutHASH
     fi
-    pwd
-    ls
+    cd mythtv
     sh ./version.sh `pwd`
 fi
 echo "GIT checkout done or server timeout"
diff --git a/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh b/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh
index bec4829..0027f6d 100755
--- a/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh
+++ b/abs/core/mythtv/stable-0.27/git_src/checkout_mythweb.sh
@@ -20,6 +20,7 @@ then
     git checkout $_gitbranch
     git pull
     echo "The local files are updated."
+    cd $startdir
 else
     git clone -b $_gitbranch $_gitroot
 fi
@@ -33,7 +34,5 @@ then
     else
         git checkout $_checkoutHASH
     fi
-    pwd
-    ls
 fi
 echo "GIT checkout done or server timeout"
diff --git a/abs/core/mythtv/stable-0.27/git_src/git_hash b/abs/core/mythtv/stable-0.27/git_src/git_hash
index fd8badd..77961eb 100644
--- a/abs/core/mythtv/stable-0.27/git_src/git_hash
+++ b/abs/core/mythtv/stable-0.27/git_src/git_hash
@@ -1 +1 @@
-39171be37ab8d63f0f44e5dbd5a78ca6893ceafa
+d96506156c2b200d3c6658e578d7b7fbd4014bad
diff --git a/abs/core/mythtv/stable-0.27/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.27/mythplugins/PKGBUILD
index 8fe13bb..4f1c6ca 100644
--- a/abs/core/mythtv/stable-0.27/mythplugins/PKGBUILD
+++ b/abs/core/mythtv/stable-0.27/mythplugins/PKGBUILD
@@ -9,11 +9,11 @@ pkgname=('mytharchive'
          'mythweather'
          'mythzoneminder')
 pkgver=0.27
-pkgrel=7
+pkgrel=8
 arch=('i686' 'x86_64')
 url="http://www.mythtv.org"
 license=('GPL')
-makedepends=('cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libexif'
+makedepends=('cdrkit' 'dcraw' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libexif'
              'libvorbis' 'mesa' 'libgl' 'mplayer' "mythtv>=${pkgver}"
              'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size'
              'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax'
@@ -61,7 +61,7 @@ package_mythbrowser() {
 
 package_mythgallery() {
     pkgdesc="Image gallery plugin for MythTV"
-    depends=('libexif' "mythtv>=${pkgver}")
+    depends=('libexif' "mythtv>=${pkgver}" 'dcraw')
     cd "${srcdir}/${_gitname}/${pkgbase}/mythgallery"
     make INSTALL_ROOT="${pkgdir}" install || return 1
 }
diff --git a/abs/core/mythtv/stable-0.27/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.27/mythtv/PKGBUILD
index 9a7e954..e4c1e0d 100644
--- a/abs/core/mythtv/stable-0.27/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.27/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.27
-pkgrel=7
+pkgrel=8
 commit_hash=`cat ../git_src/git_hash`
 pkgdesc="A Homebrew PVR project $commit_hash"
 arch=('i686' 'x86_64')
@@ -54,6 +54,7 @@ build() {
 
     msg "Configuring mythtv"
     ARCH=${CARCH/_/-}
+    #disable mythlogserver due to http://code.mythtv.org/trac/ticket/11230
     ./configure --prefix=/usr \
                 --cpu=${ARCH} \
                 --disable-altivec \
@@ -61,6 +62,7 @@ build() {
                 --disable-audio-pulse \
                 --disable-ccache \
                 --disable-distcc \
+                --disable-mythlogserver \
                 --dvb-path=/usr/include \
                 --enable-libfftw3 \
                 --enable-libmp3lame \
-- 
cgit v0.12

