diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD')
-rw-r--r-- | abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD | 61 |
1 files changed, 20 insertions, 41 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD index 6970b71..bede955 100644 --- a/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythplugins/PKGBUILD @@ -11,10 +11,9 @@ pkgname=('mytharchive' 'mythnews' 'mythvideo' 'mythweather' - 'mythweb' 'mythzoneminder') pkgver=0.24 -pkgrel=8 +pkgrel=9 arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') @@ -24,26 +23,17 @@ makedepends=("mythtv>=${pkgver}" 'mplayer' 'fftw' 'dvdauthor' 'libexif' 'libvisual' 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601' 'flac' 'libvorbis' 'python2' 'python-pycurl' 'python-oauth') +source=(http://knoppmyth.net/R6/sources/mythtv-0.24-fixes.tar.bz2) +_gitroot="https://github.com/MythTV/mythtv.git" +_gitname="mythtv" build() { - _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes" - _svnmod="${pkgbase}" - - # get clean copy from SVN repo - if [ -d "${srcdir}/${pkgbase}" ] - then - cd "${srcdir}/${pkgbase}" - echo "Updating from SVN..." - svn up - else - cd "${srcdir}" - echo "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" - fi - - cd "${srcdir}/${pkgbase}" + cd "${srcdir}/mythtv" + 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} ./configure --prefix=/usr \ --enable-all @@ -55,7 +45,7 @@ package_mytharchive() { pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows" depends=("mythtv>=${pkgver}" 'libxmu' 'pil' 'dvdauthor') # replaces=('mytharchive') - cd "${srcdir}/${pkgbase}/mytharchive" + cd "${srcdir}/mythtv/${pkgbase}/mytharchive" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -63,7 +53,7 @@ package_mythbrowser() { pkgdesc="Mini web browser for MythTV" depends=("mythtv>=${pkgver}") # replaces=('mythbrowser') - cd "${srcdir}/${pkgbase}/mythbrowser" + cd "${srcdir}/mythtv/${pkgbase}/mythbrowser" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -71,7 +61,7 @@ package_mythgallery() { pkgdesc="Image gallery plugin for MythTV" depends=("mythtv>=${pkgver}" 'libexif') # replaces=('mythgallery') - cd "${srcdir}/${pkgbase}/mythgallery" + cd "${srcdir}/mythtv/${pkgbase}/mythgallery" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -79,7 +69,7 @@ package_mythgame() { pkgdesc="Game emulator module for MythTV" depends=("mythtv>=${pkgver}" 'zlib') # replaces=('mythgame') - cd "${srcdir}/${pkgbase}/mythgame" + cd "${srcdir}/mythtv/${pkgbase}/mythgame" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -87,7 +77,7 @@ package_mythmusic() { pkgdesc="Music playing plugin for MythTV" depends=("mythtv>=${pkgver}" 'flac' 'libvorbis' 'libcdaudio' 'cdparanoia' 'taglib' 'libvisual') # replaces=('mythmusic') - cd "${srcdir}/${pkgbase}/mythmusic" + cd "${srcdir}/mythtv/${pkgbase}/mythmusic" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -95,7 +85,7 @@ package_mythnetvision() { pkgdesc="MythNetvision plugin for MythTV" depends=("mythtv>=${pkgver}" 'python-pycurl' 'python-oauth') # replaces=('mythnetvision') - cd "${srcdir}/${pkgbase}/mythnetvision" + cd "${srcdir}/mythtv/${pkgbase}/mythnetvision" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -103,7 +93,7 @@ package_mythnews() { pkgdesc="News checking plugin for MythTV" depends=("mythtv>=${pkgver}") # replaces=('mythnews') - cd "${srcdir}/${pkgbase}/mythnews" + cd "${srcdir}/mythtv/${pkgbase}/mythnews" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -111,7 +101,7 @@ package_mythvideo() { pkgdesc="Video playback and browsing plugin for MythTV" depends=("mythtv>=${pkgver}" 'mplayer' 'perl-xml-simple') # replaces=('mythvideo') - cd "${srcdir}/${pkgbase}/mythvideo" + cd "${srcdir}/mythtv/${pkgbase}/mythvideo" make INSTALL_ROOT="${pkgdir}" install || return 1 } @@ -119,27 +109,16 @@ package_mythweather() { pkgdesc="Weather checking plugin for MythTV" depends=("mythtv>=${pkgver}" 'perl-xml-xpath' 'perl-image-size' 'perl-class-inspector' 'perl-datetime-format-iso8601') # replaces=('mythweather') - cd "${srcdir}/${pkgbase}/mythweather" + cd "${srcdir}/mythtv/${pkgbase}/mythweather" make INSTALL_ROOT="${pkgdir}" install || return 1 } -package_mythweb() { - pkgdesc="Web interface for MythTV's backend" - depends=("mythtv>=${pkgver}") - optdepends=('php-apache' - 'lighttpd') -# replaces=('mythweb') - mkdir -p ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions} - cp -r ${srcdir}/mythplugins/mythweb/* ${pkgdir}/data/srv/httpd/htdocs/mythweb || return 1 - chown -R http:http ${pkgdir}/data/srv/httpd/htdocs/mythweb - chmod g+rw ${pkgdir}/data/srv/httpd/htdocs/mythweb/{image_cache,php_sessions,data} -} - package_mythzoneminder() { pkgdesc="Allows for viewing of CCTV cameras through zoneminder" depends=("mythtv>=${pkgver}" zoneminder) # replaces=('mythzoneminder') # install=mythplugins-mythzoneminder.install - cd "${srcdir}/${pkgbase}/mythzoneminder" + cd "${srcdir}/mythtv/${pkgbase}/mythzoneminder" make INSTALL_ROOT="${pkgdir}" install || return 1 } +md5sums=('91488a6b1b05d14c5c5c601908b699e5') |