diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/mythtv/stable/mythweb/PKGBUILD | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/mythtv/stable/mythweb/PKGBUILD')
-rw-r--r-- | abs/core/mythtv/stable/mythweb/PKGBUILD | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/abs/core/mythtv/stable/mythweb/PKGBUILD b/abs/core/mythtv/stable/mythweb/PKGBUILD index e01323c..20e9e3d 100644 --- a/abs/core/mythtv/stable/mythweb/PKGBUILD +++ b/abs/core/mythtv/stable/mythweb/PKGBUILD @@ -1,27 +1,39 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Juergen Hoetzel <juergen@archlinux.org> -# Contributor: Philipp Giebel <arch@ambience-design.net> - pkgname=mythweb pkgver=0.21 -pkgrel=1 +pkgrel=20 pkgdesc="Web interface for MythTV's backend" arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') -depends=("mythtv>=${pkgver}" 'apache' 'php') +depends=("mythtv>=${pkgver}" 'lighttpd' 'php' 'local-website') install=mythweb.install -source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2") -md5sums=('af20a78ac66719feddf9a39f1a799ded') +source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2" wiiweb.tar.bz2 transcoders.patch) +md5sums=('1b3e2a97b7ecf7373e162fe20b6faabe') groups=('mythtv-extras') +DOCROOT=/data/srv/httpd/htdocs/mythweb build() { - mkdir -p $startdir/pkg/srv/www/mythweb/{image_cache,php_sessions} - cp -r $startdir/src/mythplugins-$pkgver/$pkgname/* $startdir/pkg/srv/www/mythweb - cp $startdir/src/mythplugins-$pkgver/$pkgname/data/.htaccess $startdir/pkg/srv/www/mythweb - rm $startdir/pkg/srv/www/mythweb/README - chown -R nobody:nobody $startdir/pkg/srv/www/mythweb - chmod g+rw $startdir/pkg/srv/www/mythweb/{image_cache,php_sessions,data} + cd $startdir/src/mythplugins/mythweb + svn update + mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} +#apply gallery patches here +# cd $startdir/src/mythplugins-$pkgver/$pkgname/ +# patch -p0 < $startdir/patch/mythweb_gallery_updated1.diff +# patch -p2 < $startdir/patch/2923-mythweb-gallery-English_GB_lang.diff +# tar -zxvf $startdir/patch/icons.tar.gz +### + + # Workaround for LIGHTTPD bug in mythweb.pl (affects DB queries) + cd $startdir/src/mythplugins/$pkgname/ + patch -p0 < $startdir/patch/mythweb.pl.diff + patch -p1 < $startdir/transcoders.patch + + cp -r $startdir/src/mythplugins/$pkgname/* $startdir/pkg/$DOCROOT +# cp $startdir/src/mythplugins-$pkgver/$pkgname/data/.htaccess $startdir/pkg/$DOCROOT + rm $startdir/pkg/srv/$DOCROOT/README + tar xjvf $srcdir/wiiweb.tar.bz2 -C $pkgdir/$DOCROOT + chown -R http:users $startdir/pkg/$DOCROOT + chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} } |