diff options
Diffstat (limited to 'community/mythtv/PKGBUILD')
-rw-r--r-- | community/mythtv/PKGBUILD | 64 |
1 files changed, 31 insertions, 33 deletions
diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD index f3c23c0cc..a61dbdd84 100644 --- a/community/mythtv/PKGBUILD +++ b/community/mythtv/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 96148 2013-08-20 11:25:49Z jconder $ +# $Id: PKGBUILD 97419 2013-09-19 04:04:04Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> @@ -6,7 +6,7 @@ # Contributor: dorphell <dorphell@archlinux.org> pkgname=mythtv -pkgver=0.26.1 +pkgver=0.27 pkgrel=1 epoch=1 pkgdesc="A Homebrew PVR project" @@ -14,56 +14,54 @@ arch=('i686' 'x86_64') url="http://www.mythtv.org/" license=('GPL') depends=('avahi' 'fftw' 'lame' 'libass' 'libavc1394' 'libcdio' 'libiec61883' - 'libpulse' 'libva' 'libvdpau' 'libxinerama' 'lirc-utils' - 'mariadb-clients' 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' - 'perl-libwww' 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'urlgrabber' - 'x264') + 'libpulse' 'libva' 'libvpx' 'libxinerama' 'lirc-utils' 'mariadb-clients' + 'mysql-python' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww' + 'perl-net-upnp' 'python2-lxml' 'qtwebkit' 'taglib' 'urlgrabber' 'x264') makedepends=('glew' 'libcec' 'libxml2' 'mesa' 'mesa-libgl' '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' + 'libxml2: to read blu-ray metadata' + 'openssl: for AirTunes (RAOP) support' 'xmltv: to download tv listings') conflicts=('myththemes' 'mythplugins-mythvideo') replaces=('myththemes' 'mythplugins-mythvideo') backup=() install='mythtv.install' -source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2" - 'alsa.patch' - 'mythbackend.service' - 'libva-compat.patch::https://github.com/garybuhrmaster/mythtv/commit/2add868d2f18b8b47d9747e043f052e88869bfc3.patch' - 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.patch') -md5sums=('ef25a9b86f4a23d6f07d83791a1e5c9e' - 'f64b8219e3d27a2edf96733b851e576b' - 'e4d572dcc307d6d8ae26bee5aebf9f3a' - 'ae88a16e9f42a913f395bf71af18e931' - '6e156c9fc0b369346d93ccafad46cba3') +source=("http://www.$pkgname.org/download/$pkgname/$pkgver" + 'mythbackend.service' + 'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch') +sha256sums=('670b378e379df05a4f2ac28cc3cb2578587b42cb03710e0b230b75d692f8e2b8' + 'f628f44164ce773ae54d320fb2f65353cacf9deec16981e4e56316ac33000a2f' + '8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3') + +prepare() { + cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname" -build() { - cd "$srcdir/$pkgname-$pkgver" find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + patch -Np2 -i "$srcdir/libcec-2-support.2.patch" +} - patch -Np1 -i "$srcdir/alsa.patch" - patch -Np2 -i "$srcdir/libva-compat.patch" - patch -Np2 -i "$srcdir/libcec-2-support.patch" +build() { + cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname" ARCH="${CARCH/_/-}" ./configure --prefix=/usr \ --cpu="$ARCH" \ - --disable-altivec \ - --disable-audio-jack \ - --disable-ccache \ - --disable-distcc \ - --enable-libfftw3 \ - --enable-libmp3lame \ - --enable-libx264 \ - --enable-vaapi \ - --python=python2 + --disable-altivec \ + --disable-audio-jack \ + --disable-ccache \ + --disable-distcc \ + --enable-libfftw3 \ + --enable-libmp3lame \ + --enable-libvpx \ + --enable-libx264 \ + --enable-vaapi \ + --python=python2 make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-fixes-$pkgver/$pkgname" make INSTALL_ROOT="$pkgdir" install install -D -m644 "$srcdir/mythbackend.service" "$pkgdir/usr/lib/systemd/system/mythbackend.service" |