community/mythtv to 0.24.1-1

This commit is contained in:
Kevin Mihelich 2011-05-20 23:04:59 -04:00
parent 6a93f4b886
commit cb66adcdb6
2 changed files with 19 additions and 13 deletions

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 45087 2011-04-16 08:29:05Z jconder $
# $Id: PKGBUILD 47228 2011-05-19 08:27:51Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@ -12,16 +12,17 @@
plugrel=1
pkgname=mythtv
pkgver=0.24
pkgrel=3.${plugrel}
pkgver=0.24.1
pkgrel=1
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
depends=('lame' 'libavc1394' 'libiec61883' 'libvdpau' 'libxinerama' 'libxvmc'
'lirc-utils' 'mesa' 'mysql-clients' 'mysql-python' 'perl-dbd-mysql'
'perl-libwww' 'perl-net-upnp' 'python-lxml' 'qt' 'wget')
depends=('lame' 'libavc1394' 'libiec61883' 'libpulse' 'libvdpau' 'libxinerama'
'libxvmc' 'lirc-utils' 'mesa' 'mysql-clients' 'mysql-python'
'perl-dbd-mysql' 'perl-libwww' 'perl-net-upnp' 'python-lxml' 'qt'
'wget')
makedepends=('yasm')
optdepends=('xmltv: to download tv listings')
backup=('etc/conf.d/mythbackend')
@ -29,25 +30,26 @@ install='mythtv.install'
source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
'mythbackend.rc'
'mythbackend.conf')
md5sums=('1abe1d3cc72fdbde6daa4247dedbf29a'
md5sums=('6870c679619ec58456e76839745411d8'
'feadcc9ad064d93d6dceab1efc0bd9ed'
'bb8e4033d82428d827570fae9ba15e6a')
build() {
cd "$srcdir/$pkgname-$pkgver"
# find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
[[ $CARCH == "arm" ]] && CPU="armv5te"
[[ $CARCH == "armv7" ]] && CPU="armv7-a"
./configure --prefix=/usr --cpu="armv5te" \
[[ $CARCH == "arm" ]] && ARCH="armv5te"
[[ $CARCH == "armv7" ]] && ARCH="armv7-a"
./configure --prefix=/usr --cpu="$ARCH" \
--enable-mmx \
--enable-audio-oss \
--enable-audio-alsa \
--disable-audio-jack \
--disable-audio-pulse \
--enable-audio-pulse \
--disable-altivec \
--disable-distcc \
--disable-vdpau \
--disable-ccache \
--disable-vdpau \
--enable-dvb \
--dvb-path=/usr/include \
--enable-lirc \

View file

@ -2,6 +2,10 @@ post_install() {
echo "See \"MythTV\" on the Archlinux Wiki for installation information - Extensive!!"
}
post_upgrade() {
return
}
post_remove() {
echo -e "NOTE: mysql database was not removed. To remove run:\nmysql -u root -e 'drop database mythconverg;'"
}