mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - correctly define ARM cpus for configure
|
# - 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
|
pkgname=mythtv
|
||||||
pkgver=0.27
|
pkgver=0.27
|
||||||
pkgrel=7
|
pkgrel=7.1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="A Homebrew PVR project"
|
pkgdesc="A Homebrew PVR project"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -33,22 +34,28 @@ replaces=('myththemes' 'mythplugins-mythvideo')
|
||||||
install='mythtv.install'
|
install='mythtv.install'
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/MythTV/$pkgname/archive/v$pkgver.tar.gz"
|
||||||
'mythbackend.service'
|
'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'
|
sha256sums=('494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0'
|
||||||
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
|
'ecfde779ded8332cc62c86fac6b432b09cbf5d254135798287ada688af9a1302'
|
||||||
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3')
|
'8270407c2074b305e0c32151f89c84f6bf980a32665a2da8e4727405fa3911f3'
|
||||||
|
'1816a37cf5e92f52fdce32a733eb0fa296e9107f975fc67cc9d556c3e4ac0f01')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||||
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
|
find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
|
||||||
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
|
patch -Np2 -i "$srcdir/libcec-2-support.2.patch"
|
||||||
|
|
||||||
|
# ffmpeg backport
|
||||||
|
cd external/FFmpeg
|
||||||
|
patch -Np1 -i "$srcdir/8067f55edf3719182aed6e5b57b7863889f80218.patch"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
cd "$srcdir/$pkgname-$pkgver/$pkgname"
|
||||||
|
|
||||||
[[ $CARCH == "arm" ]] && ARCH="armv5te"
|
[[ $CARCH == "arm" ]] && ARCH="armv5te" && CONFIG="--disable-armv6 --disable-armv6t2 --disable-vfp"
|
||||||
[[ $CARCH == "armv6h" ]] && ARCH="armv6l"
|
[[ $CARCH == "armv6h" ]] && ARCH="armv6l" && CONFIG="--disable-vfp"
|
||||||
[[ $CARCH == "armv7h" ]] && ARCH="armv7-a"
|
[[ $CARCH == "armv7h" ]] && ARCH="armv7-a"
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--cpu="$ARCH" \
|
--cpu="$ARCH" \
|
||||||
|
@ -62,7 +69,8 @@ build() {
|
||||||
--enable-libvpx \
|
--enable-libvpx \
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
--enable-vaapi \
|
--enable-vaapi \
|
||||||
--python=python2
|
--python=python2 \
|
||||||
|
--disable-neon $CONFIG
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue