From 5f7a0134c7a8cd1579545f01e1b23a7c2c8e5ec9 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 1 Apr 2011 01:36:23 +0000
Subject: mythplugins: add m2vretquantiser as a dep to mytharchive. Ref #766

---
 abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD | 28 ++++++++++++------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD
index ad9be5b..c492f68 100644
--- a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=('mytharchive'
          'mythweather'
          'mythzoneminder')
 pkgver=0.24
-pkgrel=12
+pkgrel=13
 arch=('i686' 'x86_64')
 url="http://www.mythtv.org"
 license=('GPL')
@@ -28,12 +28,12 @@ _gitroot="https://github.com/MythTV/mythtv.git"
 _gitname="mythtv"
 
 build() {
-  cd "${srcdir}/mythtv"
+  cd "${srcdir}/${_gitname}"
   msg "Updating from GIT..."
   git pull
   msg "The local files are updated."
   find . -name '*.py' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' 
-  cd ${pkgbase}
+  cd ${srcdir}/${_gitname}/${pkgbase}
   ./configure --prefix=/usr \
               --enable-all
 
@@ -43,9 +43,9 @@ build() {
 
 package_mytharchive() {
   pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows"
-  depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor')
+  depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor' 'm2vrequantiser')
 #  replaces=('mytharchive')
-  cd "${srcdir}/mythtv/${pkgbase}/mytharchive"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mytharchive"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -53,7 +53,7 @@ package_mythbrowser() {
   pkgdesc="Mini web browser for MythTV"
   depends=("mythtv>=${pkgver}")
 #  replaces=('mythbrowser')
-  cd "${srcdir}/mythtv/${pkgbase}/mythbrowser"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythbrowser"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -61,7 +61,7 @@ package_mythgallery() {
   pkgdesc="Image gallery plugin for MythTV"
   depends=("mythtv>=${pkgver}" 'libexif')
 #  replaces=('mythgallery')
-  cd "${srcdir}/mythtv/${pkgbase}/mythgallery"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythgallery"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -69,7 +69,7 @@ package_mythgame() {
   pkgdesc="Game emulator module for MythTV"
   depends=("mythtv>=${pkgver}" 'zlib')
 #  replaces=('mythgame')
-  cd "${srcdir}/mythtv/${pkgbase}/mythgame"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythgame"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -77,7 +77,7 @@ package_mythmusic() {
   pkgdesc="Music playing plugin for MythTV"
   depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual')
 #  replaces=('mythmusic')
-  cd "${srcdir}/mythtv/${pkgbase}/mythmusic"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythmusic"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -85,7 +85,7 @@ package_mythnetvision() {
   pkgdesc="MythNetvision plugin for MythTV"
   depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth')
 #  replaces=('mythnetvision')
-  cd "${srcdir}/mythtv/${pkgbase}/mythnetvision"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythnetvision"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -93,7 +93,7 @@ package_mythnews() {
   pkgdesc="News checking plugin for MythTV"
   depends=("mythtv>=${pkgver}")
 #  replaces=('mythnews')
-  cd "${srcdir}/mythtv/${pkgbase}/mythnews"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythnews"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -101,7 +101,7 @@ package_mythvideo() {
   pkgdesc="Video playback and browsing plugin for MythTV"
   depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple')
 #  replaces=('mythvideo')
-  cd "${srcdir}/mythtv/${pkgbase}/mythvideo"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythvideo"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -111,7 +111,7 @@ package_mythweather() {
            'perl-class-inspector' 'perl-datetime-format-iso8601'
            'perl-date-manip')
 #  replaces=('mythweather')
-  cd "${srcdir}/mythtv/${pkgbase}/mythweather"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythweather"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 
@@ -120,7 +120,7 @@ package_mythzoneminder() {
   depends=("mythtv>=${pkgver}" zoneminder)
 #  replaces=('mythzoneminder')
 #  install=mythplugins-mythzoneminder.install
-  cd "${srcdir}/mythtv/${pkgbase}/mythzoneminder"
+  cd "${srcdir}/${_gitname}/${pkgbase}/mythzoneminder"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
 md5sums=('91488a6b1b05d14c5c5c601908b699e5')
-- 
cgit v0.12

