summaryrefslogtreecommitdiff
path: root/community/mythtv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mythtv/PKGBUILD')
-rw-r--r--community/mythtv/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD
index 3a5e51c84..5fb175253 100644
--- a/community/mythtv/PKGBUILD
+++ b/community/mythtv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 47228 2011-05-19 08:27:51Z jconder $
+# $Id: PKGBUILD 48169 2011-05-29 12:28:03Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -7,7 +7,7 @@
pkgname=mythtv
pkgver=0.24.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
@@ -23,15 +23,19 @@ backup=('etc/conf.d/mythbackend')
install='mythtv.install'
source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
'mythbackend.rc'
- 'mythbackend.conf')
+ 'mythbackend.conf'
+ 'mythtv-v4l2-fix.patch')
md5sums=('6870c679619ec58456e76839745411d8'
'feadcc9ad064d93d6dceab1efc0bd9ed'
- 'bb8e4033d82428d827570fae9ba15e6a')
+ 'bb8e4033d82428d827570fae9ba15e6a'
+ 'ba5c91df80f0d3f7563a873e71a3725c')
build() {
cd "$srcdir/$pkgname-$pkgver"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np2 -i ${srcdir}/mythtv-v4l2-fix.patch
+
ARCH="${CARCH/_/-}"
./configure --prefix=/usr --cpu="$ARCH" \
--enable-mmx \
@@ -57,7 +61,8 @@ build() {
--enable-xrandr \
--enable-xv \
--enable-x11 \
- --with-bindings=perl,python --python=python2
+ --with-bindings=perl,python \
+ --python=python2
make
}