mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/mythtv to 0.27-7.1
This commit is contained in:
parent
7b7ee9f18d
commit
c2f7f1de9f
1 changed files with 15 additions and 7 deletions
|
@ -7,11 +7,12 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - correctly define ARM cpus for configure
|
||||
# - disabled vdpau, mmx
|
||||
# - disabled vdpau, mmx, incompatible ARM FPUs
|
||||
# - ffmpeg backport to fix building on GCC 4.8
|
||||
|
||||
pkgname=mythtv
|
||||
pkgver=0.27
|
||||
pkgrel=7
|
||||
pkgrel=7.1
|
||||
epoch=1
|
||||
pkgdesc="A Homebrew PVR project"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -33,22 +34,28 @@ 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')
|
||||
'http://code.mythtv.org/trac/raw-attachment/ticket/11338/libcec-2-support.2.patch'
|
||||
'https://github.com/FFmpeg/FFmpeg/commit/8067f55edf3719182aed6e5b57b7863889f80218.patch')
|
||||
sha256sums=('494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0'
|
||||
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
|
||||
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
|
||||
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3'
|
||||
'1816a37cf5e92f52fdce32a733eb0fa296e9107f975fc67cc9d556c3e4ac0f01')
|
||||
|
||||
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() {
|
||||
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||
|
||||
[[ $CARCH == "arm" ]] && ARCH="armv5te"
|
||||
[[ $CARCH == "armv6h" ]] && ARCH="armv6l"
|
||||
[[ $CARCH == "arm" ]] && ARCH="armv5te" && CONFIG="--disable-armv6 --disable-armv6t2 --disable-vfp"
|
||||
[[ $CARCH == "armv6h" ]] && ARCH="armv6l" && CONFIG="--disable-vfp"
|
||||
[[ $CARCH == "armv7h" ]] && ARCH="armv7-a"
|
||||
./configure --prefix=/usr \
|
||||
--cpu="$ARCH" \
|
||||
|
@ -62,7 +69,8 @@ build() {
|
|||
--enable-libvpx \
|
||||
--enable-libx264 \
|
||||
--enable-vaapi \
|
||||
--python=python2
|
||||
--python=python2 \
|
||||
--disable-neon $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue