community/mythtv fix

This commit is contained in:
Kevin Mihelich 2014-07-27 16:25:51 +00:00
parent b9c1f72367
commit da9fe74f3e

View file

@ -34,21 +34,15 @@ replaces=('myththemes' 'mythplugins-mythvideo')
install='mythtv.install'
source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
'mythbackend.service'
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch'
'https://github.com/FFmpeg/FFmpeg/commit/8067f55edf3719182aed6e5b57b7863889f80218.patch')
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch')
sha256sums=('8eaaf8c6e42ca6eb81f180467de90d597dbeabb1bb14b7085da353d2980db8f4'
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3'
'1816a37cf5e92f52fdce32a733eb0fa296e9107f975fc67cc9d556c3e4ac0f01')
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
prepare() {
cd "$srcdir/$pkgname-$pkgver/$pkgname"
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
# ffmpeg backport
cd external/FFmpeg
patch -Np1 -i "$srcdir/8067f55edf3719182aed6e5b57b7863889f80218.patch"
}
build() {