summaryrefslogtreecommitdiff
path: root/community/mythtv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mythtv/PKGBUILD')
-rw-r--r--community/mythtv/PKGBUILD71
1 files changed, 33 insertions, 38 deletions
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD
index 3a2461b55..37a58eecd 100644
--- a/community/mythtv/PKGBUILD
+++ b/community/mythtv/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 67901 2012-03-15 23:14:42Z ebelanger $
+# $Id: PKGBUILD 69262 2012-04-11 06:53:29Z jconder $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
@@ -6,59 +6,53 @@
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=mythtv
-pkgver=0.24.2
-pkgrel=3
+pkgver=0.25
+pkgrel=1
epoch=1
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
license=('GPL')
-depends=('lame' 'libavc1394' 'libiec61883' 'libpulse' 'libvdpau' 'libxinerama'
- 'libxvmc' 'libxxf86vm' 'lirc-utils' 'mesa' 'mysql-clients'
- 'mysql-python' 'perl-dbd-mysql' 'perl-libwww' 'perl-net-upnp'
- 'python2-lxml' 'wget' 'qtwebkit')
-makedepends=('yasm')
-optdepends=('xmltv: to download tv listings')
+depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883'
+ 'libpulse' 'libva' 'libvdpau' 'libxinerama' 'lirc-utils' 'mesa'
+ 'mysql-clients' 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6'
+ 'perl-libwww' 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'urlgrabber'
+ 'x264')
+makedepends=('glew' 'libcec' 'libxml2' 'openssl' 'yasm')
+optdepends=('glew: for GPU commercial flagging'
+ 'libcec: for consumer electronics control capabilities'
+ 'libxml2: to read blu-ray metadata'
+ 'openssl: for AirTunes (RAOP) support'
+ 'xmltv: to download tv listings')
backup=('etc/conf.d/mythbackend')
install='mythtv.install'
source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2"
+ 'mythtv_0.25_gcc_4.7.patch'
'mythbackend.rc'
'mythbackend.conf')
-md5sums=('7259fd24560da77da90b1494492f9550'
- 'feadcc9ad064d93d6dceab1efc0bd9ed'
- 'bb8e4033d82428d827570fae9ba15e6a')
+md5sums=('e49c81de40e279c83dcb1b2aa9a45748'
+ '6090f5f22a8584db80b76cf19869ee41'
+ '62fd98347c56b1d9b795792f83269d25'
+ '1f72db0586f97a7c3fd3155dfa9a6c6f')
build() {
cd "$srcdir/$pkgname-$pkgver"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ patch -Np1 -i "$srcdir/mythtv_0.25_gcc_4.7.patch"
+
ARCH="${CARCH/_/-}"
- ./configure --prefix=/usr --cpu="$ARCH" \
- --enable-mmx \
- --enable-audio-oss \
- --enable-audio-alsa \
- --disable-audio-jack \
- --enable-audio-pulse \
- --disable-altivec \
- --disable-distcc \
- --disable-ccache \
- --enable-vdpau \
- --enable-dvb \
- --dvb-path=/usr/include \
- --enable-lirc \
- --enable-joystick-menu \
- --enable-v4l \
- --enable-ivtv \
- --enable-xvmc \
- --enable-xvmcw \
- --enable-xvmc-vld \
- --enable-firewire \
- --enable-opengl-vsync \
- --enable-xrandr \
- --enable-xv \
- --enable-x11 \
- --with-bindings=perl,python \
- --python=python2
+ ./configure --prefix=/usr \
+ --cpu="$ARCH" \
+ --disable-altivec \
+ --disable-audio-jack \
+ --disable-ccache \
+ --disable-distcc \
+ --enable-libfftw3 \
+ --enable-libmp3lame \
+ --enable-libx264 \
+ --enable-vaapi \
+ --python=python2
make
}
@@ -72,4 +66,5 @@ package() {
mkdir -p "$pkgdir/usr/share/mythtv"
cp -R 'contrib' "$pkgdir/usr/share/mythtv"
+ mkdir -p "$pkgdir/var/log/mythtv"
}