communty/mythtv to 0.26.0-5

This commit is contained in:
Kevin Mihelich 2013-01-29 21:08:00 +00:00
parent 9a398c88be
commit 6a3aa2d40b

View file

@ -11,7 +11,7 @@
pkgname=mythtv
pkgver=0.26.0
pkgrel=4
pkgrel=5
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
@ -36,23 +36,27 @@ source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
'alsa.patch'
'mythbackend.rc'
'mythbackend.conf'
'mythbackend.service')
'mythbackend.service'
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.patch')
md5sums=('f57066bf75e6f14824c494d41639f4f9'
'f64b8219e3d27a2edf96733b851e576b'
'c8f935d42fb8617e9279bd539811ca5f'
'ab962d83614cbd0ac11ce3fcc929829d'
'e4d572dcc307d6d8ae26bee5aebf9f3a')
'e4d572dcc307d6d8ae26bee5aebf9f3a'
'6e156c9fc0b369346d93ccafad46cba3')
build() {
cd "$srcdir/$pkgname-$pkgver"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
patch -Np1 -i "$srcdir/alsa.patch"
patch -Np2 -i "$srcdir/libcec-2-support.patch"
sed -re 's@Key, &@Key, @' -i 'bindings/php/MythBase.php'
[[ $CARCH == "arm" ]] && ARCH="armv5te"
[[ $CARCH == "armv7" ]] && ARCH="armv7-a"
[[ $CARCH == "arm" ]] && ARCH="armv5te"
[[ $CARCH == "armv6h" ]] && ARCH="armv6l"
[[ $CARCH == "armv7h" ]] && ARCH="armv7-a"
./configure --prefix=/usr \
--cpu="$ARCH" \
--disable-mmx \