mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
communty/mythtv to 0.26.0-5
This commit is contained in:
parent
9a398c88be
commit
6a3aa2d40b
1 changed files with 9 additions and 5 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue